Searched refs:timeUs (Results 76 - 97 of 97) sorted by relevance

1234

/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp691 int64_t timeUs; local
693 timeUs = (PTS * 100) / 9;
695 timeUs = 0;
698 status_t err = mQueue->appendData(data, size, timeUs);
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.h73 size_t offset, size_t size, int64_t timeUs, uint32_t flags,
H A Dandroid_media_MediaCodec.cpp325 size_t offset, size_t size, int64_t timeUs, uint32_t flags,
328 index, offset, size, timeUs, flags, errorDetailMsg);
355 int64_t timeUs; local
358 index, &offset, &size, &timeUs, &flags, timeoutUs);
368 env->CallVoidMethod(bufferInfo, method, (jint)offset, (jint)size, timeUs, flags);
537 if (!input && buffer->meta()->findInt64("timeUs", &timestamp)) {
687 int64_t timeUs; local
691 CHECK(msg->findInt64("timeUs", &timeUs));
710 env->CallVoidMethod(obj, method, (jint)offset, (jint)size, timeUs, flag
323 queueInputBuffer( size_t index, size_t offset, size_t size, int64_t timeUs, uint32_t flags, AString *errorDetailMsg) argument
[all...]
H A Dandroid_media_MediaExtractor.cpp127 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) {
128 return mImpl->seekTo(timeUs, mode);
368 JNIEnv *env, jobject thiz, jlong timeUs, jint mode) {
382 extractor->seekTo(timeUs, (MediaSource::ReadOptions::SeekMode)mode);
126 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
367 android_media_MediaExtractor_seekTo( JNIEnv *env, jobject thiz, jlong timeUs, jint mode) argument
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp462 int64_t timeUs; local
463 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
873 uint64_t PTS = (timeUs * 9ll) / 100ll;
1044 int64_t timeUs; local
1045 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
1049 accessUnit2->meta()->setInt64("timeUs", timeUs);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp491 int64_t timeUs; local
492 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK);
498 timeUs,
H A Dsf2.cpp455 outBuffer->meta()->setInt64("timeUs", 0);
505 int64_t timeUs; local
506 CHECK(inBuffer->meta_data()->findInt64(kKeyTime, &timeUs));
508 outBuffer->meta()->setInt64("timeUs", timeUs);
H A Dstagefright.cpp585 int64_t timeUs; local
586 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
589 seekTimeUs, timeUs, seekTimeUs - timeUs);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.cpp290 msg->setInt64("timeUs", seekTimeUs);
398 CHECK(msg->findInt64("timeUs", &seekTimeUs));
466 int64_t timeUs; local
467 CHECK(msg->findInt64("time", &timeUs));
468 mHandler->continueSeekAfterPause(timeUs);
547 accessUnit->meta()->setInt64("timeUs", nptUs);
H A DNuPlayer.h78 status_t selectTrack(size_t trackIndex, bool select, int64_t timeUs);
/frameworks/av/media/libstagefright/
H A DMediaSync.cpp280 double timeUs = numPendingFrames * 1000000.0 local
282 if (timeUs > (double)INT64_MAX) {
288 *outTimeUs = (int64_t)timeUs;
H A DMediaCodec.cpp703 msg->setInt64("timeUs", presentationTimeUs);
737 msg->setInt64("timeUs", presentationTimeUs);
781 CHECK(response->findInt64("timeUs", presentationTimeUs));
1056 int64_t timeUs; local
1057 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
1059 response->setInt64("timeUs", timeUs);
2319 msg->setInt64("timeUs", 0ll);
2434 int64_t timeUs; local
2771 int64_t timeUs; local
[all...]
H A DFLACExtractor.cpp699 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate(); local
700 buffer->meta_data()->setInt64(kKeyTime, timeUs);
H A DNuMediaExtractor.cpp440 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) {
443 ssize_t minIndex = fetchTrackSamples(timeUs, mode);
439 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
H A DACodec.cpp257 int64_t timeUs,
5517 int64_t timeUs; local
5522 CHECK(msg->findInt64("timestamp", &timeUs));
5529 timeUs,
5724 int64_t timeUs; local
5725 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
5772 mCodec->mComponentName.c_str(), bufferID, (long long)timeUs);
5775 mCodec->mComponentName.c_str(), bufferID, (long long)timeUs);
5783 mCodec->mBufferStats.add(timeUs, stat
5931 onOMXFillBufferDone( IOMX::buffer_id bufferID, size_t rangeOffset, size_t rangeLength, OMX_U32 flags, int64_t timeUs, int fenceFd) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.h181 status_t setParamMaxFileDurationUs(int64_t timeUs);
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java494 public native void seekTo(long timeUs, @SeekMode int mode); argument
H A DMediaPlayer.java3678 long timeUs = getCurrentTimeUs(true, false);
3679 if (DEBUG) Log.d(TAG, "onSeekComplete at " + timeUs);
3685 listener.onSeek(timeUs);
3737 long timeUs, MediaTimeProvider.OnMediaTimeListener listener) {
3739 if (DEBUG) Log.d(TAG, "notifyAt " + timeUs);
3740 mTimes[registerListener(listener)] = timeUs;
3736 notifyAt( long timeUs, MediaTimeProvider.OnMediaTimeListener listener) argument
/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/matroska/
H A DMatroskaExtractor.cpp605 int64_t timeUs = mBlockIter.blockTimeUs(); local
611 mbuf->meta_data()->setInt64(kKeyTime, timeUs);
762 int64_t timeUs; local
763 CHECK(frame->meta_data()->findInt64(kKeyTime, &timeUs));
767 buffer->meta_data()->setInt64(kKeyTime, timeUs);
/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp254 info.mData->meta()->setInt64("timeUs", 0);
415 int64_t timeUs; local
416 CHECK(inputInfo->mData->meta()->findInt64("timeUs", &timeUs));
417 outputInfo->mData->meta()->setInt64("timeUs", timeUs);
780 inputInfo->mData->meta()->setInt64("timeUs", item.mTimestamp / 1000);
/frameworks/av/media/libstagefright/rtsp/
H A DMyTransmitter.h641 int64_t timeUs; local
642 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs));
644 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll);

Completed in 391 milliseconds

1234