/frameworks/base/media/java/android/media/ |
D | MediaTimestamp.java | 50 return mediaTimeUs; in getAnchorMediaTimeUs() 84 public final long mediaTimeUs; field in MediaTimestamp 98 public MediaTimestamp(long mediaTimeUs, long nanoTimeNs, in MediaTimestamp() argument 100 this.mediaTimeUs = mediaTimeUs; in MediaTimestamp() 107 mediaTimeUs = 0; in MediaTimestamp() 118 return (this.mediaTimeUs == that.mediaTimeUs) in equals() 126 + "{AnchorMediaTimeUs=" + mediaTimeUs in toString()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | FrameRenderTracker.h | 61 Info(int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, in Info() 63 : mMediaTimeUs(mediaTimeUs), in Info() 71 Info(int64_t mediaTimeUs, nsecs_t renderTimeNs) in Info() 72 : mMediaTimeUs(mediaTimeUs), in Info() 99 int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence); 110 status_t onFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano);
|
D | RenderedFrameInfo.h | 24 RenderedFrameInfo(int64_t mediaTimeUs, int64_t renderTimeNs) in RenderedFrameInfo() argument 25 : mMediaTimeUs(mediaTimeUs), mRenderTimeNs(renderTimeNs) {} in RenderedFrameInfo()
|
D | MediaClock.h | 67 void addTimer(const sp<AMessage> ¬ify, int64_t mediaTimeUs, int64_t adjustRealUs = 0); 84 Timer(const sp<AMessage> ¬ify, int64_t mediaTimeUs, int64_t adjustRealUs);
|
D | ACodec.h | 183 int64_t mediaTimeUs; member 364 void trackReleasedFrame(int64_t frameId, int64_t mediaTimeUs, int64_t desiredRenderTimeNs); 588 void onFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano);
|
D | MediaSync.h | 236 int64_t getRealTime(int64_t mediaTimeUs, int64_t nowUs);
|
/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 (mLastRenderTimeNs == systemNano && mediaTimeUs != INT64_MAX)) { in onFrameRendered() 95 mComponentName.c_str(), (long long)systemNano, (long long)mediaTimeUs); in onFrameRendered() 102 mComponentName.c_str(), (long long)systemNano, (long long)mediaTimeUs); in onFrameRendered() 106 mRenderQueue.emplace_back(mediaTimeUs, systemNano); in onFrameRendered()
|
D | MediaClock.cpp | 33 MediaClock::Timer::Timer(const sp<AMessage> ¬ify, int64_t mediaTimeUs, int64_t adjustRealUs) in Timer() argument 35 mMediaTimeUs(mediaTimeUs), in Timer() 213 void MediaClock::addTimer(const sp<AMessage> ¬ify, int64_t mediaTimeUs, in addTimer() argument 222 + (it->mMediaTimeUs - mediaTimeUs)) <= 0) { in addTimer() 230 mTimers.emplace_back(notify, mediaTimeUs, adjustRealUs); in addTimer()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.cpp | 972 int64_t mediaTimeUs; in fillAudioBuffer() local 973 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); in fillAudioBuffer() 974 if (mediaTimeUs < 0) { in fillAudioBuffer() 976 mediaTimeUs / 1E6); in fillAudioBuffer() 977 mediaTimeUs = 0; in fillAudioBuffer() 979 ALOGV("fillAudioBuffer: rendering audio at media time %.2f secs", mediaTimeUs / 1E6); in fillAudioBuffer() 980 setAudioFirstAnchorTimeIfNeeded_l(mediaTimeUs); in fillAudioBuffer() 1151 int64_t mediaTimeUs; in onDrainAudioQueue() local 1152 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); in onDrainAudioQueue() 1154 mediaTimeUs / 1E6); in onDrainAudioQueue() [all …]
|
D | StreamingSource.cpp | 146 int64_t mediaTimeUs; in onReadBuffer() local 147 memcpy(&mediaTimeUs, &buffer[2], sizeof(mediaTimeUs)); in onReadBuffer() 149 extra->setInt64(kATSParserKeyMediaTimeUs, mediaTimeUs); in onReadBuffer()
|
D | RTPSource.cpp | 577 int64_t mediaTimeUs = mMediaAnchorUs + ntpTimeUs - mNTPAnchorUs; in addMediaTimestamp() local 579 if (mediaTimeUs > mLastMediaTimeUs) { in addMediaTimestamp() 580 mLastMediaTimeUs = mediaTimeUs; in addMediaTimestamp() 583 if (mediaTimeUs < 0) { in addMediaTimestamp() 589 trackIndex, rtpTime, (long long)mediaTimeUs, mediaTimeUs / 1E6); in addMediaTimestamp() 591 accessUnit->meta()->setInt64("timeUs", mediaTimeUs); in addMediaTimestamp()
|
D | NuPlayerDecoderPassThrough.cpp | 270 int64_t mediaTimeUs; in fetchInputData() 271 CHECK(accessUnit->meta()->findInt64("timeUs", &mediaTimeUs)); in fetchInputData() 273 mediaTimeUs / 1E6); in fetchInputData()
|
/frameworks/av/media/ndk/fuzzer/ |
D | ndk_sync_codec_fuzzer.cpp | 28 static void CodecOnFrameRendered(AMediaCodec* codec, void* userdata, int64_t mediaTimeUs, in CodecOnFrameRendered() argument 32 (void)mediaTimeUs; in CodecOnFrameRendered()
|
D | ndk_async_codec_fuzzer.cpp | 150 static void codecOnFrameRendered(AMediaCodec* codec, void* userdata, int64_t mediaTimeUs, in codecOnFrameRendered() argument 154 (void)mediaTimeUs; in codecOnFrameRendered()
|
/frameworks/av/media/libstagefright/include/ |
D | SoftwareRenderer.h | 41 const void *data, size_t size, int64_t mediaTimeUs, nsecs_t renderTimeNs,
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.h | 47 virtual void onOutputFramesRendered(int64_t mediaTimeUs, nsecs_t renderTimeNs) = 0; 301 int64_t mediaTimeUs; member 321 int64_t mediaTimeUs, int64_t desiredRenderTimeNs);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/ |
D | NuPlayerRenderer.h | 282 void onNewAudioMediaTime(int64_t mediaTimeUs); 283 int64_t getRealTimeUs(int64_t mediaTimeUs, int64_t nowUs);
|
D | NuPlayerDriver.h | 70 virtual status_t notifyAt(int64_t mediaTimeUs) override;
|
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/ |
D | MyHandler.h | 1939 int64_t mediaTimeUs = mMediaAnchorUs + ntpTimeUs - mNTPAnchorUs; in addMediaTimestamp() local 1941 if (mediaTimeUs > mLastMediaTimeUs) { in addMediaTimestamp() 1942 mLastMediaTimeUs = mediaTimeUs; in addMediaTimestamp() 1945 if (mediaTimeUs < 0 && !mSeekable) { in addMediaTimestamp() 1951 trackIndex, rtpTime, (long long)mediaTimeUs, mediaTimeUs / 1E6); in addMediaTimestamp() 1953 accessUnit->meta()->setInt64("timeUs", mediaTimeUs); in addMediaTimestamp()
|
/frameworks/av/media/module/mpeg2ts/ |
D | ATSParser.cpp | 349 int64_t mediaTimeUs; in signalDiscontinuity() local 353 kATSParserKeyMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity() 2023 int64_t mediaTimeUs; in signalDiscontinuity() local 2025 if (extra->findInt64(kATSParserKeyMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity() 2026 mAbsoluteTimeAnchorUs = mediaTimeUs; in signalDiscontinuity() 2030 kATSParserKeyRecentMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity() 2032 mediaTimeUs -= mAbsoluteTimeAnchorUs; in signalDiscontinuity() 2035 mediaTimeUs -= mTimeOffsetUs; in signalDiscontinuity() 2037 mLastRecoveredPTS = (mediaTimeUs * 9) / 100; in signalDiscontinuity()
|
/frameworks/av/media/ndk/ |
D | NdkMediaCodec.cpp | 343 int64_t mediaTimeUs; in onMessageReceived() local 345 itemData.find(&mediaTimeUs); in onMessageReceived() 351 mediaTimesInUs[index] = mediaTimeUs; in onMessageReceived() 355 index, (long long)mediaTimeUs, ec.value(), ec.message().c_str()); in onMessageReceived()
|
/frameworks/av/media/libmedia/include/media/ |
D | IMediaPlayer.h | 83 virtual status_t notifyAt(int64_t mediaTimeUs) = 0;
|
D | mediaplayer.h | 253 status_t notifyAt(int64_t mediaTimeUs);
|
/frameworks/av/media/ndk/include/media/ |
D | NdkMediaCodec.h | 172 int64_t mediaTimeUs,
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 253 const void *data, size_t , int64_t mediaTimeUs, nsecs_t renderTimeNs, in render() argument 461 mRenderTracker.onFrameQueued(mediaTimeUs, (GraphicBuffer *)buf, Fence::NO_FENCE); in render()
|