Home
last modified time | relevance | path

Searched refs:sawInputEOS (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DDecoderTestAacDrc.java451 boolean sawInputEOS = false; in decodeToMemory()
457 if (!sawInputEOS) { in decodeToMemory()
473 sawInputEOS = true; in decodeToMemory()
477 sawInputEOS = true; in decodeToMemory()
487 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0); in decodeToMemory()
489 if (!sawInputEOS) { in decodeToMemory()
DVpxCodecTestBase.java580 boolean sawInputEOS = false; in decode()
583 if (!sawInputEOS) { in decode()
590 sawInputEOS = true; in decode()
603 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0); in decode()
1352 boolean sawInputEOS = false; // no more data in encode()
1367 if (inputConsumed && !sawInputEOS) { in encode()
1372 sawInputEOS = true; in encode()
1376 if (!sawInputEOS && bytesRead == -1) { in encode()
1378 sawInputEOS = true; in encode()
1389 if (!sawInputEOS && inputFrameIndex > 0 && in encode()
[all …]
DDecoderTestXheAac.java879 boolean sawInputEOS = false;
887 if (!sawInputEOS) {
904 sawInputEOS = true;
908 sawInputEOS = true;
919 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0);
921 if (!sawInputEOS) {
DDecoderTest.java574 boolean sawInputEOS = false; in testColorAspects()
584 if (!sawInputEOS) { in testColorAspects()
592 sawInputEOS = true; in testColorAspects()
604 int status = dec.dequeueOutputBuffer(info, sawInputEOS ? 3000 * 1000 : 100 * 1000); in testColorAspects()
623 status == MediaCodec.INFO_TRY_AGAIN_LATER && sawInputEOS); in testColorAspects()
1726 boolean sawInputEOS = false;
1732 if (!sawInputEOS) {
1748 sawInputEOS = true;
1752 sawInputEOS = true;
1762 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0);
[all …]
DVideoDecoderPerfTest.java236 boolean sawInputEOS = false; in doDecode()
243 if (!sawInputEOS) { in doDecode()
258 sawInputEOS = ((++inputNum == TOTAL_FRAMES) in doDecode()
261 if (sawInputEOS) { in doDecode()
269 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0); in doDecode()
DImageReaderDecoderTest.java491 boolean sawInputEOS = false; in decodeFramesToImage()
497 if (!sawInputEOS) { in decodeFramesToImage()
511 sawInputEOS = true; in decodeFramesToImage()
522 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0); in decodeFramesToImage()
524 if (!sawInputEOS) { in decodeFramesToImage()
DNativeDecoderTest.java430 boolean[] sawInputEOS = new boolean[numtracks]; in getDecodedData()
437 assertFalse("saw input EOS twice", sawInputEOS[t]); in getDecodedData()
446 sawInputEOS[t] = true; in getDecodedData()
453 sawInputEOS[t] ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0); in getDecodedData()
459 if (!sawInputEOS[tt]) { in getDecodedData()
466 sawInputEOS[tt] = true; in getDecodedData()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp507 bool *sawInputEOS = new bool[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local
534 sawInputEOS[i] = false; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
561 sawInputEOS[t] = true; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
568 sawInputEOS[t] ? AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM : 0); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
574 if (!sawInputEOS[tt]) { in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
586 sawInputEOS[tt] = true; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
665 delete[] sawInputEOS; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
695 bool sawInputEOS = false; in Java_android_media_cts_NativeDecoderTest_testPlaybackNative() local
726 sawInputEOS = true; in Java_android_media_cts_NativeDecoderTest_testPlaybackNative()
732 sawInputEOS ? AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM : 0); in Java_android_media_cts_NativeDecoderTest_testPlaybackNative()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java1074 boolean sawInputEOS = false; in verifyDecoder()
1083 if (!sawInputEOS) { in verifyDecoder()
1091 sawInputEOS = true; in verifyDecoder()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java1181 boolean sawInputEOS = false; in verifyDecoder()
1190 if (!sawInputEOS) { in verifyDecoder()
1198 sawInputEOS = true; in verifyDecoder()