/frameworks/av/media/libmedia/omx/1.0/ |
H A D | WGraphicBufferSource.cpp | 42 bool suspend, int64_t timeUs) { 43 return toBinderStatus(mBase->setSuspend(suspend, timeUs)); 41 setSuspend( bool suspend, int64_t timeUs) argument
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoderPassThrough.cpp | 178 int64_t timeUs; local 180 bool smallTimestampValid = accessUnit->meta()->findInt64("timeUs", &timeUs); 181 bool bigTimestampValid = mAggregateBuffer->meta()->findInt64("timeUs", &dummy); 197 mAggregateBuffer->meta()->setInt64("timeUs", timeUs); 272 CHECK(accessUnit->meta()->findInt64("timeUs", &mediaTimeUs)); 321 int64_t timeUs = 0; local 322 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); [all...] |
H A D | GenericSource.cpp | 624 int64_t timeUs, actualTimeUs; local 627 timeUs = mAudioLastDequeueTimeUs; 629 timeUs = mVideoLastDequeueTimeUs; 631 readBuffer(trackType, timeUs, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */, 635 ALOGV("timeUs %lld actualTimeUs %lld", (long long)timeUs, (long long)actualTimeUs); 729 int64_t timeUs; local 730 CHECK(msg->findInt64("timeUs", &timeUs)); 733 readBuffer(type, timeUs, MediaPlayerSeekMod 897 int64_t timeUs; local 1067 selectTrack(size_t trackIndex, bool select, int64_t timeUs) argument 1085 int64_t timeUs; local 1099 doSelectTrack(size_t trackIndex, bool select, int64_t timeUs) argument 1304 int64_t timeUs; local 1450 int64_t timeUs; local 1627 updateQueuedTime(bool isAudio, int64_t timeUs) argument [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | MediaSender.cpp | 233 int64_t timeUs; local 235 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 237 if (minTrackIndex < 0 || timeUs < minTimeUs) { 239 minTimeUs = timeUs; 260 int64_t timeUs; local 261 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 262 tsPackets->meta()->setInt64("timeUs", timeUs); 498 int64_t timeUs = ALooper::GetNowUs(); local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecSource.cpp | 348 int64_t timeUs; local 349 if (!response->findInt64("time-us", &timeUs)) { 350 timeUs = -1ll; 352 return timeUs; 657 int64_t timeUs = 0ll; local 662 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs)); 674 timeUs += mInputBufferTimeOffsetUs; 678 mDecodingTimeQueue.push_back(timeUs); 682 mFirstSampleTimeUs = timeUs; 687 driftTimeUs = timeUs 852 int64_t timeUs; local [all...] |
H A D | OggExtractor.cpp | 83 status_t seekToTime(int64_t timeUs); 279 int64_t timeUs; 280 if (packet->meta_data()->findInt64(kKeyTime, &timeUs)) { 281 ALOGI("found time = %lld us", timeUs); 413 status_t MyOggExtractor::seekToTime(int64_t timeUs) { argument 414 timeUs -= mSeekPreRollUs; 415 if (timeUs < 0) { 416 timeUs = 0; 426 off64_t pos = timeUs * bps / 8000000ll; 439 if (timeUs < entr 614 int64_t timeUs = getTimeUsOfGranule(mCurGranulePosition); local 672 int64_t timeUs = -1; local [all...] |
H A D | MediaMuxer.cpp | 150 int64_t timeUs, uint32_t flags) { 174 sampleMetaData->setInt64(kKeyTime, timeUs); 176 sampleMetaData->setInt64(kKeyDecodingTime, timeUs); 149 writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex, int64_t timeUs, uint32_t flags) argument
|
H A D | MPEG2TSWriter.cpp | 243 out->meta()->setInt64("timeUs", 0ll); 266 int64_t timeUs; local 267 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 268 mBuffer->meta()->setInt64("timeUs", timeUs); 290 int64_t timeUs; local 291 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 293 mBuffer->meta()->setInt64("timeUs", timeUs); 430 int64_t timeUs; local 629 int64_t timeUs = source->lastAccessUnitTimeUs(); local 842 int64_t timeUs; local [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 321 int64_t firstTimeUs, int64_t timeUs, int32_t discontinuitySeq) { 322 if (timeUs >= firstTimeUs) { 323 timeUs -= firstTimeUs; 325 timeUs = 0; 327 timeUs += mLastSeekTimeUs; 329 timeUs += mDiscontinuityOffsetTimesUs.valueFor(discontinuitySeq); 331 return timeUs; 383 int64_t timeUs, originalTimeUs; local 386 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs)); 320 calculateMediaTimeUs( int64_t firstTimeUs, int64_t timeUs, int32_t discontinuitySeq) argument 453 int64_t timeUs = calculateMediaTimeUs(firstTimeUs, mdTime.mTimeUs, mdTime.mSeq); local 523 seekTo(int64_t timeUs, MediaPlayerSeekMode mode) argument 1228 resumeFetcher( const AString &uri, uint32_t streamMask, int64_t timeUs, bool newUri) argument 1455 int64_t timeUs; local 1536 changeConfiguration( int64_t timeUs, ssize_t bandwidthIndex, bool pickTrack) argument 1667 int64_t timeUs; local 1780 int64_t timeUs; local [all...] |
/frameworks/av/media/libmedia/ |
H A D | mediametadataretriever.cpp | 144 sp<IMemory> MediaMetadataRetriever::getFrameAtTime(int64_t timeUs, int option) argument 146 ALOGV("getFrameAtTime: time(%" PRId64 " us) option(%d)", timeUs, option); 152 return mRetriever->getFrameAtTime(timeUs, option);
|
H A D | IMediaMetadataRetriever.cpp | 139 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) argument 141 ALOGV("getTimeAtTime: time(%" PRId64 " us) and option(%d)", timeUs, option); 144 data.writeInt64(timeUs); 267 int64_t timeUs = data.readInt64(); local 269 ALOGV("getTimeAtTime: time(%" PRId64 " us) and option(%d)", timeUs, option); 273 sp<IMemory> bitmap = getFrameAtTime(timeUs, option);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | rtp_test.cpp | 204 int64_t timeUs; local 205 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 208 buffer->range_length(), timeUs / 1E6);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | MediaPuller.cpp | 165 int64_t timeUs; local 166 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs)); 174 accessUnit->meta()->setInt64("timeUs", timeUs);
|
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
H A D | RTPSender.cpp | 212 int64_t timeUs; local 213 CHECK(packet->meta()->findInt64("timeUs", &timeUs)); 227 uint32_t rtpTime = (timeUs * 9) / 100ll; 252 int64_t timeUs; local 253 CHECK(tsPackets->meta()->findInt64("timeUs", &timeUs)); 299 timeUs); 311 int64_t timeUs; local 312 CHECK(accessUnit->meta()->findInt64("timeUs", 459 sendRTPPacket( const sp<ABuffer> &buffer, bool storeInHistory, bool timeValid, int64_t timeUs) argument [all...] |
/frameworks/av/include/media/ |
H A D | IMediaMetadataRetriever.h | 45 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option) = 0;
|
H A D | MediaMetadataRetrieverInterface.h | 45 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) = 0; 57 virtual VideoFrame* getFrameAtTime(int64_t /*timeUs*/, int /*option*/) { return NULL; }
|
H A D | mediametadataretriever.h | 80 sp<IMemory> getFrameAtTime(int64_t timeUs, int option);
|
/frameworks/av/include/media/stagefright/ |
H A D | MPEG4Writer.h | 127 void setStartTimestampUs(int64_t timeUs); 141 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument 142 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) { 215 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
|
H A D | MediaMuxer.h | 110 * @param timeUs the buffer's time stamp. 116 int64_t timeUs, uint32_t flags) ;
|
/frameworks/av/media/libmedia/include/media/ |
H A D | IMediaMetadataRetriever.h | 45 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option) = 0;
|
H A D | MediaMetadataRetrieverInterface.h | 45 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) = 0; 57 virtual VideoFrame* getFrameAtTime(int64_t /*timeUs*/, int /*option*/) { return NULL; }
|
H A D | mediametadataretriever.h | 80 sp<IMemory> getFrameAtTime(int64_t timeUs, int option);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.h | 53 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option);
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | MPEG4Writer.h | 127 void setStartTimestampUs(int64_t timeUs); 141 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument 142 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) { 215 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
|
H A D | MediaMuxer.h | 110 * @param timeUs the buffer's time stamp. 116 int64_t timeUs, uint32_t flags) ;
|