Home
last modified time | relevance | path

Searched refs:loopCounter (Results 1 – 6 of 6) sorted by relevance

/cts/tests/media/jni/
DNativeCodecDecoderTest.cpp294 int loopCounter = 0; in testSimpleDecode() local
304 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleDecode()
344 CHECK_ERR(loopCounter != 0 && (!ref->equals(test)), log, "output is flaky", isPass); in testSimpleDecode()
346 loopCounter == 0 && mIsAudio && (!ref->isPtsStrictlyIncreasing(mPrevOutputPts)), in testSimpleDecode()
348 CHECK_ERR(loopCounter == 0 && !mIsAudio && in testSimpleDecode()
363 loopCounter++; in testSimpleDecode()
507 int loopCounter = 0; in testOnlyEos() local
513 mOutputBuff = loopCounter == 0 ? ref : test; in testOnlyEos()
531 CHECK_ERR(loopCounter != 0 && (!ref->equals(test)), log, "output is flaky", isPass); in testOnlyEos()
532 CHECK_ERR(loopCounter == 0 && mIsAudio && (!ref->isPtsStrictlyIncreasing(mPrevOutputPts)), in testOnlyEos()
[all …]
DNativeCodecEncoderSurfaceTest.cpp471 int loopCounter = 0; in testSimpleEncode() local
476 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleEncode()
491 if (muxOutput && loopCounter == 0) { in testSimpleEncode()
540 CHECK_ERR(loopCounter == 0 && (!ref->isPtsStrictlyIncreasing(INT32_MIN)), log, in testSimpleEncode()
542 CHECK_ERR(loopCounter != 0 && (!test->isPtsStrictlyIncreasing(INT32_MIN)), log, in testSimpleEncode()
545 loopCounter++; in testSimpleEncode()
DNativeCodecEncoderTest.cpp401 int loopCounter = 0; in testSimpleEncode() local
412 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleEncode()
448 CHECK_ERR((loopCounter != 0 && !ref->equals(test)), log, "output is flaky", isPass); in testSimpleEncode()
449 CHECK_ERR((loopCounter == 0 && mIsAudio && in testSimpleEncode()
452 CHECK_ERR((loopCounter == 0 && !mIsAudio && in testSimpleEncode()
455 loopCounter++; in testSimpleEncode()
673 int loopCounter = 0; in testOnlyEos() local
680 mOutputBuff = loopCounter == 0 ? ref : test; in testOnlyEos()
699 CHECK_ERR(loopCounter != 0 && (!ref->equals(test)), log, "output is flaky", isPass); in testOnlyEos()
700 CHECK_ERR(loopCounter == 0 && mIsAudio && (!ref->isPtsStrictlyIncreasing(mPrevOutputPts)), in testOnlyEos()
[all …]
/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderTest.java255 int loopCounter = 0; in testSimpleDecode() local
262 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleDecode()
284 if (loopCounter != 0) { in testSimpleDecode()
305 loopCounter++; in testSimpleDecode()
654 int loopCounter = 0; in testOnlyEos() local
659 mOutputBuff = loopCounter == 0 ? ref : test; in testOnlyEos()
666 if (loopCounter != 0) { in testOnlyEos()
678 loopCounter++; in testOnlyEos()
728 int loopCounter = 0; in testSimpleDecodeQueueCSD() local
736 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleDecodeQueueCSD()
[all …]
DCodecEncoderTest.java281 int loopCounter = 0; in testSimpleEncode() local
295 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleEncode()
315 if (loopCounter != 0) { in testSimpleEncode()
327 loopCounter++; in testSimpleEncode()
624 int loopCounter = 0; in testOnlyEos() local
629 mOutputBuff = loopCounter == 0 ? ref : test; in testOnlyEos()
638 if (loopCounter != 0) { in testOnlyEos()
650 loopCounter++; in testOnlyEos()
DCodecEncoderSurfaceTest.java477 int loopCounter = 0; in testSimpleEncodeFromSurface() local
481 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleEncodeFromSurface()
483 if (muxOutput && loopCounter == 0) { in testSimpleEncodeFromSurface()
542 if (loopCounter != 0) { in testSimpleEncodeFromSurface()
549 loopCounter++; in testSimpleEncodeFromSurface()