Searched refs:state (Results 1 - 25 of 756) sorted by path

1234567891011>>

/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp315 CodecState *state = local
319 state->mNumFramesWritten = 0;
320 state->mCodec = MediaCodec::CreateByType(
323 CHECK(state->mCodec != NULL);
325 err = state->mCodec->configure(
336 state->mCSD.push_back(buffer);
343 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
345 status_t err = state->mCodec->start();
348 err = state->mCodec->getInputBuffers(&state
404 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
423 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
478 CodecState *state = &mStateByTrackIndex.editValueFor(trackIndex); local
519 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
571 onOutputFormatChanged( size_t trackIndex, CodecState *state) argument
602 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.cpp113 CodecState *state = local
116 state->mNumBytesDecoded = 0;
117 state->mNumBuffersDecoded = 0;
118 state->mIsAudio = isAudio;
120 state->mCodec = MediaCodec::CreateByType(
123 CHECK(state->mCodec != NULL);
125 err = state->mCodec->configure(
132 state->mSignalledInputEOS = false;
133 state->mSawOutputEOS = false;
141 CodecState *state local
165 CodecState *state = &stateByTrack.editValueFor(trackIndex); local
200 CodecState *state = &stateByTrack.editValueAt(i); local
229 CodecState *state = &stateByTrack.editValueAt(i); local
241 CodecState *state = &stateByTrack.editValueAt(i); local
291 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 have been active
72 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
73 // returns true in *state if tracks are active for what qualifies as remote playback
76 static status_t isStreamActiveRemotely(audio_stream_type_t stream, bool *state,
78 // returns true in *state if a recorder is currently recording with the specified source
79 static status_t isSourceActive(audio_source_t source, bool *state);
203 static status_t setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state,
207 static status_t setPhoneState(audio_mode_t state);
[all...]
H A DIAudioFlinger.h97 /* query the audio hardware state. This state never changes,
107 /* set/get the audio hardware state. This will probably be used by
116 /* set/get stream type state. This will probably be used by
130 // mic mute/state
131 virtual status_t setMicMute(bool state) = 0;
H A DIAudioPolicyService.h46 audio_policy_dev_state_t state,
50 virtual status_t setPhoneState(audio_mode_t state) = 0;
H A DIMediaPlayer.h58 virtual status_t isPlaying(bool* state) = 0;
H A DIOMX.h81 node_id node, OMX_STATETYPE* state) = 0;
H A DSoundPool.h63 int state() { return mState; } function in class:android::Sample
123 enum state { IDLE, RESUMING, STOPPING, PAUSED, PLAYING }; enum in class:android::SoundChannel
139 int state() { return mState; } function in class:android::SoundChannel
/frameworks/av/include/media/stagefright/
H A DOMXCodec.h331 static bool isIntermediateState(State state);
/frameworks/av/include/media/stagefright/foundation/
H A DAHierarchicalStateMachine.h55 void changeState(const sp<AState> &state);
/frameworks/av/include/soundtrigger/
H A DSoundTriggerCallback.h36 virtual void onServiceStateChange(sound_trigger_service_state_t state) = 0;
/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.c201 module->context.state = DOWNMIX_STATE_UNINITIALIZED;
226 pDwmModule->context.state = DOWNMIX_STATE_UNINITIALIZED;
277 if (pDownmixer->state == DOWNMIX_STATE_UNINITIALIZED) {
280 } else if (pDownmixer->state == DOWNMIX_STATE_INITIALIZED) {
363 if (pDwmModule == NULL || pDwmModule->context.state == DOWNMIX_STATE_UNINITIALIZED) {
435 if (pDownmixer->state != DOWNMIX_STATE_INITIALIZED) {
438 pDownmixer->state = DOWNMIX_STATE_ACTIVE;
447 if (pDownmixer->state != DOWNMIX_STATE_ACTIVE) {
450 pDownmixer->state = DOWNMIX_STATE_INITIALIZED;
502 pDwnmxModule->context.state
[all...]
H A DEffectDownmix.h39 downmix_state_t state; member in struct:__anon96
/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 DAudioBiquadFilter.h34 // from its current state to the desired state.
52 // Resets the internal state of the filter.
53 // Coefficients are reset to identity, state becomes disabled. This change
82 // immediate If true, transitions to new state smoothly, without
88 // immediate If true, transitions to new state smoothly, without
107 // Filter state.
111 // In the process of smooth transition to bypass state.
113 // In the process of smooth transition to normal (enabled) state.
115 // In normal (enabled) state
[all...]
H A DEffectEqualizer.cpp111 uint32_t state; member in struct:android::__anon234::EqualizerContext
147 pContext->state = EQUALIZER_STATE_UNINITIALIZED;
157 pContext->state = EQUALIZER_STATE_INITIALIZED;
174 pContext->state = EQUALIZER_STATE_UNINITIALIZED;
614 if (pContext->state == EQUALIZER_STATE_UNINITIALIZED) {
617 if (pContext->state == EQUALIZER_STATE_INITIALIZED) {
632 if (pContext == NULL || pContext->state == EQUALIZER_STATE_UNINITIALIZED) {
697 if (pContext->state != EQUALIZER_STATE_INITIALIZED) {
700 pContext->state = EQUALIZER_STATE_ACTIVE;
708 if (pContext->state !
[all...]
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp98 status_t AudioSystem::muteMicrophone(bool state) argument
102 return af->setMicMute(state);
105 status_t AudioSystem::isMicrophoneMuted(bool* state) argument
109 *state = af->getMicMute();
592 audio_policy_dev_state_t state,
604 return aps->setDeviceConnectionState(device, state, address);
616 status_t AudioSystem::setPhoneState(audio_mode_t state) argument
618 if (uint32_t(state) >= AUDIO_MODE_CNT) return BAD_VALUE;
622 return aps->setPhoneState(state);
807 status_t AudioSystem::isStreamActive(audio_stream_type_t stream, bool* state, uint32_ argument
591 setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state, const char *device_address) argument
816 isStreamActiveRemotely(audio_stream_type_t stream, bool* state, uint32_t inPastMs) argument
826 isSourceActive(audio_source_t stream, bool* state) argument
[all...]
H A DAudioTrackShared.cpp198 // FIXME we do not retry if requested < 10ms? needs documentation on this state machine
435 // FIXME we do not retry if requested < 10ms? needs documentation on this state machine
768 StaticAudioTrackState state; local
769 if (mObserver.poll(state)) {
771 size_t loopStart = state.mLoopStart;
772 size_t loopEnd = state.mLoopEnd;
773 if (state.mLoopCount == 0) {
782 } else if (state.mLoopCount >= -1) {
790 if (state.mLoopCount == -1) {
797 mFramesReady = int64_t(state
[all...]
H A DIAudioFlinger.cpp381 virtual status_t setMicMute(bool state) argument
385 data.writeInt32(state);
1049 int state = data.readInt32(); local
1050 reply->writeInt32( setMicMute(state) );
H A DIAudioPolicyService.cpp88 audio_policy_dev_state_t state,
94 data.writeInt32(static_cast <uint32_t>(state));
112 virtual status_t setPhoneState(audio_mode_t state) argument
116 data.writeInt32(state);
728 audio_policy_dev_state_t state = local
732 state,
86 setDeviceConnectionState( audio_devices_t device, audio_policy_dev_state_t state, const char *device_address) argument
H A DIMediaPlayer.cpp158 status_t isPlaying(bool* state) argument
163 *state = reply.readInt32();
423 bool state; local
424 status_t ret = isPlaying(&state);
425 reply->writeInt32(state);

Completed in 310 milliseconds

1234567891011>>