/cts/tests/media/jni/ |
D | NativeCodecEncoderTest.cpp | 50 void setUpSource(const char* srcPath); 72 bool testSimpleEncode(const char* encoder, const char* srcPath); 73 bool testReconfigure(const char* encoder, const char* srcPath); 74 bool testSetForceSyncFrame(const char* encoder, const char* srcPath); 75 bool testAdaptiveBitRate(const char* encoder, const char* srcPath); 125 void CodecEncoderTest::setUpSource(const char* srcPath) { in setUpSource() argument 126 FILE* fp = fopen(srcPath, "rbe"); in setUpSource() 137 ALOGE("unable to open input file %s", srcPath); in setUpSource() 390 bool CodecEncoderTest::testSimpleEncode(const char* encoder, const char* srcPath) { in testSimpleEncode() argument 391 setUpSource(srcPath); in testSimpleEncode() [all …]
|
D | NativeCodecEncoderSurfaceTest.cpp | 86 bool testSimpleEncode(const char* encoder, const char* decoder, const char* srcPath, 560 const char* srcPath, const char *srcMediaType, in testSimpleEncode() argument 563 RETURN_IF_FALSE(setUpExtractor(srcPath, srcMediaType, colorFormat), in testSimpleEncode()
|
D | NativeMuxerTest.cpp | 48 explicit MuxerNativeTestHelper(const char* srcPath, const char* mediaType = nullptr, in MuxerNativeTestHelper() argument 50 : mSrcPath(srcPath), mMediaType(mediaType), mTrackCount(0), mBuffer(nullptr) { in MuxerNativeTestHelper()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorUnitTest.java | 888 private native boolean nativeTestSelectTrackForInvalidIndex(String srcPath); in nativeTestSelectTrackForInvalidIndex() argument 896 private native boolean nativeTestIdempotentSelectTrack(String srcPath); in nativeTestIdempotentSelectTrack() argument 911 private native boolean nativeTestUnselectTrackForInvalidIndex(String srcPath); in nativeTestUnselectTrackForInvalidIndex() argument 919 private native boolean nativeTestUnselectTrackForUnSelectedTrackIndex(String srcPath); in nativeTestUnselectTrackForUnSelectedTrackIndex() argument 927 private native boolean nativeTestIdempotentUnselectTrack(String srcPath); in nativeTestIdempotentUnselectTrack() argument 942 private native boolean nativeTestSeekToBeforeSelectTrack(String srcPath); in nativeTestSeekToBeforeSelectTrack() argument 972 private native boolean nativeTestAdvanceBeforeSelectTrack(String srcPath); in nativeTestAdvanceBeforeSelectTrack() argument 987 private native boolean nativeTestGetSampleFlagsBeforeSelectTrack(String srcPath); in nativeTestGetSampleFlagsBeforeSelectTrack() argument 1002 private native boolean nativeTestGetSampleTimeBeforeSelectTrack(String srcPath); in nativeTestGetSampleTimeBeforeSelectTrack() argument 1017 private native boolean nativeTestGetSampleSizeBeforeSelectTrack(String srcPath); in nativeTestGetSampleSizeBeforeSelectTrack() argument [all …]
|
D | MuxerTest.java | 244 MuxerTestHelper(String srcPath, String mediaType, int frameLimit, boolean aRemoveCSD) in MuxerTestHelper() argument 246 mSrcPath = srcPath; in MuxerTestHelper() 254 MuxerTestHelper(String srcPath, String mediaType) throws IOException { in MuxerTestHelper() argument 255 this(srcPath, mediaType, -1, false); in MuxerTestHelper() 258 MuxerTestHelper(String srcPath, int frameLimit) throws IOException { in MuxerTestHelper() argument 259 this(srcPath, null, frameLimit, false); in MuxerTestHelper() 262 MuxerTestHelper(String srcPath, boolean aRemoveCSD) throws IOException { in MuxerTestHelper() argument 263 this(srcPath, null, -1, aRemoveCSD); in MuxerTestHelper() 266 MuxerTestHelper(String srcPath) throws IOException { in MuxerTestHelper() argument 267 this(srcPath, null, -1, false); in MuxerTestHelper() [all …]
|
D | ExtractorTest.java | 488 private static native long nativeReadAllData(String srcPath, String mediaType, int sampleLimit, in nativeReadAllData() argument 759 private native boolean nativeTestDataSource(String srcPath, String srcUrl); 865 private native boolean nativeTestExtract(String srcPath, String refPath, String mediaType); 867 private native boolean nativeTestSeek(String srcPath, String mediaType); 869 private native boolean nativeTestSeekFlakiness(String srcPath, String mediaType); 871 private native boolean nativeTestSeekToZero(String srcPath, String mediaType); 873 private native boolean nativeTestFileFormat(String srcPath);
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoDecodeEditEncodeTest.java | 256 private void splitMediaToMuxerParameters(@NonNull String srcPath, @NonNull String mediaType, in splitMediaToMuxerParameters() argument 260 Preconditions.assertTestFileExists(srcPath); in splitMediaToMuxerParameters() 261 extractor.setDataSource(srcPath); in splitMediaToMuxerParameters() 278 "could not find usable track in file " + srcPath); in splitMediaToMuxerParameters() 282 File file = new File(srcPath); in splitMediaToMuxerParameters()
|