Searched refs:timeUs (Results 51 - 75 of 81) sorted by relevance

1234

/frameworks/av/media/libstagefright/include/
H A DLiveSession.h49 void seekTo(int64_t timeUs);
H A DAwesomePlayer.h96 status_t seekTo(int64_t timeUs);
249 status_t seekTo_l(int64_t timeUs);
H A DFragmentedMP4Parser.h51 status_t seekTo(bool audio, int64_t timeUs);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DSender.h54 void queuePackets(int64_t timeUs, const sp<ABuffer> &packets);
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
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java240 public native void seekTo(long timeUs, int mode); argument
/frameworks/av/media/libstagefright/mpeg2ts/
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...]
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);
/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 DMyHandler.h180 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);
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp280 void trackProgressStatus(int64_t timeUs, status_t err = OK);
1210 void MPEG4Writer::setStartTimestampUs(int64_t timeUs) { argument
1211 ALOGI("setStartTimestampUs: %lld", timeUs);
1212 CHECK_GE(timeUs, 0ll);
1214 if (mStartTimestampUs < 0 || mStartTimestampUs > timeUs) {
1215 mStartTimestampUs = timeUs;
1415 int64_t timeUs; local
1416 if (params && params->findInt64(kKeyTrackTimeStatus, &timeUs)) {
1417 ALOGV("Receive request to track progress status for every %lld us", timeUs);
1418 mTrackEveryTimeDurationUs = timeUs;
1961 int64_t timeUs = (driftTimeUs + prevDriftTimeUs) >> 1; local
2389 trackProgressStatus(int64_t timeUs, status_t err) argument
2400 trackProgressStatus( size_t trackId, int64_t timeUs, status_t err) argument
[all...]
H A DCameraSource.cpp844 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local
845 mFrameTimes.push_back(timeUs);
847 mStartTimeUs, timeUs);
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 DNuMediaExtractor.cpp385 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) {
388 ssize_t minIndex = fetchTrackSamples(timeUs, mode);
384 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorSRC.cpp170 int64_t timeUs = mInitialTimeStampUs + totalOutDurationUs; local
171 to->setInt64(kKeyTime, timeUs);
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);
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.h162 status_t setParamTimeBetweenTimeLapseFrameCapture(int64_t timeUs);
173 status_t setParamMaxFileDurationUs(int64_t timeUs);
/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/cmds/stagefright/
H A Dcodec.cpp175 int64_t timeUs; local
176 err = extractor->getSampleTime(&timeUs);
185 timeUs,
211 0ll /* timeUs */,
H A DSimplePlayer.cpp490 int64_t timeUs; local
491 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK);
497 timeUs,
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/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
/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 280 milliseconds

1234