Home
last modified time | relevance | path

Searched refs:cmime (Results 1 – 4 of 4) sorted by relevance

/cts/tests/media/jni/
DNativeExtractorTest.cpp509 const char* cmime = env->GetStringUTFChars(jmime, nullptr); in nativeTestExtract() local
515 isPass = isMediaSimilar(srcExtractor, testExtractor, cmime); in nativeTestExtract()
524 env->ReleaseStringUTFChars(jmime, cmime); in nativeTestExtract()
533 const char* cmime = env->GetStringUTFChars(jmime, nullptr); in nativeTestSeek() local
534 std::vector<SeekTestParams*> seekTestArgs = generateSeekTestArgs(csrcPath, cmime, false); in nativeTestSeek()
537 int seekAccErrCnt = checkSeekPoints(csrcPath, cmime, seekTestArgs); in nativeTestSeek()
552 env->ReleaseStringUTFChars(jmime, cmime); in nativeTestSeek()
560 const char* cmime = env->GetStringUTFChars(jmime, nullptr); in nativeTestSeekFlakiness() local
561 std::vector<SeekTestParams*> seekTestArgs = generateSeekTestArgs(csrcPath, cmime, true); in nativeTestSeekFlakiness()
564 int flakyErrCnt = checkSeekPoints(csrcPath, cmime, seekTestArgs); in nativeTestSeekFlakiness()
[all …]
DNativeCodecEncoderTest.cpp863 const char* cmime = env->GetStringUTFChars(jMime, nullptr); in nativeTestSimpleEncode() local
871 auto codecEncoderTest = new CodecEncoderTest(cmime, cList0, cLen0, cList1, cLen1, cList2, cLen2, in nativeTestSimpleEncode()
879 env->ReleaseStringUTFChars(jMime, cmime); in nativeTestSimpleEncode()
888 const char* cmime = env->GetStringUTFChars(jMime, nullptr); in nativeTestFlush() local
896 auto codecEncoderTest = new CodecEncoderTest(cmime, cList0, cLen0, cList1, cLen1, cList2, cLen2, in nativeTestFlush()
904 env->ReleaseStringUTFChars(jMime, cmime); in nativeTestFlush()
914 const char* cmime = env->GetStringUTFChars(jMime, nullptr); in nativeTestReconfigure() local
922 auto codecEncoderTest = new CodecEncoderTest(cmime, cList0, cLen0, cList1, cLen1, cList2, cLen2, in nativeTestReconfigure()
930 env->ReleaseStringUTFChars(jMime, cmime); in nativeTestReconfigure()
939 const char* cmime = env->GetStringUTFChars(jMime, nullptr); in nativeTestSetForceSyncFrame() local
[all …]
DNativeMuxerTest.cpp641 const char* cmime = env->GetStringUTFChars(jmime, nullptr); in nativeTestSimpleMux() local
644 auto* mediaInfo = new MuxerNativeTestHelper(csrcPath, cmime); in nativeTestSimpleMux()
667 auto* outInfo = new MuxerNativeTestHelper(cdstPath, cmime); in nativeTestSimpleMux()
672 (!muxStatus && isCodecContainerPairValid((MuxerFormat)fmt, cmime))) { in nativeTestSimpleMux()
675 cmime, fmt); in nativeTestSimpleMux()
679 ALOGE("error: file %s, mime %s, failed to open output file %s", csrcPath, cmime, in nativeTestSimpleMux()
686 ALOGE("error: file %s, mime %s, track count exp/rec - %d/%d", csrcPath, cmime, 1, in nativeTestSimpleMux()
691 env->ReleaseStringUTFChars(jmime, cmime); in nativeTestSimpleMux()
/cts/tests/tests/media/libmediandkjni/
Dnative_media_encoder_jni.cpp314 const char* cmime = env->GetStringUTFChars(jmime, nullptr); in runNativeEncoderTest() local
315 std::string mime = cmime; in runNativeEncoderTest()
316 env->ReleaseStringUTFChars(jmime, cmime); in runNativeEncoderTest()