/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 | 60 RenderedFrameInfo(int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, in RenderedFrameInfo() 62 : mMediaTimeUs(mediaTimeUs), in RenderedFrameInfo() 70 RenderedFrameInfo(int64_t mediaTimeUs, nsecs_t renderTimeNs) in RenderedFrameInfo() 71 : mMediaTimeUs(mediaTimeUs), in RenderedFrameInfo() 101 int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence); 112 status_t onFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano);
|
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 | 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() 209 void MediaClock::addTimer(const sp<AMessage> ¬ify, int64_t mediaTimeUs, in addTimer() argument 218 + (it->mMediaTimeUs - mediaTimeUs)) <= 0) { in addTimer() 226 mTimers.emplace_back(notify, mediaTimeUs, adjustRealUs); in addTimer()
|
D | MediaSync.cpp | 466 int64_t MediaSync::getRealTime(int64_t mediaTimeUs, int64_t nowUs) { in getRealTime() argument 468 if (mMediaClock->getRealTimeFor(mediaTimeUs, &realUs) != OK) { in getRealTime()
|
D | ACodec.cpp | 301 virtual bool onOMXFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano); 427 virtual bool onOMXFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano); 446 virtual bool onOMXFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano); 1432 void ACodec::onFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano) { in onFrameRendered() argument 1433 if (mRenderTracker.onFrameRendered(mediaTimeUs, systemNano) != OK) { in onFrameRendered() 5940 int64_t mediaTimeUs, systemNano; in onOMXMessage() local 5942 CHECK(msg->findInt64("media_time_us", &mediaTimeUs)); in onOMXMessage() 5946 mediaTimeUs, systemNano); in onOMXMessage() 5956 int64_t mediaTimeUs __unused, nsecs_t systemNano __unused) { in onOMXFrameRendered() 6536 int64_t mediaTimeUs = -1; in onOutputBufferDrained() local [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.cpp | 923 int64_t mediaTimeUs; in fillAudioBuffer() local 924 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); in fillAudioBuffer() 925 ALOGV("fillAudioBuffer: rendering audio at media time %.2f secs", mediaTimeUs / 1E6); in fillAudioBuffer() 926 setAudioFirstAnchorTimeIfNeeded_l(mediaTimeUs); in fillAudioBuffer() 1097 int64_t mediaTimeUs; in onDrainAudioQueue() local 1098 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); in onDrainAudioQueue() 1100 mediaTimeUs / 1E6); in onDrainAudioQueue() 1101 onNewAudioMediaTime(mediaTimeUs); in onDrainAudioQueue() 1223 int64_t NuPlayer::Renderer::getRealTimeUs(int64_t mediaTimeUs, int64_t nowUs) { in getRealTimeUs() argument 1225 if (mMediaClock->getRealTimeFor(mediaTimeUs, &realUs) != OK) { in getRealTimeUs() [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 | NuPlayerDecoderPassThrough.cpp | 271 int64_t mediaTimeUs; in fetchInputData() 272 CHECK(accessUnit->meta()->findInt64("timeUs", &mediaTimeUs)); in fetchInputData() 274 mediaTimeUs / 1E6); in fetchInputData()
|
D | NuPlayerRenderer.h | 250 void onNewAudioMediaTime(int64_t mediaTimeUs); 251 int64_t getRealTimeUs(int64_t mediaTimeUs, int64_t nowUs);
|
D | NuPlayerDriver.h | 68 virtual status_t notifyAt(int64_t mediaTimeUs) override;
|
D | NuPlayerDriver.cpp | 727 status_t NuPlayerDriver::notifyAt(int64_t mediaTimeUs) { in notifyAt() argument 728 ALOGV("notifyAt(%p), time:%lld", this, (long long)mediaTimeUs); in notifyAt() 729 return mPlayer->notifyAt(mediaTimeUs); in notifyAt()
|
D | NuPlayer.h | 76 status_t notifyAt(int64_t mediaTimeUs);
|
D | NuPlayerDecoder.cpp | 978 int64_t mediaTimeUs; in fetchInputData() 979 CHECK(accessUnit->meta()->findInt64("timeUs", &mediaTimeUs)); in fetchInputData() 982 mediaTimeUs / 1E6); in fetchInputData()
|
/frameworks/av/media/libstagefright/include/ |
D | SoftwareRenderer.h | 41 const void *data, size_t size, int64_t mediaTimeUs, nsecs_t renderTimeNs,
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ATSParser.cpp | 350 int64_t mediaTimeUs; in signalDiscontinuity() local 354 kATSParserKeyMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity() 1909 int64_t mediaTimeUs; in signalDiscontinuity() local 1911 if (extra->findInt64(kATSParserKeyMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity() 1912 mAbsoluteTimeAnchorUs = mediaTimeUs; in signalDiscontinuity() 1916 kATSParserKeyRecentMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity() 1918 mediaTimeUs -= mAbsoluteTimeAnchorUs; in signalDiscontinuity() 1921 mediaTimeUs -= mTimeOffsetUs; in signalDiscontinuity() 1923 mLastRecoveredPTS = (mediaTimeUs * 9) / 100; in signalDiscontinuity()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | MyHandler.h | 1924 int64_t mediaTimeUs = mMediaAnchorUs + ntpTimeUs - mNTPAnchorUs; in addMediaTimestamp() local 1926 if (mediaTimeUs > mLastMediaTimeUs) { in addMediaTimestamp() 1927 mLastMediaTimeUs = mediaTimeUs; in addMediaTimestamp() 1930 if (mediaTimeUs < 0 && !mSeekable) { in addMediaTimestamp() 1936 trackIndex, rtpTime, (long long)mediaTimeUs, mediaTimeUs / 1E6); in addMediaTimestamp() 1938 accessUnit->meta()->setInt64("timeUs", mediaTimeUs); in addMediaTimestamp()
|
/frameworks/av/media/libmedia/include/media/ |
D | IMediaPlayer.h | 82 virtual status_t notifyAt(int64_t mediaTimeUs) = 0;
|
D | mediaplayer.h | 242 status_t notifyAt(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()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.h | 45 virtual void onOutputFramesRendered(int64_t mediaTimeUs, nsecs_t renderTimeNs) = 0;
|
/frameworks/av/media/libmedia/ |
D | mediaplayer.cpp | 586 status_t MediaPlayer::notifyAt(int64_t mediaTimeUs) in notifyAt() argument 590 return mPlayer->notifyAt(mediaTimeUs); in notifyAt()
|
/frameworks/base/media/jni/ |
D | android_media_MediaPlayer.cpp | 623 android_media_MediaPlayer_notifyAt(JNIEnv *env, jobject thiz, jlong mediaTimeUs) in android_media_MediaPlayer_notifyAt() argument 630 ALOGV("notifyAt: %lld", (long long)mediaTimeUs); in android_media_MediaPlayer_notifyAt() 631 process_media_player_call( env, thiz, mp->notifyAt((int64_t)mediaTimeUs), NULL, NULL ); in android_media_MediaPlayer_notifyAt()
|