/frameworks/av/media/libstagefright/ |
H A D | FragmentedMP4Extractor.cpp | 279 int64_t timeUs; local 280 CHECK(meta->findInt64("timeUs", &timeUs)); 281 buffer->meta_data()->setInt64(kKeyTime, timeUs);
|
H A D | StagefrightMetadataRetriever.cpp | 234 int64_t timeUs; local 235 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 237 if (timeUs != thumbNailTime) { 241 ALOGV("thumbNailTime = %lld us, timeUs = %lld us, mime = %s", 242 thumbNailTime, timeUs, mime); 322 int64_t timeUs, int option) { 324 ALOGV("getFrameAtTime: %lld us option: %d", timeUs, option); 386 timeUs, option); 393 timeUs, option); 321 getFrameAtTime( int64_t timeUs, int option) argument
|
H A D | CameraSource.cpp | 844 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local 845 mFrameTimes.push_back(timeUs); 847 mStartTimeUs, timeUs);
|
H A D | MPEG2TSWriter.cpp | 244 out->meta()->setInt64("timeUs", 0ll); 264 int64_t timeUs; local 265 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 266 copy->meta()->setInt64("timeUs", timeUs); 295 int64_t timeUs; local 296 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 298 mAACBuffer->meta()->setInt64("timeUs", timeUs); 453 int64_t timeUs; local 669 int64_t timeUs = source->lastAccessUnitTimeUs(); local 883 int64_t timeUs; local [all...] |
H A D | MediaCodec.cpp | 193 msg->setInt64("timeUs", presentationTimeUs); 224 msg->setInt64("timeUs", presentationTimeUs); 268 CHECK(response->findInt64("timeUs", presentationTimeUs)); 420 int64_t timeUs; local 421 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 423 response->setInt64("timeUs", timeUs); 1220 msg->setInt64("timeUs", 0ll); 1307 int64_t timeUs; local [all...] |
H A D | AVIExtractor.cpp | 175 int64_t timeUs; local 177 mTrackIndex, mSampleIndex, &offset, &size, &isKey, &timeUs); 196 out->meta_data()->setInt64(kKeyTime, timeUs); 353 int64_t timeUs = mBaseTimeUs + (mNumSamplesRead * 1000000ll) / sampleRate; local 356 mbuf->meta_data()->setInt64(kKeyTime, timeUs); 848 int64_t timeUs; local 849 status_t err = getSampleInfo(0, 0, &offset, &size, &isKey, &timeUs); 853 err = getSampleInfo(0, 0, &offset, &size, &isKey, &timeUs); 1005 int64_t timeUs; local 1007 getSampleInfo(trackIndex, 0, &offset, &size, &isKey, &timeUs); 1053 int64_t timeUs; local 1172 getSampleIndexAtTime( size_t trackIndex, int64_t timeUs, MediaSource::ReadOptions::SeekMode mode, size_t *sampleIndex) const argument [all...] |
H A D | FLACExtractor.cpp | 647 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate(); local 648 buffer->meta_data()->setInt64(kKeyTime, timeUs);
|
H A D | OggExtractor.cpp | 76 status_t seekToTime(int64_t timeUs); 190 int64_t timeUs; 191 if (packet->meta_data()->findInt64(kKeyTime, &timeUs)) { 192 ALOGI("found time = %lld us", timeUs); 312 status_t MyVorbisExtractor::seekToTime(int64_t timeUs) { argument 316 off64_t pos = timeUs * approxBitrate() / 8000000ll; 329 if (timeUs < entry.mTimeUs) { 331 } else if (timeUs > entry.mTimeUs) { 454 int64_t timeUs = -1; local 496 timeUs [all...] |
/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 | MyTransmitter.h | 638 int64_t timeUs; local 639 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 641 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll);
|
/frameworks/base/media/jni/ |
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);
|
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
|
/frameworks/av/cmds/stagefright/ |
H A D | sf2.cpp | 432 outBuffer->meta()->setInt64("timeUs", 0); 482 int64_t timeUs; local 483 CHECK(inBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 485 outBuffer->meta()->setInt64("timeUs", timeUs);
|
H A D | stagefright.cpp | 575 int64_t timeUs; local 576 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 578 printf("%lld\t%lld\t%lld\n", seekTimeUs, timeUs, seekTimeUs - timeUs);
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.cpp | 382 int64_t timeUs; local 383 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 384 native_window_set_buffers_timestamp(anw, timeUs * 1000);
|
H A D | PreviewPlayer.cpp | 676 status_t PreviewPlayer::seekTo(int64_t timeUs) { argument 679 return seekTo_l(timeUs); 899 int64_t timeUs; local 900 CHECK(mVideoBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 901 setPosition_l(timeUs); 904 int64_t playbackTimeRemaining = (mPlayEndTimeMsec * 1000LL) - timeUs; 915 finishSeekIfNecessary(timeUs); 936 mTimeSourceDeltaUs = ts->getRealTimeUs() - timeUs; 947 int64_t latenessUs = nowUs - timeUs; 954 ts->getRealTimeUs(),timeUs); 1536 int64_t timeUs; local 1887 setPosition_l(int64_t timeUs) argument 1891 seekTo_l(int64_t timeUs) argument [all...] |
/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/mpeg2ts/ |
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);
|
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...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
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);
|
/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);
|