Searched refs:presentationTimeUs (Results 1 - 25 of 25) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DTrackDecoder.java111 long presentationTimeUs = 0;
127 presentationTimeUs = mediaExtractor.getSampleTime();
132 presentationTimeUs,
H A DAudioTrackDecoder.java86 mAudioPresentationTimeUs = info.presentationTimeUs;
H A DGpuVideoTrackDecoder.java110 mCurrentPresentationTimeUs = info.presentationTimeUs;
H A DCpuVideoTrackDecoder.java83 mCurrentPresentationTimeUs = info.presentationTimeUs;
/frameworks/base/media/java/android/media/
H A DMediaSync.java178 long presentationTimeUs) {
181 mPresentationTimeUs = presentationTimeUs;
502 * @param presentationTimeUs the presentation timestamp in microseconds for the first frame
508 @NonNull ByteBuffer audioData, int bufferId, long presentationTimeUs) {
515 mAudioBuffers.add(new AudioBuffer(audioData, bufferId, presentationTimeUs));
575 int sizeInBytes, long presentationTimeUs);
177 AudioBuffer(@onNull ByteBuffer byteBuffer, int bufferId, long presentationTimeUs) argument
507 queueAudio( @onNull ByteBuffer audioData, int bufferId, long presentationTimeUs) argument
574 native_updateQueuedAudioData( int sizeInBytes, long presentationTimeUs) argument
H A DMediaMuxer.java106 metaInfo.presentationTimeUs = currentVideoTrackTimeUs;
291 int offset, int size, long presentationTimeUs, @MediaCodec.BufferFlag int flags);
662 || bufferInfo.presentationTimeUs < 0) {
677 bufferInfo.presentationTimeUs, bufferInfo.flags);
289 nativeWriteSampleData( long nativeObject, int trackIndex, @NonNull ByteBuffer byteBuf, int offset, int size, long presentationTimeUs, @MediaCodec.BufferFlag int flags) argument
H A DMediaCodec.java613 BufferInfo#presentationTimeUs presentation timestamp} of the buffer (converted to nanoseconds).
1494 presentationTimeUs = newTimeUs;
1516 public long presentationTimeUs; field in class:MediaCodec.BufferInfo
1538 copy.set(offset, size, presentationTimeUs, flags);
2298 * {@code presentationTimeUs} was not propagated to the frame timestamp of (rendered)
2302 * synchronization, <strong>care must be taken to normalize presentationTimeUs so as to not be
2310 * @param presentationTimeUs The presentation timestamp in microseconds for this
2327 int offset, int size, long presentationTimeUs, int flags)
2335 index, offset, size, presentationTimeUs, flags);
2344 int offset, int size, long presentationTimeUs, in
2325 queueInputBuffer( int index, int offset, int size, long presentationTimeUs, int flags) argument
2342 native_queueInputBuffer( int index, int offset, int size, long presentationTimeUs, int flags) argument
2521 queueSecureInputBuffer( int index, int offset, @NonNull CryptoInfo info, long presentationTimeUs, int flags) argument
2540 native_queueSecureInputBuffer( int index, int offset, @NonNull CryptoInfo info, long presentationTimeUs, int flags) argument
3343 onFrameRendered( @onNull MediaCodec codec, long presentationTimeUs, long nanoTime) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaSync.h41 status_t updateQueuedAudioData(int sizeInBytes, int64_t presentationTimeUs);
H A Dandroid_media_MediaCodec.h91 int64_t presentationTimeUs,
H A Dandroid_media_MediaSync.cpp110 int sizeInBytes, int64_t presentationTimeUs) {
111 return mSync->updateQueuedAudioData(sizeInBytes, presentationTimeUs);
258 JNIEnv *env, jobject thiz, jint sizeInBytes, jlong presentationTimeUs) {
265 status_t err = sync->updateQueuedAudioData(sizeInBytes, presentationTimeUs);
109 updateQueuedAudioData( int sizeInBytes, int64_t presentationTimeUs) argument
257 android_media_MediaSync_native_updateQueuedAudioData( JNIEnv *env, jobject thiz, jint sizeInBytes, jlong presentationTimeUs) argument
H A Dandroid_media_MediaCodec.cpp347 int64_t presentationTimeUs,
352 presentationTimeUs, flags, errorDetailMsg);
338 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
/frameworks/av/cmds/stagefright/
H A Dcodec.cpp256 int64_t presentationTimeUs; local
259 &index, &offset, &size, &presentationTimeUs, &flags,
264 index, (long long)presentationTimeUs);
276 - (presentationTimeUs * 1000);
278 presentationTimeUs =
279 (presentationTimeUs * 1000) + startTimeRender;
281 index, presentationTimeUs);
H A Dmediafilter.cpp145 int64_t presentationTimeUs; member in struct:android::DecodedFrame
259 int64_t presentationTimeUs; local
262 &index, &offset, &size, &presentationTimeUs, &flags,
281 + 33000000 - (presentationTimeUs * 1000);
283 presentationTimeUs =
284 (presentationTimeUs * 1000) + *startTimeRender;
286 index, presentationTimeUs);
598 &frame.presentationTimeUs, &frame.flags, kTimeout);
602 frame.index, (long long)frame.presentationTimeUs);
/frameworks/av/include/ndk/
H A DNdkMediaCodec.h50 int64_t presentationTimeUs; member in struct:AMediaCodecBufferInfo
/frameworks/av/media/ndk/
H A DNdkMediaMuxer.cpp103 muxer->mImpl->writeSampleData(buf, trackIdx, info->presentationTimeUs, info->flags));
H A DNdkMediaCodec.cpp339 int64_t presentationTimeUs; local
340 status_t ret = mData->mCodec->dequeueOutputBuffer(&idx, &offset, &size, &presentationTimeUs,
348 info->presentationTimeUs = presentationTimeUs;
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h135 int64_t presentationTimeUs,
148 int64_t presentationTimeUs,
158 int64_t *presentationTimeUs,
H A DMediaSync.h97 size_t sizeInBytes, int64_t presentationTimeUs);
/frameworks/av/media/libstagefright/foundation/include/
H A DMediaCodec.h135 int64_t presentationTimeUs,
148 int64_t presentationTimeUs,
158 int64_t *presentationTimeUs,
H A DMediaSync.h97 size_t sizeInBytes, int64_t presentationTimeUs);
/frameworks/av/media/libstagefright/include/
H A DMediaCodec.h135 int64_t presentationTimeUs,
148 int64_t presentationTimeUs,
158 int64_t *presentationTimeUs,
H A DMediaSync.h97 size_t sizeInBytes, int64_t presentationTimeUs);
/frameworks/av/media/libstagefright/
H A DMediaSync.cpp295 size_t sizeInBytes, int64_t presentationTimeUs) {
308 int64_t maxMediaTimeUs = presentationTimeUs
312 int64_t nowMediaUs = presentationTimeUs
294 updateQueuedAudioData( size_t sizeInBytes, int64_t presentationTimeUs) argument
H A DMediaCodec.cpp1005 int64_t presentationTimeUs,
1016 msg->setInt64("timeUs", presentationTimeUs);
1033 int64_t presentationTimeUs,
1050 msg->setInt64("timeUs", presentationTimeUs);
1079 int64_t *presentationTimeUs,
1094 CHECK(response->findInt64("timeUs", presentationTimeUs));
1001 queueInputBuffer( size_t index, size_t offset, size_t size, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
1024 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
1075 dequeueOutputBuffer( size_t *index, size_t *offset, size_t *size, int64_t *presentationTimeUs, uint32_t *flags, int64_t timeoutUs) argument
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp582 int64_t presentationTimeUs = AMediaExtractor_getSampleTime(ex); local
585 0 /* offset */, sampleSize, presentationTimeUs,

Completed in 175 milliseconds