Home
last modified time | relevance | path

Searched refs:presentationTime (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DVideoDecoderCallback.java29 void onInputBufferAvailable(int index, int sampleSize, long presentationTime, in onInputBufferAvailable() argument
55 long presentationTime = mVideoExtractor.getSampleTime(); in onInputBufferAvailable() local
58 codec.queueInputBuffer(index, 0, sampleSize, presentationTime, flags); in onInputBufferAvailable()
60 mOnInputBufferAvailable.onInputBufferAvailable(index, sampleSize, presentationTime, in onInputBufferAvailable()
DDecodeOnlyTest.java257 long presentationTime = videoExtractor.getSampleTime(); in testNonTunneledTrickPlay()
266 expectedPresentationTimes.add(presentationTime); in testNonTunneledTrickPlay()
269 videoCodec.queueInputBuffer(index, 0, sampleSize, presentationTime, flags); in testNonTunneledTrickPlay()
372 long presentationTime = videoExtractor.getSampleTime(); in testTunneledTrickPlay()
380 expectedPresentationTimes.add(presentationTime); in testTunneledTrickPlay()
383 videoCodec.queueInputBuffer(index, 0, sampleSize, presentationTime, flags); in testTunneledTrickPlay()
512 long presentationTime = videoExtractor.getSampleTime(); in testTunneledPerfectSeek()
517 } else if (presentationTime < seekTime.get()) { in testTunneledPerfectSeek()
521 expectedPresentationTimes.add(presentationTime); in testTunneledPerfectSeek()
523 codec.queueInputBuffer(index, 0, sampleSize, presentationTime, flags); in testTunneledPerfectSeek()
[all …]
DDecoderRenderTest.java400 long presentationTime = videoExtractor.getSampleTime(); in primeVideoPipeline() local
414 videoCodec.queueInputBuffer(ipBufferId, 0, sampleSize, presentationTime, flags); in primeVideoPipeline()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio.cpp137 int64_t getLatency(const int64_t presentationTime, const int64_t presentationPosition) const { in getLatency() argument
143 const int64_t framePresentationTime = presentationTime + frameTimeDelta; in getLatency()
159 int64_t presentationTime = 0; in testTimestamp() local
163 presentationTime = 0; in testTimestamp()
166 stream(), CLOCK_MONOTONIC, &presentationPosition, &presentationTime); in testTimestamp()
171 const int64_t latencyNanos = getLatency(presentationTime, presentationPosition); in testTimestamp()
Dtest_aaudio_callback.cpp35 int64_t presentationTime = 0; in measureLatency() local
43 &presentationTime); in measureLatency()
55 int64_t calculatedTimeNanos = presentationTime + calculatedDeltaNanos; in measureLatency()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DExtractDecodeEditEncodeMuxTest.java880 long presentationTime = videoExtractor.getSampleTime(); in doExtractDecodeEditEncodeMux() local
884 Log.d(TAG, "video extractor: returned buffer for time " + presentationTime); in doExtractDecodeEditEncodeMux()
896 presentationTime, in doExtractDecodeEditEncodeMux()
919 long presentationTime = audioExtractor.getSampleTime(); in doExtractDecodeEditEncodeMux() local
923 Log.d(TAG, "audio extractor: returned buffer for time " + presentationTime); in doExtractDecodeEditEncodeMux()
935 presentationTime, in doExtractDecodeEditEncodeMux()
1079 long presentationTime = audioDecoderOutputBufferInfo.presentationTimeUs; in doExtractDecodeEditEncodeMux() local
1086 Log.d(TAG, "audio decoder: pending buffer for time " + presentationTime); in doExtractDecodeEditEncodeMux()
1101 presentationTime, in doExtractDecodeEditEncodeMux()
/cts/tests/tests/media/decoder/jni/
Dnative-media-jni.cpp598 int64_t presentationTime = AMediaExtractor_getSampleTime(extractor); in testNonTunneledTrickPlay() local
607 expectedPresentationTimes.push_back(presentationTime); in testNonTunneledTrickPlay()
610 AMediaCodec_queueInputBuffer(codec, id, 0, sampleSize, presentationTime, flags); in testNonTunneledTrickPlay()