Home
last modified time | relevance | path

Searched refs:srcPath (Results 1 – 7 of 7) sorted by relevance

/cts/tests/media/jni/
DNativeCodecEncoderTest.cpp50 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 …]
DNativeCodecEncoderSurfaceTest.cpp86 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()
DNativeMuxerTest.cpp48 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/
DExtractorUnitTest.java888 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 …]
DMuxerTest.java244 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 …]
DExtractorTest.java488 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/
DVideoDecodeEditEncodeTest.java256 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()