Searched defs:state (Results 1 - 25 of 348) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd_plsf.cpp114 state = pointer to structure of type D_plsf_reset
117 fields of the structure pointed to by state is initialized to zero
131 Resets state memory
146 int D_plsf_reset (D_plsfState *state)
150 if (state == (D_plsfState *) NULL){
156 state->past_r_q[i] = 0; // Past quantized prediction error
160 Copy(mean_lsf, &state->past_lsf_q[0], M);
187 Word16 D_plsf_reset(D_plsfState *state) argument
191 if (state == (D_plsfState *) NULL)
199 state
[all...]
H A Dpreemph.cpp118 Initializes state memory to zero
156 Word16 preemphasis_reset(preemphasisState *state) argument
158 if (state == (preemphasisState *) NULL)
164 state->mem_pre = 0;
176 st -- Pointer to preemphasisState -- preemphasis filter state
182 st -- Pointer to preemphasisState -- preemphasis filter state
237 preemphasisState *st, /* (i/o) : preemphasis filter state */
H A Dec_gains.cpp126 state = pointer to a pointer to a structure containing code state data of
144 This function resets the state data for the ec_gain module.
159 int ec_gain_code_reset (ec_gain_codeState *state)
163 if (state == (ec_gain_codeState *) NULL){
169 state->gbuf[i] = 1;
170 state->past_gain_code = 0;
171 state->prev_gc = 1;
199 Word16 ec_gain_code_reset(ec_gain_codeState *state) argument
203 if (state
315 ec_gain_code( ec_gain_codeState *st, gc_predState *pred_state, Word16 state, Word16 *gain_code, Flag *pOverflow ) argument
577 ec_gain_pitch( ec_gain_pitchState *st, Word16 state, Word16 *gain_pitch, Flag *pOverflow ) argument
686 ec_gain_pitch_reset(ec_gain_pitchState *state) argument
[all...]
H A Dpost_pro.cpp141 state = pointer to a structure of type Post_ProcessState
144 structure pointed to by state will have all its fields initialized
159 This function initializes state memory to zero.
174 int Post_Process_reset (Post_ProcessState *state)
176 if (state == (Post_ProcessState *) NULL){
181 state->y2_hi = 0;
182 state->y2_lo = 0;
183 state->y1_hi = 0;
184 state->y1_lo = 0;
185 state
213 Post_Process_reset(Post_ProcessState *state) argument
[all...]
H A Dsp_dec.cpp137 state = pointer to an array of pointers to structures of type
145 to by state is set to NULL
147 by state is set to NULL
149 by state is set to NULL
151 to by state is set to the input no_hp_post_MR122
166 This function allocates memory for filter structure and initializes state
185 int Speech_Decode_Frame_init (Speech_Decode_FrameState **state,
190 if (state == (Speech_Decode_FrameState **) NULL){
194 *state = NULL;
199 fprintf(stderr, "Speech_Decode_Frame_init: can not malloc state "
376 Speech_Decode_FrameState *state = local
487 Speech_Decode_FrameState **state = local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dq_plsf.cpp74 * Purpose : Allocates memory and initializes state variables
78 Word16 Q_plsf_init(Q_plsfState **state) argument
82 if (state == (Q_plsfState **) NULL)
87 *state = NULL;
92 /* fprintf(stderr, "Q_plsf_init: can not malloc state structure\n"); */
97 *state = s;
106 * Purpose : Resets state memory
110 Word16 Q_plsf_reset(Q_plsfState *state) argument
114 if (state == (Q_plsfState *) NULL)
121 state
134 Q_plsf_exit(Q_plsfState **state) argument
[all...]
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.h8 unsigned long state[5]; member in struct:__anon1251
/frameworks/base/core/java/android/os/
H A DConditionVariable.java37 * Create the ConditionVariable in the default closed state.
45 * Create the ConditionVariable with the given state.
50 public ConditionVariable(boolean state) argument
52 mCondition = state;
74 * Reset the condition to the closed state.
/frameworks/base/wifi/java/android/net/wifi/
H A DStateChangeResult.java20 * Stores supplicant state change information passed from WifiMonitor to
21 * a state machine. WifiStateMachine, SupplicantStateTracker and WpsStateMachine
22 * are example state machines that handle it.
27 SupplicantState state) {
28 this.state = state;
37 SupplicantState state; field in class:StateChangeResult
26 StateChangeResult(int networkId, WifiSsid wifiSsid, String BSSID, SupplicantState state) argument
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dlpc.cpp100 state = pointer to pointer of state data of type lpcState
117 This function initializes the state data for the LPC module.
135 if (state == (lpcState **) NULL){
139 *state = NULL;
143 // fprintf(stderr, "lpc_init: can not malloc state structure\n");
157 *state = s;
183 Word16 lpc_init(lpcState **state) argument
187 if (state == (lpcState **) NULL)
192 *state
286 lpc_reset(lpcState *state) argument
374 lpc_exit(lpcState **state) argument
[all...]
H A Dpre_proc.cpp131 state = pointer to an array of pointer to structures of type
135 Structure pointed to by the pointer pointed to by state is
137 state points to the allocated memory
152 Allocates state memory and initializes state memory.
167 int Pre_Process_init (Pre_ProcessState **state)
171 if (state == (Pre_ProcessState **) NULL){
175 *state = NULL;
179 fprintf(stderr, "Pre_Process_init: can not malloc state structure\n");
184 *state
212 Pre_Process_init(Pre_ProcessState **state) argument
320 Pre_Process_reset(Pre_ProcessState *state) argument
416 Pre_Process_exit(Pre_ProcessState **state) argument
[all...]
H A Dsid_sync.cpp46 Description: Changed type definition of state pointer to 'void' for
107 state = pointer containing a pointer to the state structure used for
114 return_value = status of sid_sync_reset function; -1, if state is pointing
127 the pointer to state struct in *st. This pointer has to be passed to sid_sync
166 Word16 sid_sync_init(void **state) argument
170 if (state == NULL)
172 /* fprintf(stderr, "sid_sync_init:invalid state parameter\n"); */
176 *state = NULL;
184 "can not malloc state structur
260 sid_syncState *state = (sid_syncState *) st; local
335 sid_sync_exit(void **state) argument
495 sid_sync(void *state, enum Mode mode, enum TXFrameType *tx_frame_type) argument
[all...]
H A Dsp_enc.cpp110 state = pointer to an array of pointers to structures of type
117 by state is set to NULL
119 by state is set to NULL
120 dtx field of the structure pointed to by the pointer pointed to by state
136 This function allocates memory for filter structure and initializes state
168 fprintf(stderr, "Speech_Encode_Frame_init: can not malloc state "
233 /* fprintf(stderr, "Speech_Encode_Frame_init: can not malloc state "
264 state = pointer to structures of type Speech_Decode_FrameState
281 This function resets state memory
299 Speech_Encode_FrameState *state
344 Speech_Encode_FrameState *state = local
453 Speech_Encode_FrameState **state = local
[all...]
H A Dton_stab.cpp104 state = pointer to pointer to structure type tonStabState.
122 Purpose: Allocates state memory and initializes state memory
137 int ton_stab_init (tonStabState **state)
141 if (state == (tonStabState **) NULL){
145 *state = NULL;
149 // fprintf(stderr, "ton_stab_init: can not malloc state structure\n");
155 *state = s;
184 Word16 ton_stab_init(tonStabState **state) argument
188 if (state
381 ton_stab_exit(tonStabState **state) argument
[all...]
/frameworks/base/core/java/android/os/storage/
H A DOnObbStateChangeListener.java80 * @param path path to the OBB file the state change has happened on
81 * @param state the current state of the OBB
83 public void onObbStateChange(String path, int state) { argument
/frameworks/base/core/java/android/util/
H A DStateSet.java23 * represents the state of a {@link android.view.View} (e.g. focused,
27 * A state spec is an array of signed ints where each element
29 * {@link android.view.View} state.
31 * Utils dealing with state sets.
33 * In theory we could encapsulate the state set and state spec arrays
47 * @param stateSetOrSpec a state set or state spec.
82 final int state = stateSet[j];
83 if (state
120 stateSetMatches(int[] stateSpec, int state) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DTestedActivity.java37 protected void onRestoreInstanceState(Bundle state) argument
39 super.onRestoreInstanceState(state);
/frameworks/base/libs/storage/
H A DIObbActionListener.cpp33 virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) { } argument
48 int32_t state = data.readInt32(); local
49 onObbResult(filename, nonce, state);
/frameworks/native/services/surfaceflinger/
H A DBarrier.h29 inline Barrier() : state(CLOSED) { }
33 state = OPENED;
38 state = CLOSED;
42 while (state == CLOSED) {
50 volatile int state; member in class:android::Barrier
/frameworks/rs/
H A DrsFBOCache.h51 State state; member in struct:android::renderscript::FBOCache::Hal
H A DrsPath.h36 State state; member in struct:android::renderscript::Path::__anon1594
/frameworks/support/v4/eclair/android/support/v4/view/
H A DKeyEventCompatEclair.java28 public static boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, argument
30 return event.dispatch(receiver, (KeyEvent.DispatcherState)state, target);
/frameworks/av/libvideoeditor/osal/inc/
H A DM4OSA_Thread_priv.h43 M4OSA_ThreadState state; /* thread automaton state */ member in struct:M4OSA_ThreadContext
44 M4OSA_Context stateMutex; /* mutex for thread state management */
/frameworks/av/libvideoeditor/vss/stagefrightshells/inc/
H A DVideoEditorBuffer.h56 VIDEOEDITOR_BUFFER_State state; /**< Buffer state */ member in struct:__anon318
108 * @brief Returns a buffer in a given state
111 * @param desiredState : IN The buffer state
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.h39 downmix_state_t state; member in struct:__anon338

Completed in 2159 milliseconds

1234567891011>>