Home
last modified time | relevance | path

Searched refs:cMediaType (Results 1 – 5 of 5) sorted by relevance

/cts/tests/media/jni/
DNativeExtractorTest.cpp523 const char* cMediaType = env->GetStringUTFChars(jMediaType, nullptr); in nativeReadAllData() local
539 env->ReleaseStringUTFChars(jMediaType, cMediaType); in nativeReadAllData()
555 if (strlen(cMediaType) != 0 && strcmp(refMediaType, cMediaType) != 0) { in nativeReadAllData()
633 ALOGE("Media Type: %s calls post advance() are not OK", cMediaType); in nativeReadAllData()
642 env->ReleaseStringUTFChars(jMediaType, cMediaType); in nativeReadAllData()
656 const char* cMediaType = env->GetStringUTFChars(jMediaType, nullptr); in nativeTestExtract() local
662 isPass = isMediaSimilar(srcExtractor, testExtractor, cMediaType); in nativeTestExtract()
671 env->ReleaseStringUTFChars(jMediaType, cMediaType); in nativeTestExtract()
680 const char* cMediaType = env->GetStringUTFChars(jMediaType, nullptr); in nativeTestSeek() local
681 std::vector<SeekTestParams*> seekTestArgs = generateSeekTestArgs(csrcPath, cMediaType, false); in nativeTestSeek()
[all …]
DNativeCodecEncoderTest.cpp679 const char* cMediaType = env->GetStringUTFChars(jMediaType, nullptr); in nativeTestSimpleEncode() local
683 auto codecEncoderTest = new CodecEncoderTest(cMediaType, cCfgParams, nullptr, cSeparator); in nativeTestSimpleEncode()
694 env->ReleaseStringUTFChars(jMediaType, cMediaType); in nativeTestSimpleEncode()
705 const char* cMediaType = env->GetStringUTFChars(jMediaType, nullptr); in nativeTestReconfigure() local
713 new CodecEncoderTest(cMediaType, cCfgParams, cReconfigCfgParams, cSeparator); in nativeTestReconfigure()
727 env->ReleaseStringUTFChars(jMediaType, cMediaType); in nativeTestReconfigure()
737 const char* cMediaType = env->GetStringUTFChars(jMediaType, nullptr); in nativeTestSetForceSyncFrame() local
741 auto codecEncoderTest = new CodecEncoderTest(cMediaType, cCfgParams, nullptr, cSeparator); in nativeTestSetForceSyncFrame()
752 env->ReleaseStringUTFChars(jMediaType, cMediaType); in nativeTestSetForceSyncFrame()
761 const char* cMediaType = env->GetStringUTFChars(jMediaType, nullptr); in nativeTestAdaptiveBitRate() local
[all …]
DNativeCodecDecoderTestCommon.cpp622 const char* cMediaType = env->GetStringUTFChars(jMediaType, nullptr); in nativeTestSimpleDecode() local
628 auto* codecDecoderTest = new CodecDecoderTest(cMediaType, window); in nativeTestSimpleDecode()
642 env->ReleaseStringUTFChars(jMediaType, cMediaType); in nativeTestSimpleDecode()
651 const char* cMediaType = env->GetStringUTFChars(jMediaType, nullptr); in nativeTestOnlyEos() local
653 auto* codecDecoderTest = new CodecDecoderTest(cMediaType, nullptr); in nativeTestOnlyEos()
662 env->ReleaseStringUTFChars(jMediaType, cMediaType); in nativeTestOnlyEos()
671 const char* cMediaType = env->GetStringUTFChars(jMediaType, nullptr); in nativeTestFlush() local
674 auto* codecDecoderTest = new CodecDecoderTest(cMediaType, window); in nativeTestFlush()
687 env->ReleaseStringUTFChars(jMediaType, cMediaType); in nativeTestFlush()
695 const char* cMediaType = env->GetStringUTFChars(jMediaType, nullptr); in nativeTestSimpleDecodeQueueCSD() local
[all …]
DNativeMuxerTest.cpp852 const char* cMediaType = env->GetStringUTFChars(jMediaType, nullptr); in nativeTestSimpleMux() local
855 auto* mediaInfo = new MuxerNativeTestHelper(csrcPath, cMediaType); in nativeTestSimpleMux()
879 auto* outInfo = new MuxerNativeTestHelper(cdstPath, cMediaType); in nativeTestSimpleMux()
884 (!muxStatus && isCodecContainerPairValid((OutputFormat)fmt, cMediaType))) { in nativeTestSimpleMux()
887 csrcPath, cMediaType, fmt); in nativeTestSimpleMux()
892 cMediaType, cdstPath); in nativeTestSimpleMux()
898 ALOGE("error: file %s, mediaType %s, track count exp/rec - %d/%d", csrcPath, cMediaType, 1, in nativeTestSimpleMux()
903 env->ReleaseStringUTFChars(jMediaType, cMediaType); in nativeTestSimpleMux()
DNativeCodecEncoderSurfaceTest.cpp663 const char* cMediaType = env->GetStringUTFChars(jMediaType, nullptr); in nativeTestSimpleEncode() local
669 auto codecEncoderSurfaceTest = new CodecEncoderSurfaceTest(cMediaType, cCfgParams, cSeparator); in nativeTestSimpleEncode()
682 env->ReleaseStringUTFChars(jMediaType, cMediaType); in nativeTestSimpleEncode()