Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DMediaCodecSource.cpp722 int64_t driftTimeUs = 0; in feedEncoderInputBuffers() local
723 if (mbuf->meta_data().findInt64(kKeyDriftTime, &driftTimeUs) in feedEncoderInputBuffers()
724 && driftTimeUs) { in feedEncoderInputBuffers()
725 driftTimeUs = timeUs - mFirstSampleTimeUs - driftTimeUs; in feedEncoderInputBuffers()
727 mDriftTimeQueue.push_back(driftTimeUs); in feedEncoderInputBuffers()
952 int64_t driftTimeUs = 0; in onMessageReceived() local
955 driftTimeUs = *(mDriftTimeQueue.begin()); in onMessageReceived()
957 mbuf->meta_data().setInt64(kKeyDriftTime, driftTimeUs); in onMessageReceived()
960 timeUs, timeUs / 1E6, driftTimeUs); in onMessageReceived()
DMPEG4Writer.cpp2915 int64_t driftTimeUs = 0; in updateDriftTime() local
2916 if (meta->findInt64(kKeyDriftTime, &driftTimeUs)) { in updateDriftTime()
2918 int64_t timeUs = (driftTimeUs + prevDriftTimeUs) >> 1; in updateDriftTime()
3578 void MPEG4Writer::setDriftTimeUs(int64_t driftTimeUs) { in setDriftTimeUs() argument
3579 ALOGV("setDriftTimeUs: %" PRId64 " us", driftTimeUs); in setDriftTimeUs()
3581 mDriftTimeUs = driftTimeUs; in setDriftTimeUs()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h233 void setDriftTimeUs(int64_t driftTimeUs);