Home
last modified time | relevance | path

Searched refs:presentationTimeUs (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DCodecState.java335 mMediaTimeProvider.getRealTimeUsForMediaTime(info.presentationTimeUs); in drainOutputBuffer()
348 mAudioTrack.write(audioBuffer, info.size, info.presentationTimeUs*1000); in drainOutputBuffer()
352 mPresentationTimeUs = info.presentationTimeUs; in drainOutputBuffer()
369 mPresentationTimeUs = info.presentationTimeUs; in drainOutputBuffer()
DAdaptivePlaybackTest.java881 public void onFrameRendered(MediaCodec codec, long presentationTimeUs, long nanoTime) {
883 if (!mRenderedTimeStamps.remove(presentationTimeUs)) {
884 warn("invalid timestamp " + presentationTimeUs + ", queued " +
976 " @" + info.presentationTimeUs + "}");
1002 mRenderedTimeStamps.add(info.presentationTimeUs);
1003 if (!mTimeStamps.remove(info.presentationTimeUs)) {
1004 warn("invalid timestamp " + info.presentationTimeUs + ", queued " +
1010 info.presentationTimeUs, info.flags, sum);
1033 long presentationTimeUs = adjustTimeUs;
1037 presentationTimeUs += frame.presentationTimeUs;
[all …]
DVideoEncoderTest.java88 savedInfo.set(0, savedBuffer.position(), info.presentationTimeUs, info.flags); in addBuffer()
121 ix, 0, info.size, info.presentationTimeUs, info.flags); in play()
346 + info.presentationTimeUs); in fillDecoderInputBuffer()
348 ix, 0, mBuffer.limit(), info.presentationTimeUs, 0); in fillDecoderInputBuffer()
359 + ", ts=" + info.presentationTimeUs + ")"); in emptyEncoderOutputBuffer()
524 + ", ts=" + info.presentationTimeUs + ")"); in onOutputBufferAvailable()
574 + ", ts=" + decBuffer.second.presentationTimeUs + ")"); in renderDecodedBuffer()
576 encBuffer, 0, mEncInputBufferSize, decBuffer.second.presentationTimeUs, in renderDecodedBuffer()
701 Log.d(TAG, "encoding frame at " + info.presentationTimeUs * 1000); in processLoop()
703 mEncSurface.setPresentationTime(info.presentationTimeUs * 1000); in processLoop()
[all …]
DExtractDecodeEditEncodeMuxTest.java919 + videoDecoderOutputBufferInfo.presentationTimeUs); in doExtractDecodeEditEncodeMux()
930 videoDecoderOutputBufferInfo.presentationTimeUs * 1000); in doExtractDecodeEditEncodeMux()
988 + audioDecoderOutputBufferInfo.presentationTimeUs); in doExtractDecodeEditEncodeMux()
1016 long presentationTime = audioDecoderOutputBufferInfo.presentationTimeUs; in doExtractDecodeEditEncodeMux()
1092 + videoEncoderOutputBufferInfo.presentationTimeUs); in doExtractDecodeEditEncodeMux()
1150 + audioEncoderOutputBufferInfo.presentationTimeUs); in doExtractDecodeEditEncodeMux()
DDecoderTest.java281 info.presentationTimeUs > lastPresentationTimeUsFromDecoder); in testBFrames()
283 lastPresentationTimeUsFromDecoder = info.presentationTimeUs; in testBFrames()
1315 long presentationTimeUs = 0;
1329 presentationTimeUs = extractor.getSampleTime();
1335 presentationTimeUs,
1352 timestamps.add(info.presentationTimeUs);
2165 long presentationTimeUs = extractor.getSampleTime();
2181 -1, presentationTimeUs);
2185 timestamps.add(presentationTimeUs);
2196 presentationTimeUs,
[all …]
DDecodeEditEncodeTest.java328 output.addChunk(encodedData, info.flags, info.presentationTimeUs); in generateVideoData()
526 outputData.addChunk(encodedData, info.flags, info.presentationTimeUs); in editVideoData()
577 inputSurface.setPresentationTime(info.presentationTimeUs * 1000); in editVideoData()
723 info.presentationTimeUs); in checkVideoData()
DMediaSyncTest.java785 info.presentationTimeUs); in onOutputBufferAvailable()
787 && info.presentationTimeUs >= mStartingAudioTimestampUs) { in onOutputBufferAvailable()
792 codec.releaseOutputBuffer(index, info.presentationTimeUs * 1000); in onOutputBufferAvailable()
DMediaMuxerTest.java244 bufferInfo.presentationTimeUs = extractor.getSampleTime(); in cloneMediaUsingMuxer()
255 "PresentationTimeUs:" + bufferInfo.presentationTimeUs + in cloneMediaUsingMuxer()
DEncodeDecodeTest.java736 info.presentationTimeUs, info.flags); in doEncodeDecodeVideoFromBuffer()
805 info.presentationTimeUs); in doEncodeDecodeVideoFromBuffer()
838 info.presentationTimeUs); in doEncodeDecodeVideoFromBuffer()
967 info.presentationTimeUs); in doEncodeDecodeVideoFromSurfaceToSurface()
1033 info.presentationTimeUs, info.flags); in doEncodeDecodeVideoFromSurfaceToSurface()
DImageReaderDecoderTest.java504 long presentationTimeUs = 0; in decodeFramesToImage() local
511 presentationTimeUs = extractor.getSampleTime(); in decodeFramesToImage()
518 presentationTimeUs, in decodeFramesToImage()
DVp8CodecTestBase.java632 outPresentationTimeUs = bufferInfo.presentationTimeUs; in decode()
889 mOutPresentationTimeUs = info.presentationTimeUs;
1122 mOutPresentationTimeUs = mBufferInfo.presentationTimeUs; in getOutputInternal()
1777 currentSecond = (int)(info.presentationTimeUs / 1000000); in computeEncodingStatistics()
1780 nextSecond = (int)(bufferInfos.get(j+1).presentationTimeUs / 1000000); in computeEncodingStatistics()
1807 int duration = (int)(bufferInfos.get(bufferInfos.size() - 1).presentationTimeUs / 1000); in computeEncodingStatistics()
DNativeDecoderTest.java275 long presentationTimeUs = ex.getSampleTime(); in getDecodedData() local
277 codec[t].queueInputBuffer(bufidx, 0, sampleSize, presentationTimeUs, in getDecodedData()
DVideoDecoderPerfTest.java183 long presentationTimeUs = inputNum * 1000000L / frameRate; in doDecode() local
196 presentationTimeUs, in doDecode()
DEncodeVirtualDisplayTest.java432 info.presentationTimeUs, info.flags); in doTestEncodeVirtual()
DEncodeVirtualDisplayWithCompositionTest.java284 info.presentationTimeUs, info.flags); in doTestRenderingOutput()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp278 int64_t presentationTimeUs = AMediaExtractor_getSampleTime(ex); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local
280 AMediaCodec_queueInputBuffer(codec[t], bufidx, 0, sampleSize, presentationTimeUs, in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
422 int64_t presentationTimeUs = AMediaExtractor_getSampleTime(ex); in Java_android_media_cts_NativeDecoderTest_testPlaybackNative() local
424 AMediaCodec_queueInputBuffer(codec, bufidx, 0, sampleSize, presentationTimeUs, in Java_android_media_cts_NativeDecoderTest_testPlaybackNative()
505 info.presentationTimeUs = AMediaExtractor_getSampleTime(ex); in Java_android_media_cts_NativeDecoderTest_testMuxerNative()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java408 if (info.presentationTimeUs > TIMEOUT_NS / 1000) { in doStagefrightTestMediaCodec()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1007 savedInfo.set(0, l, info.presentationTimeUs, info.flags); in dequeueOutputBufferEncoder()
1062 srcInfo.presentationTimeUs, in runDecoder()