Searched defs:timeUs (Results 26 - 50 of 57) sorted by relevance

123

/frameworks/av/media/libstagefright/
H A DFragmentedMP4Extractor.cpp279 int64_t timeUs; local
280 CHECK(meta->findInt64("timeUs", &timeUs));
281 buffer->meta_data()->setInt64(kKeyTime, timeUs);
H A DStagefrightMetadataRetriever.cpp234 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 DCameraSource.cpp844 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local
845 mFrameTimes.push_back(timeUs);
847 mStartTimeUs, timeUs);
H A DMPEG2TSWriter.cpp244 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 DMediaCodec.cpp193 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 DAVIExtractor.cpp175 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 DFLACExtractor.cpp647 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate(); local
648 buffer->meta_data()->setInt64(kKeyTime, timeUs);
H A DOggExtractor.cpp76 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 DARTPWriter.cpp574 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 DMyTransmitter.h638 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 Dandroid_media_MediaMetadataRetriever.cpp218 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 Dandroid_media_MediaCodec.cpp143 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 Dandroid_media_MediaExtractor.cpp174 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 Dsf2.cpp432 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 Dstagefright.cpp575 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 DNativeWindowRenderer.cpp382 int64_t timeUs; local
383 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
384 native_window_set_buffers_timestamp(anw, timeUs * 1000);
H A DPreviewPlayer.cpp676 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 DLiveSession.cpp98 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 DESQueue.cpp124 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 DMPEG2PSExtractor.cpp634 int64_t timeUs; local
636 timeUs = (PTS * 100) / 9;
638 timeUs = 0;
641 status_t err = mQueue->appendData(data, size, timeUs);
H A DATSParser.cpp441 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 DPlaybackSession.cpp81 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 DSender.cpp361 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 DTSPacketizer.cpp400 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 DMatroskaExtractor.cpp465 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);

Completed in 3195 milliseconds

123