Home
last modified time | relevance | path

Searched refs:frameLimit (Results 1 – 12 of 12) sorted by relevance

/cts/tests/media/jni/
DNativeCodecEncoderSurfaceTest.cpp72 bool doWork(int frameLimit);
399 bool CodecEncoderSurfaceTest::doWork(int frameLimit) { in doWork() argument
403 while (!hasSeenError() && !mSawDecInputEOS && frameCnt < frameLimit) { in doWork()
426 while (!mSawDecInputEOS && frameCnt < frameLimit) { in doWork()
DNativeCodecTestBase.cpp423 bool CodecTestBase::doWork(int frameLimit) { in doWork() argument
428 while (!hasSeenError() && isOk && !mSawInputEOS && frameCnt < frameLimit) { in doWork()
442 while (isOk && !mSawInputEOS && frameCnt < frameLimit) { in doWork()
DNativeCodecDecoderTest.cpp52 bool decodeToMemory(const char* decoder, AMediaFormat* format, int frameLimit,
264 bool CodecDecoderTest::decodeToMemory(const char* decoder, AMediaFormat* format, int frameLimit, in decodeToMemory() argument
276 if (!doWork(frameLimit)) return false; in decodeToMemory()
DNativeCodecTestBase.h156 bool doWork(int frameLimit);
DNativeMuxerTest.cpp45 int frameLimit = -1) in MuxerNativeTestHelper() argument
47 mFrameLimit = frameLimit < 0 ? INT_MAX : frameLimit; in MuxerNativeTestHelper()
DNativeCodecEncoderTest.cpp63 bool encodeToMemory(const char* file, const char* encoder, int frameLimit, AMediaFormat* format,
349 bool CodecEncoderTest::encodeToMemory(const char* file, const char* encoder, int32_t frameLimit, in encodeToMemory() argument
365 if (!doWork(frameLimit)) return false; in encodeToMemory()
/cts/tests/media/src/android/mediav2/cts/
DMuxerTest.java224 MuxerTestHelper(String srcPath, String mime, int frameLimit) throws IOException { in MuxerTestHelper() argument
227 if (frameLimit < 0) frameLimit = Integer.MAX_VALUE; in MuxerTestHelper()
228 mFrameLimit = frameLimit; in MuxerTestHelper()
236 MuxerTestHelper(String srcPath, int frameLimit) throws IOException { in MuxerTestHelper() argument
237 this(srcPath, null, frameLimit); in MuxerTestHelper()
DCodecEncoderSurfaceTest.java384 private void doWork(int frameLimit) throws InterruptedException { in doWork() argument
388 while (!hasSeenError() && !mSawDecInputEOS && frameCnt < frameLimit) { in doWork()
412 while (!mSawDecInputEOS && frameCnt < frameLimit) { in doWork()
DCodecTestBase.java657 void doWork(int frameLimit) throws InterruptedException, IOException { in doWork() argument
661 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < frameLimit) { in doWork()
679 while (!mSawInputEOS && frameCount < frameLimit) { in doWork()
1036 void decodeToMemory(String file, String decoder, long pts, int mode, int frameLimit) in decodeToMemory() argument
1045 doWork(frameLimit); in decodeToMemory()
DCodecDecoderTest.java817 int frameLimit = 10; in testDecodePartialFrame() local
821 decodeToMemory(mTestFile, decoder, 0, MediaExtractor.SEEK_TO_CLOSEST_SYNC, frameLimit); in testDecodePartialFrame()
840 doWork(frameLimit - 1); in testDecodePartialFrame()
DCodecDecoderSurfaceTest.java96 private void decodeAndSavePts(String file, String decoder, long pts, int mode, int frameLimit) in decodeAndSavePts() argument
104 doWork(frameLimit); in decodeAndSavePts()
DCodecEncoderTest.java96 private void encodeToMemory(String file, String encoder, int frameLimit, MediaFormat format) in encodeToMemory() argument
113 doWork(frameLimit); in encodeToMemory()