Home
last modified time | relevance | path

Searched refs:driftTimeUs (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/
DMediaCodecSource.cpp741 int64_t driftTimeUs = 0; in feedEncoderInputBuffers() local
742 if (mbuf->meta_data().findInt64(kKeyDriftTime, &driftTimeUs) in feedEncoderInputBuffers()
743 && driftTimeUs) { in feedEncoderInputBuffers()
744 driftTimeUs = timeUs - mFirstSampleTimeUs - driftTimeUs; in feedEncoderInputBuffers()
746 mDriftTimeQueue.push_back(driftTimeUs); in feedEncoderInputBuffers()
988 int64_t driftTimeUs = 0; in onMessageReceived() local
991 driftTimeUs = *(mDriftTimeQueue.begin()); in onMessageReceived()
993 mbuf->meta_data().setInt64(kKeyDriftTime, driftTimeUs); in onMessageReceived()
996 timeUs, timeUs / 1E6, driftTimeUs); in onMessageReceived()
DMPEG4Writer.cpp3341 int64_t driftTimeUs = 0; in updateDriftTime() local
3342 if (meta->findInt64(kKeyDriftTime, &driftTimeUs)) { in updateDriftTime()
3344 int64_t timeUs = (driftTimeUs + prevDriftTimeUs) >> 1; in updateDriftTime()
4084 void MPEG4Writer::setDriftTimeUs(int64_t driftTimeUs) { in setDriftTimeUs() argument
4085 ALOGV("setDriftTimeUs: %" PRId64 " us", driftTimeUs); in setDriftTimeUs()
4087 mDriftTimeUs = driftTimeUs; in setDriftTimeUs()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h265 void setDriftTimeUs(int64_t driftTimeUs);