Home
last modified time | relevance | path

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

/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderTestAacFormat.java199 boolean sawInputEOS = false; in decodeUpdateFormat()
207 if (!sawInputEOS) { in decodeUpdateFormat()
220 sawInputEOS = true; in decodeUpdateFormat()
231 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0); in decodeUpdateFormat()
233 if (!sawInputEOS) { in decodeUpdateFormat()
DNativeDecoderTest.java221 boolean[] sawInputEOS = new boolean[numtracks]; in getDecodedData()
228 assertFalse("saw input EOS twice", sawInputEOS[t]); in getDecodedData()
237 sawInputEOS[t] = true; in getDecodedData()
244 sawInputEOS[t] ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0); in getDecodedData()
250 if (!sawInputEOS[tt]) { in getDecodedData()
257 sawInputEOS[tt] = true; in getDecodedData()
DDecoderTestAacDrc.java617 boolean sawInputEOS = false; in decodeToMemory()
623 if (!sawInputEOS) { in decodeToMemory()
639 sawInputEOS = true; in decodeToMemory()
643 sawInputEOS = true; in decodeToMemory()
653 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0); in decodeToMemory()
655 if (!sawInputEOS) { in decodeToMemory()
DVideoDecoderPerfTest.java310 boolean sawInputEOS = false; in doDecode()
317 if (!sawInputEOS) { in doDecode()
332 sawInputEOS = ((++inputNum == TOTAL_FRAMES) in doDecode()
335 if (sawInputEOS) { in doDecode()
343 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0); in doDecode()
DImageReaderDecoderTest.java454 boolean sawInputEOS = false; in decodeFramesToImage()
460 if (!sawInputEOS) { in decodeFramesToImage()
474 sawInputEOS = true; in decodeFramesToImage()
485 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0); in decodeFramesToImage()
487 if (!sawInputEOS) { in decodeFramesToImage()
DDecoderTestXheAac.java1383 boolean sawInputEOS = false;
1391 if (!sawInputEOS) {
1408 sawInputEOS = true;
1412 sawInputEOS = true;
1423 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0);
1425 if (!sawInputEOS) {
DDecoderTest.java713 boolean sawInputEOS = false; in testColorAspects()
723 if (!sawInputEOS) { in testColorAspects()
731 sawInputEOS = true; in testColorAspects()
743 int status = dec.dequeueOutputBuffer(info, sawInputEOS ? 3000 * 1000 : 100 * 1000); in testColorAspects()
762 status == MediaCodec.INFO_TRY_AGAIN_LATER && sawInputEOS); in testColorAspects()
1752 boolean sawInputEOS = false;
1758 if (!sawInputEOS) {
1774 sawInputEOS = true;
1778 sawInputEOS = true;
1788 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0);
[all …]
/cts/tests/tests/media/decoder/jni/
Dnative-media-jni.cpp306 std::unique_ptr<bool[]> sawInputEOS(new bool[numtracks]); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative() local
333 sawInputEOS[i] = false; in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
360 sawInputEOS[t] = true; in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
367 sawInputEOS[t] ? AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM : 0); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
373 if (!sawInputEOS[tt]) { in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
385 sawInputEOS[tt] = true; in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DVideoCodecTestBase.java651 boolean sawInputEOS = false; in decode()
654 if (!sawInputEOS) { in decode()
661 sawInputEOS = true; in decode()
674 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0); in decode()
1485 boolean sawInputEOS = false; // no more data in encode()
1500 if (inputConsumed && !sawInputEOS) { in encode()
1505 sawInputEOS = true; in encode()
1509 if (!sawInputEOS && bytesRead == -1) { in encode()
1511 sawInputEOS = true; in encode()
1522 if (!sawInputEOS && inputFrameIndex > 0 && in encode()
[all …]
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java236 boolean sawInputEOS = false; in decodeMp4ToYuv()
245 if (!sawInputEOS) { in decodeMp4ToYuv()
258 sawInputEOS = true; in decodeMp4ToYuv()
266 sawInputEOS ? MediaCodec.BUFFER_FLAG_END_OF_STREAM : 0); in decodeMp4ToYuv()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java1273 boolean sawInputEOS = false; in verifyDecoder()
1282 if (!sawInputEOS) { in verifyDecoder()
1290 sawInputEOS = true; in verifyDecoder()