Searched defs:timeUs (Results 51 - 73 of 73) sorted by relevance

123

/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp162 int64_t timeUs; local
168 CHECK(msg->findInt64("timeUs", &timeUs));
171 handleAnOutputBuffer(index, offset, size, timeUs, flags);
698 int64_t timeUs,
719 buffer->meta()->setInt64("timeUs", timeUs);
734 if (timeUs < mSkipRenderingUntilMediaTimeUs) {
736 mComponentName.c_str(), (long long)timeUs);
936 CHECK(accessUnit->meta()->findInt64("timeUs",
694 handleAnOutputBuffer( size_t index, size_t offset, size_t size, int64_t timeUs, int32_t flags) argument
1000 int64_t timeUs = 0; local
1096 int64_t timeUs; local
[all...]
H A DGenericSource.cpp624 int64_t timeUs, actualTimeUs; local
627 timeUs = mAudioLastDequeueTimeUs;
629 timeUs = mVideoLastDequeueTimeUs;
631 readBuffer(trackType, timeUs, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */,
635 ALOGV("timeUs %lld actualTimeUs %lld", (long long)timeUs, (long long)actualTimeUs);
729 int64_t timeUs; local
730 CHECK(msg->findInt64("timeUs", &timeUs));
733 readBuffer(type, timeUs, MediaPlayerSeekMod
897 int64_t timeUs; local
1067 selectTrack(size_t trackIndex, bool select, int64_t timeUs) argument
1085 int64_t timeUs; local
1099 doSelectTrack(size_t trackIndex, bool select, int64_t timeUs) argument
1304 int64_t timeUs; local
1450 int64_t timeUs; local
1627 updateQueuedTime(bool isAudio, int64_t timeUs) argument
[all...]
H A DNuPlayer.cpp677 int64_t timeUs; local
680 CHECK(msg->findInt64("timeUs", &timeUs));
694 err = mSource->selectTrack(trackIndex, select, timeUs);
2063 status_t NuPlayer::selectTrack(size_t trackIndex, bool select, int64_t timeUs) { argument
2067 msg->setInt64("timeUs", timeUs);
2527 int64_t timeUs, posUs; local
2530 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
2602 int64_t timeUs, durationUs; local
2619 int64_t timeUs; local
2634 int64_t timeUs; local
[all...]
/frameworks/av/media/libstagefright/
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 DCameraSource.cpp1152 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local
1153 mFrameTimes.push_back(timeUs);
1155 mStartTimeUs, timeUs);
1218 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local
1219 mFrameTimes.push_back(timeUs);
1220 ALOGV("initial delay: %" PRId64 ", current time stamp: %" PRId64, mStartTimeUs, timeUs);
1266 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local
1267 mFrameTimes.push_back(timeUs);
1268 ALOGV("initial delay: %" PRId64 ", current time stamp: %" PRId64, mStartTimeUs, timeUs);
1360 int64_t timeUs local
[all...]
H A DFLACExtractor.cpp702 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate(); local
703 buffer->meta_data()->setInt64(kKeyTime, timeUs);
H A DMediaCodec.cpp1016 msg->setInt64("timeUs", presentationTimeUs);
1050 msg->setInt64("timeUs", presentationTimeUs);
1094 CHECK(response->findInt64("timeUs", presentationTimeUs));
1372 int64_t timeUs; local
1373 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
1375 response->setInt64("timeUs", timeUs);
2611 msg->setInt64("timeUs", 0ll);
2714 int64_t timeUs; local
3030 int64_t timeUs; local
[all...]
H A DOggExtractor.cpp83 status_t seekToTime(int64_t timeUs);
279 int64_t timeUs;
280 if (packet->meta_data()->findInt64(kKeyTime, &timeUs)) {
281 ALOGI("found time = %lld us", timeUs);
413 status_t MyOggExtractor::seekToTime(int64_t timeUs) { argument
414 timeUs -= mSeekPreRollUs;
415 if (timeUs < 0) {
416 timeUs = 0;
426 off64_t pos = timeUs * bps / 8000000ll;
439 if (timeUs < entr
614 int64_t timeUs = getTimeUsOfGranule(mCurGranulePosition); local
672 int64_t timeUs = -1; local
[all...]
H A DMPEG4Writer.cpp366 void trackProgressStatus(int64_t timeUs, status_t err = OK);
1584 void MPEG4Writer::setStartTimestampUs(int64_t timeUs) { argument
1585 ALOGI("setStartTimestampUs: %" PRId64, timeUs);
1586 CHECK_GE(timeUs, 0ll);
1588 if (mStartTimestampUs < 0 || mStartTimestampUs > timeUs) {
1589 mStartTimestampUs = timeUs;
1879 int64_t timeUs; local
1880 if (params && params->findInt64(kKeyTrackTimeStatus, &timeUs)) {
1881 ALOGV("Receive request to track progress status for every %" PRId64 " us", timeUs);
1882 mTrackEveryTimeDurationUs = timeUs;
2516 int64_t timeUs = (driftTimeUs + prevDriftTimeUs) >> 1; local
3094 trackProgressStatus(int64_t timeUs, status_t err) argument
3105 trackProgressStatus( size_t trackId, int64_t timeUs, status_t err) argument
[all...]
H A DACodec.cpp280 int64_t timeUs,
5540 int64_t timeUs; local
5545 CHECK(msg->findInt64("timestamp", &timeUs));
5552 timeUs,
5726 int64_t timeUs; local
5727 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
5777 mCodec->mComponentName.c_str(), bufferID, (long long)timeUs);
5780 mCodec->mComponentName.c_str(), bufferID, (long long)timeUs);
5788 mCodec->mBufferStats.add(timeUs, stat
5928 onOMXFillBufferDone( IOMX::buffer_id bufferID, size_t rangeOffset, size_t rangeLength, OMX_U32 flags, int64_t timeUs, int fenceFd) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp103 const void *data, ssize_t size, bool timeValid, int64_t timeUs);
692 const void *data, ssize_t size, bool timeValid, int64_t timeUs) {
770 frag.mTimeUs = timeUs;
1207 bool timeValid, int64_t timeUs) {
1218 status_t err = session->sendRequest(data, size, timeValid, timeUs);
691 sendRequest( const void *data, ssize_t size, bool timeValid, int64_t timeUs) argument
1205 sendRequest( int32_t sessionID, const void *data, ssize_t size, bool timeValid, int64_t timeUs) argument
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp275 const void *data, size_t size, int64_t timeUs,
480 info.mTimestampUs = timeUs;
487 ALOGI("size = %zu, timeUs = %.2f secs", size, timeUs / 1E6);
538 int64_t timeUs = fetchTimestamp(nextScan, &pesOffset, &pesScramblingControl); local
539 if (timeUs < 0ll) {
540 ALOGE("Negative timeUs");
591 scrambledAccessUnit->meta()->setInt64("timeUs", timeUs);
610 ALOGV("[stream %d] dequeued scrambled AU: timeUs
274 appendData( const void *data, size_t size, int64_t timeUs, int32_t payloadOffset, uint32_t pesScramblingControl) argument
702 int64_t timeUs = fetchTimestamp(syncStartPos + payloadSize); local
775 int64_t timeUs = fetchTimestamp(payloadSize + 4); local
940 int64_t timeUs = fetchTimestamp(offset); local
957 int64_t timeUs = -1; local
1153 int64_t timeUs = fetchTimestamp(nextScan); local
1233 int64_t timeUs = fetchTimestamp(frameSize); local
1439 int64_t timeUs = fetchTimestamp(offset); local
1631 int64_t timeUs = fetchTimestamp(offset); local
1696 int64_t timeUs = fetchTimestamp(size); local
[all...]
H A DATSParser.cpp272 int64_t timeUs, SourceType type) {
276 mTimeUs = timeUs;
679 int64_t timeUs = (PTS * 100) / 9; local
682 timeUs += mParser->mAbsoluteTimeAnchorUs;
686 timeUs += mParser->mTimeOffsetUs;
689 return timeUs;
1488 int64_t timeUs = 0ll; // no presentation timestamp available. local
1490 timeUs = mProgram->convertPTSToTimestamp(PTS);
1494 data, size, timeUs, payloadOffset, PES_scrambling_control);
1548 int64_t timeUs; local
271 init(off64_t offset, const sp<MediaSource> &source, int64_t timeUs, SourceType type) argument
1672 int64_t timeUs; local
[all...]
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.cpp631 int64_t timeUs = item.mTimestampNs / 1000; local
632 if (mFrameDropper != NULL && mFrameDropper->shouldDrop(timeUs)) {
633 ALOGV("skipping frame (%lld) to meet max framerate", static_cast<long long>(timeUs));
717 int64_t timeUs = bufferTimeNs / 1000; local
718 timeUs += mInputBufferTimeOffsetUs;
726 mPrevCaptureUs = mBaseCaptureUs = timeUs;
729 std::llround((timeUs * mCaptureFps) / mFps);
734 (timeUs - mPrevCaptureUs) * mCaptureFps);
737 ALOGV("skipping frame, timeUs %lld", static_cast<long long>(timeUs));
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.cpp84 bool hasOutputBuffer(int64_t *timeUs) const;
297 int64_t *timeUs) const {
298 *timeUs = 0ll;
306 CHECK(outputBuffer->meta()->findInt64("timeUs", timeUs));
856 int64_t timeUs; local
857 CHECK_EQ((status_t)OK, mExtractor->getSampleTime(&timeUs));
860 "timeUs", mFirstSampleTimeRealUs + timeUs - mFirstSampleTimeUs);
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp133 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) {
134 return mImpl->seekTo(timeUs, mode);
381 JNIEnv *env, jobject thiz, jlong timeUs, jint mode) {
395 extractor->seekTo(timeUs, (MediaSource::ReadOptions::SeekMode)mode);
132 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
380 android_media_MediaExtractor_seekTo( JNIEnv *env, jobject thiz, jlong timeUs, jint mode) argument
H A Dandroid_media_MediaCodec.cpp332 size_t offset, size_t size, int64_t timeUs, uint32_t flags,
335 index, offset, size, timeUs, flags, errorDetailMsg);
362 int64_t timeUs; local
365 index, &offset, &size, &timeUs, &flags, timeoutUs);
375 env->CallVoidMethod(bufferInfo, method, (jint)offset, (jint)size, timeUs, flags);
545 if (!input && buffer->meta()->findInt64("timeUs", &timestamp)) {
701 int64_t timeUs; local
705 CHECK(msg->findInt64("timeUs", &timeUs));
724 env->CallVoidMethod(obj, method, (jint)offset, (jint)size, timeUs, flag
330 queueInputBuffer( size_t index, size_t offset, size_t size, int64_t timeUs, uint32_t flags, AString *errorDetailMsg) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp545 status_t StagefrightRecorder::setParamMaxFileDurationUs(int64_t timeUs) { argument
546 ALOGV("setParamMaxFileDurationUs: %lld us", (long long)timeUs);
549 if (timeUs <= 0) {
551 (long long)timeUs);
552 timeUs = 0; // Disable the duration limit for zero or negative values.
553 } else if (timeUs <= 100000LL) { // XXX: 100 milli-seconds
554 ALOGE("Max file duration is too short: %lld us", (long long)timeUs);
558 if (timeUs <= 15 * 1000000LL) {
559 ALOGW("Target duration (%lld us) too short to be respected", (long long)timeUs);
561 mMaxFileDurationUs = timeUs;
1941 int64_t timeUs = source->getFirstSampleSystemTimeUs(); local
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp321 int64_t firstTimeUs, int64_t timeUs, int32_t discontinuitySeq) {
322 if (timeUs >= firstTimeUs) {
323 timeUs -= firstTimeUs;
325 timeUs = 0;
327 timeUs += mLastSeekTimeUs;
329 timeUs += mDiscontinuityOffsetTimesUs.valueFor(discontinuitySeq);
331 return timeUs;
383 int64_t timeUs, originalTimeUs; local
386 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
320 calculateMediaTimeUs( int64_t firstTimeUs, int64_t timeUs, int32_t discontinuitySeq) argument
453 int64_t timeUs = calculateMediaTimeUs(firstTimeUs, mdTime.mTimeUs, mdTime.mSeq); local
523 seekTo(int64_t timeUs, MediaPlayerSeekMode mode) argument
1228 resumeFetcher( const AString &uri, uint32_t streamMask, int64_t timeUs, bool newUri) argument
1455 int64_t timeUs; local
1536 changeConfiguration( int64_t timeUs, ssize_t bandwidthIndex, bool pickTrack) argument
1667 int64_t timeUs; local
1780 int64_t timeUs; local
[all...]
H A DPlaylistFetcher.cpp988 CHECK(meta->findInt64("timeUs", &tmpUs));
1616 int32_t PlaylistFetcher::getSeqNumberForTime(int64_t timeUs) const {
1627 if (timeUs < segmentStartUs + itemDurationUs) {
1664 bool PlaylistFetcher::isStartTimeReached(int64_t timeUs) { argument
1666 mFirstTimeUs = timeUs;
1671 FLOGV("startTimeUsRelative, timeUs (%lld) - %lld = %lld",
1672 (long long)timeUs,
1674 (long long)(timeUs - mFirstTimeUs));
1675 timeUs -= mFirstTimeUs;
1676 if (timeUs <
1749 int64_t timeUs; local
1816 int64_t timeUs; local
2078 int64_t timeUs = (PTS * 100ll) / 9ll; local
[all...]
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp615 int64_t timeUs = mBlockIter.blockTimeUs(); local
632 mbuf->meta_data()->setInt64(kKeyTime, timeUs);
783 int64_t timeUs; local
784 CHECK(frame->meta_data()->findInt64(kKeyTime, &timeUs));
788 buffer->meta_data()->setInt64(kKeyTime, timeUs);
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h222 void seek(int64_t timeUs) { argument
224 msg->setInt64("time", timeUs);
229 void continueSeekAfterPause(int64_t timeUs) { argument
231 msg->setInt64("time", timeUs);
1177 int64_t timeUs; local
1178 CHECK(msg->findInt64("time", &timeUs));
1188 reply->setInt64("time", timeUs);
1216 int64_t timeUs; local
1217 CHECK(msg->findInt64("time", &timeUs));
1222 notify->setInt64("time", timeUs);
1247 int64_t timeUs; local
[all...]
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java5260 long timeUs = getCurrentTimeUs(true, false);
5261 if (DEBUG) Log.d(TAG, "onSeekComplete at " + timeUs);
5267 listener.onSeek(timeUs);
5319 long timeUs, MediaTimeProvider.OnMediaTimeListener listener) {
5321 if (DEBUG) Log.d(TAG, "notifyAt " + timeUs);
5322 mTimes[registerListener(listener)] = timeUs;
5318 notifyAt( long timeUs, MediaTimeProvider.OnMediaTimeListener listener) argument

Completed in 290 milliseconds

123