Searched refs:flush (Results 1 - 25 of 296) sorted by path

1234567891011>>

/frameworks/av/camera/aidl/android/hardware/camera2/
H A DICameraDeviceUser.aidl117 long flush();
/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp437 binder::Status remoteRet = mRemote->flush(&lastFrameNumber);
737 // TODO: refine this when implementing flush
/frameworks/av/cmds/stagefright/
H A Dmediafilter.cpp178 // only consume a buffer if we are not going to flush, since we expect
179 // the dequeue -> flush -> queue operation to cause an error and
226 // check that queueing a buffer that was dequeued before flush
228 filterState->mCodec->flush();
235 ALOGE("FAIL: queue after flush returned OK");
237 ALOGE("queueInputBuffer after flush returned %d, "
272 filterState->mCodec->flush();
294 // releasing the buffer dequeued before flush should cause an error
297 ALOGE("FAIL: release after flush returned OK");
299 ALOGE("releaseOutputBuffer after flush returne
[all...]
/frameworks/av/include/media/
H A DAudioTrack.h400 void flush();
533 * It is reset to zero by flush(), reload(), and stop().
771 * 2. flush() by itself does not reset the frame position.
773 * when the first frame after flush reaches the audio sink.
1042 int64_t mStartUs; // the start time after flush or stop.
1056 // after flush.
H A DIAudioTrack.h49 * will continue to be processed, unless/until flush() is called.
56 virtual void flush() = 0;
60 * will continue to be processed, unless/until flush() is called.
H A DMediaPlayerInterface.h137 virtual void flush() = 0;
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h110 status_t flush();
328 // stop/flush/reset/release.
H A DMediaSync.h108 void flush();
/frameworks/av/include/private/media/
H A DAudioTrackShared.h61 volatile int32_t mFlush; // incremented by client to indicate a request to flush;
386 virtual void flush();
411 virtual void flush();
466 uint32_t flush() { function in class:android::AudioRecordClientProxy
494 // ackFlush is true iff being called from Track::start to acknowledge a pending flush.
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp301 const uint32_t framesFlushed = mProxy->flush();
H A DAudioTrack.cpp578 // It is possible since flush and stop are asynchronous that the server
592 // since the flush is asynchronous and stop may not fully drain.
663 // and periodic update counter, but flush does for streaming tracks.
688 void AudioTrack::flush() function in class:android::AudioTrack
715 mProxy->flush();
716 mAudioTrack->flush();
2313 // so we don't report the jump when the flush occurs).
2424 // Check whether a pending flush or stop has completed, as those commands may
2449 // to completely flush or stop the previous playing track.
H A DAudioTrackShared.cpp392 void AudioTrackClientProxy::flush() function in class:android::AudioTrackClientProxy
400 // if you want to flush twice to the same rear location after a 32 bit wrap.
533 void StaticAudioTrackClientProxy::flush() function in class:android::StaticAudioTrackClientProxy
535 LOG_ALWAYS_FATAL("static flush");
639 int32_t flush = cblk->u.mStreaming.mFlush; local
642 if (flush != mFlush) {
646 int32_t newFront = (front & ~mask) | (flush & mask);
652 ALOGV("flush wrap: filled %zx >= overflowBit %zx", filled, overflowBit);
656 // Rather than shutting down on a corrupt flush, just treat it as a full flush
798 int32_t flush = cblk->u.mStreaming.mFlush; local
[all...]
H A DIAudioTrack.cpp87 virtual void flush() function in class:android::BpAudioTrack
173 flush();
H A DJetPlayer.cpp144 mAudioTrack->flush();
249 mAudioTrack->flush();
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1851 // we're not going to reuse the track, unblock and flush it
1996 void MediaPlayerService::AudioOutput::flush() function in class:android::MediaPlayerService::AudioOutput
1998 ALOGV("flush");
2000 if (mTrack != 0) mTrack->flush();
H A DMediaPlayerService.h109 virtual void flush();
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp693 // After a flush without shutdown, decoder is paused.
997 ALOGV("decoder %s flush completed", audio ? "audio" : "video");
1059 *flushing = FLUSHING_DECODER_SHUTDOWN; // initiate shutdown after flush.
1060 break; // Wait for flush to complete.
1062 break; // Wait for flush to complete.
1141 ALOGV("renderer %s flush completed.", audio ? "audio" : "video");
1232 // After a flush without shutdown, decoder is paused.
1414 // We wait for both the decoder flush and the renderer flush to complete
1447 // decoder flush complete
[all...]
H A DNuPlayerCCDecoder.cpp549 void NuPlayer::CCDecoder::flush() { function in class:android::NuPlayer::CCDecoder
H A DNuPlayerCCDecoder.h44 void flush();
H A DNuPlayerDecoder.cpp364 mCCDecoder->flush();
368 mRenderer->flush(mIsAudio, notifyComplete);
374 err = mCodec->flush();
380 ALOGE("failed to flush %s (err=%d)", mComponentName.c_str(), err);
383 // we attempt to release the buffers even if flush fails.
727 // reuse existing decoder and don't flush
942 ALOGV("finishHandleDiscontinuity: format %d, time %d, flush %d",
946 // If we have time change only, flush and restart fetching.
H A DNuPlayerDecoderPassThrough.cpp381 mRenderer->flush(true /* audio */, notifyComplete);
H A DNuPlayerRenderer.cpp141 mAudioSink->flush();
275 void NuPlayer::Renderer::flush(bool audio, bool notifyComplete) { function in class:android::NuPlayer::Renderer
884 // AudioSink is opened there, and possible interactions with flush
1269 // This will ensure that the first frame after a flush won't be used as anchor
1494 // the frame count will be reset after flush.
1502 mAudioSink->flush();
1508 mAudioSink->flush();
1511 // FIXME: this is ignored after flush().
1717 mAudioSink->flush();
H A DNuPlayerRenderer.h59 void flush(bool audio, bool notifyComplete);
/frameworks/av/media/libstagefright/
H A DAudioPlayer.cpp319 // If we're closing and have reached EOS, we don't want to flush
326 // so we must flush to prevent a track switch being delayed playing
329 mAudioSink->flush();
337 mAudioTrack->flush();
664 mAudioSink->flush();
672 mAudioTrack->flush();
H A DMediaCodec.cpp965 status_t MediaCodec::flush() { function in class:android::MediaCodec

Completed in 245 milliseconds

1234567891011>>