/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 240 public native void seekTo(long timeUs, int mode); argument
|
H A D | MediaMetadataRetriever.java | 215 * @param timeUs The time position where the frame will be retrieved. 218 * When this happens, a frame nearby will be returned. If timeUs is 224 * that has a timestamp earlier than or the same as timeUs. Use 226 * that has a timestamp later than or the same as timeUs. Use 228 * that has a timestamp closest to or the same as timeUs. Use 230 * or may not be a sync frame but is closest to or the same as timeUs. 232 * to the other options if there is no sync frame located at timeUs. 237 public Bitmap getFrameAtTime(long timeUs, int option) { argument 243 return _getFrameAtTime(timeUs, option); 254 * @param timeUs Th 266 getFrameAtTime(long timeUs) argument 288 _getFrameAtTime(long timeUs, int option) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 143 size_t offset, size_t size, int64_t timeUs, uint32_t flags, 146 index, offset, size, timeUs, flags, errorDetailMsg); 172 int64_t timeUs; local 176 index, &offset, &size, &timeUs, &flags, timeoutUs)) != OK) { 183 env->CallVoidMethod(bufferInfo, method, offset, size, timeUs, flags); 141 queueInputBuffer( size_t index, size_t offset, size_t size, int64_t timeUs, uint32_t flags, AString *errorDetailMsg) argument
|
H A D | android_media_MediaCodec.h | 57 size_t offset, size_t size, int64_t timeUs, uint32_t flags,
|
H A D | android_media_MediaExtractor.cpp | 174 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) { 175 return mImpl->seekTo(timeUs, mode); 377 JNIEnv *env, jobject thiz, jlong timeUs, jint mode) { 391 extractor->seekTo(timeUs, (MediaSource::ReadOptions::SeekMode)mode); 173 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument 376 android_media_MediaExtractor_seekTo( JNIEnv *env, jobject thiz, jlong timeUs, jint mode) argument
|
H A D | android_media_MediaExtractor.h | 51 status_t seekTo(int64_t timeUs, MediaSource::ReadOptions::SeekMode mode);
|
H A D | android_media_MediaMetadataRetriever.cpp | 218 static jobject android_media_MediaMetadataRetriever_getFrameAtTime(JNIEnv *env, jobject thiz, jlong timeUs, jint option) argument 220 ALOGV("getFrameAtTime: %lld us option: %d", timeUs, option); 229 sp<IMemory> frameMemory = retriever->getFrameAtTime(timeUs, option);
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 98 void LiveSession::seekTo(int64_t timeUs) { argument 103 msg->setInt64("timeUs", timeUs); 919 int64_t timeUs; local 920 CHECK(msg->findInt64("timeUs", &timeUs)); 922 mSeekTimeUs = timeUs;
|
/frameworks/av/media/libstagefright/include/ |
H A D | AVIExtractor.h | 105 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode,
|
H A D | AwesomePlayer.h | 96 status_t seekTo(int64_t timeUs); 249 status_t seekTo_l(int64_t timeUs);
|
H A D | FragmentedMP4Parser.h | 51 status_t seekTo(bool audio, int64_t timeUs);
|
H A D | LiveSession.h | 49 void seekTo(int64_t timeUs);
|
H A D | MP3Seeker.h | 31 // Given a request seek time in "*timeUs", find the byte offset closest 32 // to that position and return it in "*pos". Update "*timeUs" to reflect 34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos) = 0;
|
H A D | StagefrightMetadataRetriever.h | 41 virtual VideoFrame *getFrameAtTime(int64_t timeUs, int option);
|
H A D | VBRISeeker.h | 34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
|
H A D | XINGSeeker.h | 32 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
|
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 465 int64_t timeUs = mBlockIter.blockTimeUs(); local 471 mbuf->meta_data()->setInt64(kKeyTime, timeUs); 599 int64_t timeUs; local 600 CHECK(frame->meta_data()->findInt64(kKeyTime, &timeUs)); 604 buffer->meta_data()->setInt64(kKeyTime, timeUs);
|
/frameworks/av/media/libstagefright/mp4/ |
H A D | FragmentedMP4Parser.cpp | 287 status_t FragmentedMP4Parser::seekTo(bool wantAudio, int64_t timeUs) { argument 290 msg->setInt64("position", timeUs); 963 (*accessUnit)->meta()->setInt64("timeUs", presentationTimeUs); 1003 "timeUs", presentationTimeUs); 1343 csd->meta()->setInt64("timeUs", 0ll);
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ATSParser.cpp | 441 int64_t timeUs = (PTS * 100) / 9; local 444 timeUs += mParser->mAbsoluteTimeAnchorUs; 447 return timeUs; 849 int64_t timeUs = 0ll; // no presentation timestamp available. local 851 timeUs = mProgram->convertPTSToTimestamp(PTS); 854 status_t err = mQueue->appendData(data, size, timeUs); 933 int64_t timeUs; local 934 CHECK(extra->findInt64("timeUs", &timeUs)); 937 mAbsoluteTimeAnchorUs = timeUs; [all...] |
H A D | AnotherPacketSource.cpp | 113 int64_t timeUs; local 114 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 118 mediaBuffer->meta_data()->setInt64(kKeyTime, timeUs); 144 int64_t timeUs; local 145 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 146 ALOGV("queueAccessUnit timeUs=%lld us (%.2f secs)", timeUs, timeUs / 217 int64_t timeUs; local 235 nextBufferTime(int64_t *timeUs) argument [all...] |
H A D | AnotherPacketSource.h | 50 status_t nextBufferTime(int64_t *timeUs);
|
H A D | ESQueue.cpp | 124 const void *data, size_t size, int64_t timeUs) { 286 info.mTimestampUs = timeUs; 291 ALOGI("size = %d, timeUs = %.2f secs", size, timeUs / 1E6); 310 accessUnit->meta()->setInt64("timeUs", info.mTimestampUs); 377 int64_t timeUs = fetchTimestamp(payloadSize + 4); local 378 CHECK_GE(timeUs, 0ll); 379 accessUnit->meta()->setInt64("timeUs", timeUs); 397 int64_t timeUs; local 123 appendData( const void *data, size_t size, int64_t timeUs) argument 485 int64_t timeUs = -1; local 610 int64_t timeUs = fetchTimestamp(nextScan); local 666 int64_t timeUs = fetchTimestamp(frameSize); local 823 int64_t timeUs = fetchTimestamp(offset); local 982 int64_t timeUs = fetchTimestamp(offset); local [all...] |
H A D | ESQueue.h | 47 status_t appendData(const void *data, size_t size, int64_t timeUs);
|
H A D | MPEG2PSExtractor.cpp | 634 int64_t timeUs; local 636 timeUs = (PTS * 100) / 9; 638 timeUs = 0; 641 status_t err = mQueue->appendData(data, size, timeUs);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPWriter.cpp | 574 int64_t timeUs; local 575 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 577 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); 669 int64_t timeUs; local 670 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 672 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); 754 int64_t timeUs; local 755 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 756 uint32_t rtpTime = mRTPTimeBase + (timeUs / (isWide ? 250 : 125));
|