Searched defs:presentationTimeUs (Results 1 - 12 of 12) sorted by relevance

/frameworks/av/include/ndk/
H A DNdkMediaCodec.h47 int64_t presentationTimeUs; member in struct:AMediaCodecBufferInfo
/frameworks/av/cmds/stagefright/
H A Dcodec.cpp254 int64_t presentationTimeUs; local
257 &index, &offset, &size, &presentationTimeUs, &flags,
262 index, (long long)presentationTimeUs);
274 - (presentationTimeUs * 1000);
276 presentationTimeUs =
277 (presentationTimeUs * 1000) + startTimeRender;
279 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);
596 &frame.presentationTimeUs, &frame.flags, kTimeout);
600 frame.index, (long long)frame.presentationTimeUs);
/frameworks/base/media/java/android/media/
H A DMediaMuxer.java109 int offset, int size, long presentationTimeUs, @MediaCodec.BufferFlag int flags);
460 || bufferInfo.presentationTimeUs < 0) {
475 bufferInfo.presentationTimeUs, bufferInfo.flags);
107 nativeWriteSampleData( long nativeObject, int trackIndex, @NonNull ByteBuffer byteBuf, int offset, int size, long presentationTimeUs, @MediaCodec.BufferFlag int flags) argument
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 DMediaCodec.java610 BufferInfo#presentationTimeUs presentation timestamp} of the buffer (converted to nanoseconds).
1490 presentationTimeUs = newTimeUs;
1512 public long presentationTimeUs; field in class:MediaCodec.BufferInfo
1534 copy.set(offset, size, presentationTimeUs, flags);
2244 * {@code presentationTimeUs} was not propagated to the frame timestamp of (rendered)
2248 * synchronization, <strong>care must be taken to normalize presentationTimeUs so as to not be
2256 * @param presentationTimeUs The presentation timestamp in microseconds for this
2273 int offset, int size, long presentationTimeUs, int flags)
2281 index, offset, size, presentationTimeUs, flags);
2290 int offset, int size, long presentationTimeUs, in
2271 queueInputBuffer( int index, int offset, int size, long presentationTimeUs, int flags) argument
2288 native_queueInputBuffer( int index, int offset, int size, long presentationTimeUs, int flags) argument
2467 queueSecureInputBuffer( int index, int offset, @NonNull CryptoInfo info, long presentationTimeUs, int flags) argument
2486 native_queueSecureInputBuffer( int index, int offset, @NonNull CryptoInfo info, long presentationTimeUs, int flags) argument
3272 onFrameRendered( @onNull MediaCodec codec, long presentationTimeUs, long nanoTime) argument
[all...]
/frameworks/base/media/jni/
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.cpp340 int64_t presentationTimeUs,
345 presentationTimeUs, flags, errorDetailMsg);
331 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/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.cpp692 int64_t presentationTimeUs,
703 msg->setInt64("timeUs", presentationTimeUs);
720 int64_t presentationTimeUs,
737 msg->setInt64("timeUs", presentationTimeUs);
766 int64_t *presentationTimeUs,
781 CHECK(response->findInt64("timeUs", presentationTimeUs));
688 queueInputBuffer( size_t index, size_t offset, size_t size, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
711 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
762 dequeueOutputBuffer( size_t *index, size_t *offset, size_t *size, int64_t *presentationTimeUs, uint32_t *flags, int64_t timeoutUs) argument
/frameworks/av/media/ndk/
H A DNdkMediaCodec.cpp321 int64_t presentationTimeUs; local
322 status_t ret = mData->mCodec->dequeueOutputBuffer(&idx, &offset, &size, &presentationTimeUs,
330 info->presentationTimeUs = presentationTimeUs;
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp568 int64_t presentationTimeUs = AMediaExtractor_getSampleTime(ex); local
571 0 /* offset */, sampleSize, presentationTimeUs,

Completed in 4430 milliseconds