Searched defs:state (Results 1 - 25 of 340) sorted by path

1234567891011>>

/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp311 CodecState *state = local
315 state->mNumFramesWritten = 0;
316 state->mCodec = MediaCodec::CreateByType(
319 CHECK(state->mCodec != NULL);
321 err = state->mCodec->configure(
332 state->mCSD.push_back(buffer);
339 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
341 status_t err = state->mCodec->start();
344 err = state->mCodec->getInputBuffers(&state
400 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
419 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
474 CodecState *state = &mStateByTrackIndex.editValueFor(trackIndex); local
515 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
567 onOutputFormatChanged( size_t trackIndex, CodecState *state) argument
598 renderAudio( CodecState *state, BufferInfo *info, const sp<ABuffer> &buffer) argument
[all...]
H A Dcodec.cpp110 CodecState *state = local
113 state->mNumBytesDecoded = 0;
114 state->mNumBuffersDecoded = 0;
115 state->mIsAudio = isAudio;
117 state->mCodec = MediaCodec::CreateByType(
120 CHECK(state->mCodec != NULL);
122 err = state->mCodec->configure(
129 state->mSignalledInputEOS = false;
130 state->mSawOutputEOS = false;
138 CodecState *state local
162 CodecState *state = &stateByTrack.editValueFor(trackIndex); local
197 CodecState *state = &stateByTrack.editValueAt(i); local
226 CodecState *state = &stateByTrack.editValueAt(i); local
238 CodecState *state = &stateByTrack.editValueAt(i); local
288 CodecState *state = &stateByTrack.editValueAt(i); local
[all...]
/frameworks/av/include/media/
H A DSoundPool.h61 int state() { return mState; } function in class:android::Sample
118 enum state { IDLE, RESUMING, STOPPING, PAUSED, PLAYING }; enum in class:android::SoundChannel
134 int state() { return mState; } function in class:android::SoundChannel
/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/osal/src/
H A DM4OSA_Thread.c59 threadContext->state = M4OSA_kThreadRunning;
63 while(threadContext->state == M4OSA_kThreadRunning)
71 if(threadContext->state == M4OSA_kThreadRunning)
74 //PR 2354 - ACO : Suppress stopping state and don't
76 threadContext->state = M4OSA_kThreadOpened;
112 * @note Once the thread is created, the state is M4OSA_kThreadOpened.
154 threadContext->state = M4OSA_kThreadOpened;
191 * Before calling this method, the state is M4OSA_kThreadOpened.
192 * Once the method is called, the state is M4OSA_kThreadStarting.
193 * Once the thread is running, the state i
467 M4OSA_threadSyncGetState(M4OSA_Context context, M4OSA_ThreadState* state) argument
[all...]
/frameworks/av/libvideoeditor/vss/3gpwriter/inc/
H A DM4MP4W_Types.h283 M4MP4W_State state; member in struct:__anon94
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
H A DM4MP4W_Writer.c582 mMp4FileDataPtr->state = M4MP4W_opened;
637 ERR_CHECK(( mMp4FileDataPtr->state == M4MP4W_opened)
638 || (mMp4FileDataPtr->state == M4MP4W_ready), M4ERR_STATE);
639 mMp4FileDataPtr->state = M4MP4W_ready;
1213 ERR_CHECK((mMp4FileDataPtr->state == M4MP4W_ready), M4ERR_STATE);
1214 mMp4FileDataPtr->state = M4MP4W_writing;
1440 state is still consistent and we can properly close the file so that what has been
1444 attempting to write the data. That way, we're consistent with the chunk state data. */
1453 /* Then, do not update any info whatsoever in the writing state. This will have the
1683 state i
5310 M4MP4W_getState( M4OSA_Context context, M4MP4W_State *state, M4SYS_StreamID streamID ) argument
[all...]
/frameworks/av/libvideoeditor/vss/stagefrightshells/inc/
H A DVideoEditorBuffer.h56 VIDEOEDITOR_BUFFER_State state; /**< Buffer state */ member in struct:__anon311
108 * @brief Returns a buffer in a given state
111 * @param desiredState : IN The buffer state
/frameworks/av/media/common_time/
H A DICommonClock.cpp180 virtual status_t getState(State* state) { argument
187 *state = static_cast<State>(reply.readInt32());
347 State state; local
348 status_t status = getState(&state);
351 reply->writeInt32(static_cast<int32_t>(state));
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.h39 downmix_state_t state; member in struct:__anon331
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp50 // Session state
56 // Effect/Preprocessor state
88 uint32_t state; // current state (enum preproc_effect_state) member in struct:preproc_effect_s
101 uint32_t state; // current state (enum preproc_session_state) member in struct:preproc_session_s
636 LOG_ALWAYS_FATAL("Bad state transition from %d to %d", from, to);
638 int Effect_SetState(preproc_effect_t *effect, uint32_t state) argument
641 ALOGV("Effect_SetState proc %d, new %d old %d", effect->procId, state, effect->state);
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp88 void AudioBiquadFilter::setState(state_t state) { argument
89 switch (state) {
117 mState = state;
H A DEffectEqualizer.cpp111 uint32_t state; member in struct:android::__anon468::EqualizerContext
164 pContext->state = EQUALIZER_STATE_UNINITIALIZED;
174 pContext->state = EQUALIZER_STATE_INITIALIZED;
191 pContext->state = EQUALIZER_STATE_UNINITIALIZED;
632 if (pContext->state == EQUALIZER_STATE_UNINITIALIZED) {
635 if (pContext->state == EQUALIZER_STATE_INITIALIZED) {
650 if (pContext == NULL || pContext->state == EQUALIZER_STATE_UNINITIALIZED) {
715 if (pContext->state != EQUALIZER_STATE_INITIALIZED) {
718 pContext->state = EQUALIZER_STATE_ACTIVE;
726 if (pContext->state !
[all...]
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp78 status_t AudioSystem::muteMicrophone(bool state) { argument
81 return af->setMicMute(state);
84 status_t AudioSystem::isMicrophoneMuted(bool* state) { argument
87 *state = af->getMicMute();
540 audio_policy_dev_state_t state,
552 return aps->setDeviceConnectionState(device, state, address);
564 status_t AudioSystem::setPhoneState(audio_mode_t state) argument
566 if (uint32_t(state) >= AUDIO_MODE_CNT) return BAD_VALUE;
570 return aps->setPhoneState(state);
729 status_t AudioSystem::isStreamActive(audio_stream_type_t stream, bool* state, uint32_ argument
539 setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state, const char *device_address) argument
738 isSourceActive(audio_source_t stream, bool* state) argument
[all...]
H A DIAudioFlinger.cpp311 virtual status_t setMicMute(bool state) argument
315 data.writeInt32(state);
842 int state = data.readInt32(); local
843 reply->writeInt32( setMicMute(state) );
H A DIAudioPolicyService.cpp71 audio_policy_dev_state_t state,
77 data.writeInt32(static_cast <uint32_t>(state));
95 virtual status_t setPhoneState(audio_mode_t state) argument
99 data.writeInt32(state);
381 audio_policy_dev_state_t state = local
385 state,
69 setDeviceConnectionState( audio_devices_t device, audio_policy_dev_state_t state, const char *device_address) argument
H A DIMediaPlayer.cpp151 status_t isPlaying(bool* state) argument
156 *state = reply.readInt32();
408 bool state; local
409 status_t ret = isPlaying(&state);
410 reply->writeInt32(state);
H A DIOMX.cpp202 node_id node, OMX_STATETYPE* state) {
208 *state = static_cast<OMX_STATETYPE>(reply.readInt32());
545 OMX_STATETYPE state = OMX_StateInvalid; local
547 status_t err = getState(node, &state);
548 reply->writeInt32(state);
201 getState( node_id node, OMX_STATETYPE* state) argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp871 status_t MediaPlayerService::Client::isPlaying(bool* state) argument
873 *state = false;
876 *state = p->isPlaying();
877 ALOGV("[%d] isPlaying: %d", mConnId, *state);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp179 bool NuPlayer::IsFlushingState(FlushStatus state, bool *needShutdown) { argument
180 switch (state) {
/frameworks/av/media/libstagefright/
H A DOMXClient.cpp67 node_id node, OMX_STATETYPE* state);
245 node_id node, OMX_STATETYPE* state) {
246 return getOMX(node)->getState(node, state);
244 getState( node_id node, OMX_STATETYPE* state) argument
H A DOMXCodec.cpp1488 bool OMXCodec::isIntermediateState(State state) { argument
1489 return state == LOADED_TO_IDLE
1490 || state == IDLE_TO_EXECUTING
1491 || state == EXECUTING_TO_IDLE
1492 || state == IDLE_TO_LOADED
1493 || state == RECONFIGURING;
2079 ALOGW("Dropping OMX EVENT message - we're in ERROR state.");
2684 // releases the lock and ::init can notice the state change and
3251 // unblock the reader if we enter ERROR state.
3612 CODEC_LOGE("called start in the unexpected state
3708 OMX_STATETYPE state = OMX_StateInvalid; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgc_pred.cpp98 state = pointer to a structure of type gc_predState
101 past_qua_en field in the structure pointed to by state is initialized
103 past_qua_en_MR122 field in the structure pointed to by state is
118 This function initializes the state memory used by gc_pred to zero.
133 int gc_pred_reset (gc_predState *state)
137 if (state == (gc_predState *) NULL){
144 state->past_qua_en[i] = MIN_ENERGY;
145 state->past_qua_en_MR122[i] = MIN_ENERGY_MR122;
173 Word16 gc_pred_reset(gc_predState *state) argument
177 if (state
[all...]
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...]
H A Dvad1.cpp1254 vadState1 *st, /* i/o : VAD state struct */
1263 /* adapt speed on own state */
1267 { /* low state */
1271 { /* high state */
1372 vadState1 *st, /* i/o : VAD state struct */
1578 state -- double pointer to type vadState1 -- pointer to memory to
1582 state -- points to initalized area in memory.
1596 Allocates state memory and initializes state memory
1635 Word16 vad1_init(vadState1 **state) argument
1721 vad1_reset(vadState1 *state) argument
1846 vad1_exit(vadState1 **state) argument
[all...]

Completed in 283 milliseconds

1234567891011>>