/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_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_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/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 | 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 | 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));
|
H A D | MyHandler.h | 180 void seek(int64_t timeUs) { argument 182 msg->setInt64("time", timeUs); 895 int64_t timeUs; local 896 CHECK(msg->findInt64("time", &timeUs)); 916 reply->setInt64("time", timeUs); 936 int64_t timeUs; local 937 CHECK(msg->findInt64("time", &timeUs)); 949 "Range: npt=%lld-\r\n", timeUs / 1000000ll)); 1478 accessUnit->meta()->setInt64("timeUs", mediaTimeUs);
|
H A D | MyTransmitter.h | 638 int64_t timeUs; local 639 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 641 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll);
|
H A D | rtp_test.cpp | 213 int64_t timeUs; local 214 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 217 buffer->range_length(), timeUs / 1E6);
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedText3GPPSource.cpp | 66 int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel) { 82 (const uint8_t *)data, size, flag, timeUs / 1000, parcel); 65 extractAndAppendLocalDescriptions( int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel) argument
|
H A D | TimedTextDriver.cpp | 163 status_t TimedTextDriver::seekToAsync(int64_t timeUs) { argument 170 mPlayer->seekToAsync(timeUs); 175 mPlayer->seekToAsync(timeUs); 179 mPlayer->seekToAsync(timeUs);
|
H A D | TimedTextPlayer.cpp | 69 void TimedTextPlayer::seekToAsync(int64_t timeUs) { argument 71 msg->setInt64("seekTimeUs", timeUs); 259 void TimedTextPlayer::postTextEvent(const sp<ParcelEvent>& parcel, int64_t timeUs) { argument 260 int64_t delayUs = delayUsFromCurrentTime(timeUs); 266 msg->setInt64("fireTimeUs", timeUs);
|
H A D | TimedTextSRTSource.cpp | 271 int64_t timeUs, const AString &text, Parcel *parcel) { 279 (const uint8_t *)data, size, flag, timeUs / 1000, parcel); 284 int TimedTextSRTSource::compareExtendedRangeAndTime(size_t index, int64_t timeUs) { argument 289 if (timeUs >= startTimeUs && timeUs < endTimeUs) { 291 } else if (endTimeUs <= timeUs) { 270 extractAndAppendLocalDescriptions( int64_t timeUs, const AString &text, Parcel *parcel) argument
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 416 int64_t timeUs; local 417 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 420 timeUs += copyUs; 421 buffer->meta()->setInt64("timeUs", timeUs); 462 int64_t timeUs; local 463 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 465 partialAudioAU->meta()->setInt64("timeUs", timeU 501 int64_t timeUs = 0ll; local 555 int64_t timeUs; local [all...] |
H A D | MediaPuller.cpp | 144 int64_t timeUs; local 145 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs)); 153 accessUnit->meta()->setInt64("timeUs", timeUs);
|
H A D | PlaybackSession.cpp | 81 bool hasOutputBuffer(int64_t *timeUs) const; 265 int64_t *timeUs) const { 266 *timeUs = 0ll; 274 CHECK(outputBuffer->meta()->findInt64("timeUs", timeUs)); 863 int64_t timeUs = ALooper::GetNowUs(); local 864 if (mPrevTimeUs < 0ll || mPrevTimeUs + 100000ll <= timeUs) { 868 mPrevTimeUs = timeUs; 927 int64_t timeUs; local 928 if (track->hasOutputBuffer(&timeUs)) { [all...] |
H A D | Sender.cpp | 361 int64_t timeUs, const sp<ABuffer> &packets) { 373 mFirstOutputBufferReadyTimeUs = timeUs; 379 whenUs = (timeUs - mFirstOutputBufferReadyTimeUs) 388 packets->meta()->setInt64("timeUs", timeUs); 360 queuePackets( int64_t timeUs, const sp<ABuffer> &packets) argument
|
H A D | TSPacketizer.cpp | 400 int64_t timeUs; local 401 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 692 uint64_t PTS = (timeUs * 9ll) / 100ll; 853 int64_t timeUs; local 854 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 858 accessUnit2->meta()->setInt64("timeUs", timeUs);
|