/cts/tests/tests/media/src/android/media/cts/ |
D | CodecState.java | 335 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()
|
D | AdaptivePlaybackTest.java | 881 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 …]
|
D | VideoEncoderTest.java | 88 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 …]
|
D | ExtractDecodeEditEncodeMuxTest.java | 919 + 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()
|
D | DecoderTest.java | 281 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 …]
|
D | DecodeEditEncodeTest.java | 328 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()
|
D | MediaSyncTest.java | 785 info.presentationTimeUs); in onOutputBufferAvailable() 787 && info.presentationTimeUs >= mStartingAudioTimestampUs) { in onOutputBufferAvailable() 792 codec.releaseOutputBuffer(index, info.presentationTimeUs * 1000); in onOutputBufferAvailable()
|
D | MediaMuxerTest.java | 244 bufferInfo.presentationTimeUs = extractor.getSampleTime(); in cloneMediaUsingMuxer() 255 "PresentationTimeUs:" + bufferInfo.presentationTimeUs + in cloneMediaUsingMuxer()
|
D | EncodeDecodeTest.java | 736 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()
|
D | ImageReaderDecoderTest.java | 504 long presentationTimeUs = 0; in decodeFramesToImage() local 511 presentationTimeUs = extractor.getSampleTime(); in decodeFramesToImage() 518 presentationTimeUs, in decodeFramesToImage()
|
D | Vp8CodecTestBase.java | 632 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()
|
D | NativeDecoderTest.java | 275 long presentationTimeUs = ex.getSampleTime(); in getDecodedData() local 277 codec[t].queueInputBuffer(bufidx, 0, sampleSize, presentationTimeUs, in getDecodedData()
|
D | VideoDecoderPerfTest.java | 183 long presentationTimeUs = inputNum * 1000000L / frameRate; in doDecode() local 196 presentationTimeUs, in doDecode()
|
D | EncodeVirtualDisplayTest.java | 432 info.presentationTimeUs, info.flags); in doTestEncodeVirtual()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 284 info.presentationTimeUs, info.flags); in doTestRenderingOutput()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-media-jni.cpp | 278 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/ |
D | StagefrightTest.java | 408 if (info.presentationTimeUs > TIMEOUT_NS / 1000) { in doStagefrightTestMediaCodec()
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 1007 savedInfo.set(0, l, info.presentationTimeUs, info.flags); in dequeueOutputBufferEncoder() 1062 srcInfo.presentationTimeUs, in runDecoder()
|