Searched refs:state (Results 26 - 50 of 559) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dph_disp.h129 ; Purpose: Initializes state memory
132 Word16 ph_disp_reset(ph_dispState *state);
137 ; Purpose: The memory used for state memory is freed
140 void ph_disp_exit(ph_dispState **state);
145 ; Purpose: mark phase dispersion as locked in state struct
148 void ph_disp_lock(ph_dispState *state);
153 ; Purpose: mark phase dispersion as unlocked in state struct
157 void ph_disp_release(ph_dispState *state);
169 ph_dispState *state, /* i/o : State struct */
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...]
H A Dlsp_avg.h118 lsp_avgState *state
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...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
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 Dcl_ltp.cpp127 state = Pointer to a pointer to a clLtpState structure
130 state points to the newly created clLtpState structure.
144 Allocates state memory and initializes state memory
159 int cl_ltp_init (clLtpState **state)
163 if (state == (clLtpState **) NULL){
167 *state = NULL;
171 fprintf(stderr, "cl_ltp_init: can not malloc state structure\n");
175 // init the sub state
183 *state
212 cl_ltp_init(clLtpState **state) argument
319 cl_ltp_reset(clLtpState *state) argument
414 cl_ltp_exit(clLtpState **state) argument
[all...]
H A Dgain_q.cpp135 Allocates state memory and initializes state memory
174 Word16 gainQuant_init(gainQuantState **state) argument
178 if (state == (gainQuantState **) NULL)
183 *state = NULL;
188 /* fprintf(stderr, "gainQuant_init: can not malloc state structure\n"); */
206 *state = s;
236 Initializes state memory to zero
274 Word16 gainQuant_reset(gainQuantState *state) argument
277 if (state
361 gainQuant_exit(gainQuantState **state) argument
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DDiagnostic.h32 { return m_Engine.state().ID; }
35 { return m_Engine.state().numArgs; }
39 return (DiagnosticEngine::ArgumentKind)m_Engine.state().ArgumentKinds[pIdx];
45 return m_Engine.state().ArgumentStrs[pIdx];
51 return reinterpret_cast<const char*>(m_Engine.state().ArgumentVals[pIdx]);
57 return (int)m_Engine.state().ArgumentVals[pIdx];
63 return (unsigned int)m_Engine.state().ArgumentVals[pIdx];
69 return (unsigned long long)m_Engine.state().ArgumentVals[pIdx];
75 return (bool)m_Engine.state().ArgumentVals[pIdx];
81 return m_Engine.state()
[all...]
/frameworks/native/cmds/ip-up-vpn/
H A Dip-up-vpn.c68 FILE *state = fopen(DIR ".tmp", "wb"); local
69 if (!state) {
70 ALOGE("Cannot create state: %s", strerror(errno));
76 fprintf(state, "%s\n", argv[1]);
77 fprintf(state, "%s/32\n", argv[4]);
78 fprintf(state, "0.0.0.0/0\n");
79 fprintf(state, "%s %s\n", env("DNS1"), env("DNS2"));
80 fprintf(state, "\n");
137 fprintf(state, "%s\n", interface);
138 fprintf(state, "
[all...]
/frameworks/rs/driver/
H A DrsdFrameBuffer.cpp36 if (fb->mHal.state.depthTarget != NULL) {
37 depth = (DrvAllocation *)fb->mHal.state.depthTarget->mHal.drv;
40 rsdAllocationSyncAll(rsc, fb->mHal.state.depthTarget,
50 for (uint32_t i = 0; i < fb->mHal.state.colorTargetsCount; i ++) {
52 if (fb->mHal.state.colorTargets[i] != NULL) {
53 color = (DrvAllocation *)fb->mHal.state.colorTargets[i]->mHal.drv;
56 rsdAllocationSyncAll(rsc, fb->mHal.state.colorTargets[i],
82 if (fb->mHal.state.colorTargets[0]) {
83 fbo->setDimensions(fb->mHal.state.colorTargets[0]->getType()->getDimX(),
84 fb->mHal.state
[all...]
H A DrsdMeshObj.cpp55 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType;
63 uint32_t arraySize = elem->mHal.state.fieldArraySizes[fieldIdx];
77 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) {
78 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement();
79 for (uint32_t ct=0; ct < elem->mHal.state.fieldsCount; ct++) {
100 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) {
101 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement();
102 uint32_t stride = elem->mHal.state.elementSizeBytes;
103 for (uint32_t fieldI=0; fieldI < elem->mHal.state
[all...]
H A DrsdShader.cpp50 StateBasedKey *state = mStateBasedShaders.itemAt(i); local
51 if (state->mShaderID) {
52 glDeleteShader(state->mShaderID);
54 delete state;
81 for (uint32_t ct = 0; ct < mRSProgram->mHal.state.texturesCount; ct ++) {
83 if (mRSProgram->mHal.state.textureTargets[ct] == RS_TEXTURE_2D) {
84 Allocation *a = mRSProgram->mHal.state.textures[ct];
85 if (a && a->mHal.state.surfaceTextureID) {
103 StateBasedKey *state = getExistingState(); local
104 if (state !
[all...]
/frameworks/av/libvideoeditor/osal/inc/
H A DLV_Macros.h72 * @note This macro compares a current state with a state value. If they are different,
78 #define CHECK_STATE(fct, stateValue, state) \
80 if((stateValue) != (state)) \
82 M4OSA_TRACE1_1("" #fct " called in bad state %d", state) ; \
/frameworks/base/media/jni/
H A Dandroid_media_AmrInputStream.cpp63 GsmAmrEncoderState *state = (GsmAmrEncoderState *) gae; local
64 int32_t nResult = AMREncodeInit(&state->mEncState, &state->mSidState, false);
79 GsmAmrEncoderState *state = (GsmAmrEncoderState *) gae; local
80 int32_t length = AMREncode(state->mEncState, state->mSidState,
84 (Frame_Type_3GPP*) &state->mLastModeUsed,
109 GsmAmrEncoderState *state = (GsmAmrEncoderState *)gae; local
110 AMREncodeExit(&state->mEncState, &state
[all...]
/frameworks/av/cmds/stagefright/
H A Dcodec.cpp111 CodecState *state = local
114 state->mNumBytesDecoded = 0;
115 state->mNumBuffersDecoded = 0;
116 state->mIsAudio = isAudio;
118 state->mCodec = MediaCodec::CreateByType(
121 CHECK(state->mCodec != NULL);
123 err = state->mCodec->configure(
130 state->mSignalledInputEOS = false;
131 state->mSawOutputEOS = false;
139 CodecState *state local
163 CodecState *state = &stateByTrack.editValueFor(trackIndex); local
198 CodecState *state = &stateByTrack.editValueAt(i); local
227 CodecState *state = &stateByTrack.editValueAt(i); local
239 CodecState *state = &stateByTrack.editValueAt(i); local
289 CodecState *state = &stateByTrack.editValueAt(i); local
[all...]
H A DSimplePlayer.cpp313 CodecState *state = local
317 state->mNumFramesWritten = 0;
318 state->mCodec = MediaCodec::CreateByType(
321 CHECK(state->mCodec != NULL);
323 err = state->mCodec->configure(
334 state->mCSD.push_back(buffer);
341 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
343 status_t err = state->mCodec->start();
346 err = state->mCodec->getInputBuffers(&state
402 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
421 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
476 CodecState *state = &mStateByTrackIndex.editValueFor(trackIndex); local
517 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
569 onOutputFormatChanged( size_t trackIndex, CodecState *state) argument
600 renderAudio( CodecState *state, BufferInfo *info, const sp<ABuffer> &buffer) 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/tests/coretests/src/android/util/
H A DStateSetTest.java39 // Add another state to the spec which the stateSet doesn't match
45 // Add an irrelevent state to the stateSpec
63 // Add another matching state to the the stateSet. We still fail
80 // Add another arrelevent state to the stateSet
86 // Add another state to the spec which the stateSet doesn't match
89 // Add an irrelevent state to the stateSet
124 int state;
127 state = 1;
128 assertTrue(StateSet.stateSetMatches(stateSpec, state));
130 state
[all...]
/frameworks/rs/driver/runtime/
H A Drs_element.c14 return element->mHal.state.fieldsCount;
20 if (element == NULL || index >= element->mHal.state.fieldsCount) {
24 rs_element returnElem = {element->mHal.state.fields[index]};
31 if (element == NULL || index >= element->mHal.state.fieldsCount) {
34 return element->mHal.state.fieldNameLengths[index];
40 if (element == NULL || index >= element->mHal.state.fieldsCount ||
45 uint32_t numToCopy = element->mHal.state.fieldNameLengths[index];
52 const char *nameSource = element->mHal.state.fieldNames[index];
62 if (element == NULL || index >= element->mHal.state.fieldsCount) {
65 return element->mHal.state
[all...]
H A Drs_program.c14 return prog->mHal.state.depthFunc;
23 return prog->mHal.state.depthWriteEnable;
32 return prog->mHal.state.colorRWriteEnable;
41 return prog->mHal.state.colorGWriteEnable;
50 return prog->mHal.state.colorBWriteEnable;
59 return prog->mHal.state.colorAWriteEnable;
68 return prog->mHal.state.blendSrc;
77 return prog->mHal.state.blendDst;
86 return prog->mHal.state.ditherEnable;
98 return prog->mHal.state
[all...]
H A Drs_structs.h44 } state; member in struct:Allocation::__anon1618
96 } state; member in struct:ProgramStore::__anon1620
124 } state; member in struct:ProgramRaster::__anon1622
156 } state; member in struct:Sampler::__anon1624
194 } state; member in struct:Element::__anon1626
230 } state; member in struct:Type::__anon1628
264 } state; member in struct:Mesh::__anon1630
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothHeadsetPhone.aidl38 void cdmaSetSecondCallState(boolean state);
/frameworks/base/core/java/android/os/
H A DSystemService.java44 State(String state) { argument
45 sStates.put(state, this);
78 * Return current state of given service.
82 final State state = sStates.get(rawState);
83 if (state != null) {
84 return state;
105 * Wait until given service has entered specific state.
107 public static void waitForState(String service, State state, long timeoutMillis) argument
113 if (state.equals(currentState)) {
119 + "; waited " + timeoutMillis + "ms for " + state);
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DMsgHandler.cpp33 m_Engine.state().ArgumentKinds[m_NumArgs] = DiagnosticEngine::ak_std_string;
34 m_Engine.state().ArgumentStrs[m_NumArgs++] = pStr.data();
41 m_Engine.state().ArgumentKinds[m_NumArgs] = DiagnosticEngine::ak_std_string;
42 m_Engine.state().ArgumentStrs[m_NumArgs++] = pStr;
49 m_Engine.state().ArgumentKinds[m_NumArgs] = pKind;
50 m_Engine.state().ArgumentVals[m_NumArgs++] = pValue;
/frameworks/base/core/java/android/view/
H A DInputEventConsistencyVerifier.java74 // Linked list of key state objects.
77 // Current state of the trackball.
140 * Resets the state of the input event consistency verifier.
153 final KeyState state = mKeyStateList;
154 mKeyStateList = state.next;
155 state.recycle();
207 KeyState state = findKeyState(deviceId, source, keyCode, /*remove*/ false);
208 if (state != null) {
213 if (state.unhandled) {
214 state
[all...]

Completed in 1366 milliseconds

1234567891011>>