/frameworks/av/include/media/stagefright/ |
D | FrameRenderTracker.h | 61 Info(int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence) in Info() 62 : mMediaTimeUs(mediaTimeUs), in Info() 70 Info(int64_t mediaTimeUs, nsecs_t renderTimeNs) in Info() 71 : mMediaTimeUs(mediaTimeUs), in Info() 98 int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence); 109 status_t onFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano);
|
D | MediaSync.h | 236 int64_t getRealTime(int64_t mediaTimeUs, int64_t nowUs);
|
D | ACodec.h | 514 void onFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano);
|
/frameworks/base/media/java/android/media/ |
D | MediaTimestamp.java | 43 return mediaTimeUs; in getAnchorMediaTimeUs() 66 public final long mediaTimeUs; field in MediaTimestamp 74 mediaTimeUs = mediaUs; in MediaTimestamp() 81 mediaTimeUs = 0; in MediaTimestamp()
|
D | MediaCodec.java | 1621 Object mediaTimeUs = map.get(i + "-media-time-us"); in handleMessage() local 1623 if (mediaTimeUs == null || systemNano == null in handleMessage() 1628 mCodec, (long)mediaTimeUs, (long)systemNano); in handleMessage()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.cpp | 785 int64_t mediaTimeUs; in fillAudioBuffer() local 786 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); in fillAudioBuffer() 787 ALOGV("fillAudioBuffer: rendering audio at media time %.2f secs", mediaTimeUs / 1E6); in fillAudioBuffer() 788 setAudioFirstAnchorTimeIfNeeded_l(mediaTimeUs); in fillAudioBuffer() 940 int64_t mediaTimeUs; in onDrainAudioQueue() local 941 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); in onDrainAudioQueue() 943 mediaTimeUs / 1E6); in onDrainAudioQueue() 944 onNewAudioMediaTime(mediaTimeUs); in onDrainAudioQueue() 1055 int64_t NuPlayer::Renderer::getRealTimeUs(int64_t mediaTimeUs, int64_t nowUs) { in getRealTimeUs() argument 1057 if (mMediaClock->getRealTimeFor(mediaTimeUs, &realUs) != OK) { in getRealTimeUs() [all …]
|
D | StreamingSource.cpp | 131 int64_t mediaTimeUs; in onReadBuffer() local 132 memcpy(&mediaTimeUs, &buffer[2], sizeof(mediaTimeUs)); in onReadBuffer() 134 extra->setInt64(IStreamListener::kKeyMediaTimeUs, mediaTimeUs); in onReadBuffer()
|
D | NuPlayerDecoderPassThrough.cpp | 275 int64_t mediaTimeUs; in fetchInputData() 276 CHECK(accessUnit->meta()->findInt64("timeUs", &mediaTimeUs)); in fetchInputData() 278 mediaTimeUs / 1E6); in fetchInputData()
|
D | NuPlayerRenderer.h | 227 void onNewAudioMediaTime(int64_t mediaTimeUs); 228 int64_t getRealTimeUs(int64_t mediaTimeUs, int64_t nowUs);
|
D | NuPlayerDecoder.cpp | 757 int64_t mediaTimeUs; in fetchInputData() 758 CHECK(accessUnit->meta()->findInt64("timeUs", &mediaTimeUs)); in fetchInputData() 761 mediaTimeUs / 1E6); in fetchInputData()
|
/frameworks/av/media/libstagefright/ |
D | FrameRenderTracker.cpp | 46 int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence) { in onFrameQueued() argument 47 mRenderQueue.emplace_back(mediaTimeUs, graphicBuffer, fence); in onFrameQueued() 89 status_t FrameRenderTracker::onFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano) { in onFrameRendered() argument 93 mComponentName.c_str(), (long long)systemNano, (long long)mediaTimeUs); in onFrameRendered() 100 mComponentName.c_str(), (long long)systemNano, (long long)mediaTimeUs); in onFrameRendered() 104 mRenderQueue.emplace_back(mediaTimeUs, systemNano); in onFrameRendered()
|
D | MediaSync.cpp | 463 int64_t MediaSync::getRealTime(int64_t mediaTimeUs, int64_t nowUs) { in getRealTime() argument 465 if (mMediaClock->getRealTimeFor(mediaTimeUs, &realUs) != OK) { in getRealTime()
|
D | ACodec.cpp | 260 virtual bool onOMXFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano); 378 virtual bool onOMXFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano); 397 virtual bool onOMXFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano); 1359 void ACodec::onFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano) { in onFrameRendered() argument 1360 if (mRenderTracker.onFrameRendered(mediaTimeUs, systemNano) != OK) { in onFrameRendered() 5535 int64_t mediaTimeUs, systemNano; in onOMXMessage() local 5537 CHECK(msg->findInt64("media_time_us", &mediaTimeUs)); in onOMXMessage() 5541 mediaTimeUs, systemNano); in onOMXMessage() 5551 int64_t mediaTimeUs __unused, nsecs_t systemNano __unused) { in onOMXFrameRendered() 6152 int64_t mediaTimeUs = -1; in onOutputBufferDrained() local [all …]
|
D | MediaCodec.cpp | 2614 int64_t mediaTimeUs = -1; in onReleaseOutputBuffer() local 2615 info->mData->meta()->findInt64("timeUs", &mediaTimeUs); in onReleaseOutputBuffer() 2620 ALOGV("using buffer PTS of %lld", (long long)mediaTimeUs); in onReleaseOutputBuffer() 2621 renderTimeNs = mediaTimeUs * 1000; in onReleaseOutputBuffer() 2628 mediaTimeUs, renderTimeNs, NULL, info->mFormat); in onReleaseOutputBuffer()
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | AACEncoder.cpp | 319 int64_t mediaTimeUs = in read() local 322 buffer->meta_data()->setInt64(kKeyTime, mAnchorTimeUs + mediaTimeUs); in read() 324 buffer->meta_data()->setInt64(kKeyDriftTime, mediaTimeUs - wallClockTimeUs); in read()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ATSParser.cpp | 267 int64_t mediaTimeUs; in signalDiscontinuity() local 271 IStreamListener::kKeyMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity() 1184 int64_t mediaTimeUs; in signalDiscontinuity() local 1186 if (extra->findInt64(IStreamListener::kKeyMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity() 1187 mAbsoluteTimeAnchorUs = mediaTimeUs; in signalDiscontinuity() 1191 IStreamListener::kKeyRecentMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity() 1193 mediaTimeUs -= mAbsoluteTimeAnchorUs; in signalDiscontinuity() 1196 mediaTimeUs -= mTimeOffsetUs; in signalDiscontinuity() 1198 mLastRecoveredPTS = (mediaTimeUs * 9) / 100; in signalDiscontinuity()
|
/frameworks/av/media/libstagefright/include/ |
D | SoftwareRenderer.h | 40 const void *data, size_t size, int64_t mediaTimeUs, nsecs_t renderTimeNs,
|
/frameworks/av/media/libstagefright/rtsp/ |
D | MyHandler.h | 1906 int64_t mediaTimeUs = mMediaAnchorUs + ntpTimeUs - mNTPAnchorUs; in addMediaTimestamp() local 1908 if (mediaTimeUs > mLastMediaTimeUs) { in addMediaTimestamp() 1909 mLastMediaTimeUs = mediaTimeUs; in addMediaTimestamp() 1912 if (mediaTimeUs < 0) { in addMediaTimestamp() 1918 trackIndex, rtpTime, (long long)mediaTimeUs, mediaTimeUs / 1E6); in addMediaTimestamp() 1920 accessUnit->meta()->setInt64("timeUs", mediaTimeUs); in addMediaTimestamp()
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 206 const void *data, size_t size, int64_t mediaTimeUs, nsecs_t renderTimeNs, in render() argument 379 mRenderTracker.onFrameQueued(mediaTimeUs, (GraphicBuffer *)buf, Fence::NO_FENCE); in render()
|