Searched refs:state (Results 1 - 25 of 527) 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 DSimplePlayer.h101 status_t onOutputFormatChanged(size_t trackIndex, CodecState *state);
104 CodecState *state, BufferInfo *info, const sp<ABuffer> &buffer);
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/common_time/
H A DICommonClock.h83 virtual status_t getState(State* state) = 0;
/frameworks/av/include/media/
H A DAudioSystem.h46 static status_t muteMicrophone(bool state);
47 static status_t isMicrophoneMuted(bool *state);
70 // returns true in *state if tracks are active on the specified stream or has been active
72 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs = 0);
73 // returns true in *state if a recorder is currently recording with the specified source
74 static status_t isSourceActive(audio_source_t source, bool *state);
186 static status_t setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state, const char *device_address);
188 static status_t setPhoneState(audio_mode_t state);
H A DIAudioFlinger.h84 /* query the audio hardware state. This state never changes,
97 /* set/get the audio hardware state. This will probably be used by
106 /* set/get stream type state. This will probably be used by
120 // mic mute/state
121 virtual status_t setMicMute(bool state) = 0;
H A DIAudioPolicyService.h44 audio_policy_dev_state_t state,
48 virtual status_t setPhoneState(audio_mode_t state) = 0;
H A DIMediaPlayer.h54 virtual status_t isPlaying(bool* state) = 0;
H A DIOMX.h80 node_id node, OMX_STATETYPE* state) = 0;
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/include/media/stagefright/
H A DOMXCodec.h329 static bool isIntermediateState(State state);
/frameworks/av/include/media/stagefright/foundation/
H A DAHierarchicalStateMachine.h55 void changeState(const sp<AState> &state);
/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) ; \
H A DM4OSA_Thread.h106 M4OSA_ThreadState* state );
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_Utils.c142 ERR_CHECK( mMp4FileDataPtr->state == M4MP4W_closed, M4ERR_STATE);
143 mMp4FileDataPtr->state = M4MP4W_closed;
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/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorBuffer.c161 * @brief Returns a buffer in a given state
164 * @param desiredState : IN The buffer state
177 ALOGV("VIDEOEDITOR_BUFFER_getBuffer from %s in state=%d",
184 bFound = (ppool->pNXPBuffer[i].state == desiredState);
194 ALOGV("VIDEOEDITOR_BUFFER_getBuffer No buffer available in state %d",
236 pool->pNXPBuffer[index].state = VIDEOEDITOR_BUFFER_kEmpty;
255 if(pool->pNXPBuffer[index].state == desiredState)
H A DVideoEditorVideoDecoder.cpp1488 tmpDecBuffer->state = VIDEOEDITOR_BUFFER_kEmpty;
1563 tmpDecBuffer->state = VIDEOEDITOR_BUFFER_kFilled;
1604 if (pTmpVIDEOEDITORBuffer->state == VIDEOEDITOR_BUFFER_kFilled) {
1608 pTmpVIDEOEDITORBuffer->state = VIDEOEDITOR_BUFFER_kEmpty;
/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.c231 module->context.state = DOWNMIX_STATE_UNINITIALIZED;
256 pDwmModule->context.state = DOWNMIX_STATE_UNINITIALIZED;
307 if (pDownmixer->state == DOWNMIX_STATE_UNINITIALIZED) {
310 } else if (pDownmixer->state == DOWNMIX_STATE_INITIALIZED) {
396 if (pDwmModule == NULL || pDwmModule->context.state == DOWNMIX_STATE_UNINITIALIZED) {
468 if (pDownmixer->state != DOWNMIX_STATE_INITIALIZED) {
471 pDownmixer->state = DOWNMIX_STATE_ACTIVE;
480 if (pDownmixer->state != DOWNMIX_STATE_ACTIVE) {
483 pDownmixer->state = DOWNMIX_STATE_INITIALIZED;
535 pDwnmxModule->context.state
[all...]
H A DEffectDownmix.h39 downmix_state_t state; member in struct:__anon331

Completed in 185 milliseconds

1234567891011>>