Home
last modified time | relevance | path

Searched refs:refFile (Results 1 – 6 of 6) sorted by relevance

/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderTest.java68 public CodecDecoderTest(String decoder, String mime, String testFile, String refFile, in CodecDecoderTest() argument
71 mRefFile = refFile; in CodecDecoderTest()
78 File refFile = new File(file); in setUpAudioReference() local
80 try (FileInputStream refStream = new FileInputStream(refFile)) { in setUpAudioReference()
82 int length = (int) refFile.length(); in setUpAudioReference()
184 String testFile, String refFile, float rmsError, long checksum); in nativeTestSimpleDecode() argument
186 static void verify(OutputManager outBuff, String refFile, float rmsError, long refCRC) in verify() argument
189 short[] refData = setUpAudioReference(mInpPrefix + refFile); in verify()
192 assertTrue(String.format("%s rms error too high ref/exp/got %f/%f/%f", refFile, in verify()
DCodecDecoderValidationTest.java56 String refFile, float rmsError, long refCRC, int support) { in CodecDecoderValidationTest() argument
59 mRefFile = refFile; in CodecDecoderValidationTest()
DMuxerTest.java810 RandomAccessFile refFile = new RandomAccessFile(mRefPath, "rws"); in testMultiTrack() local
811 MediaMuxer muxer = new MediaMuxer(refFile.getFD(), mOutFormat); in testMultiTrack()
827 refFile.close(); in testMultiTrack()
DExtractorTest.java1343 public FusedExtractorDecoderTest(String mime, String refFile, String testFile) {
1345 mRefFile = refFile;
1652 public ExtractorTimeStampTest(String refFile, String textFile, int trackIndex) {
1653 mRefFile = refFile;
DCodecDecoderSurfaceTest.java400 String testFile, String refFile, float rmsError, long checksum); in nativeTestSimpleDecode() argument
/cts/tests/media/jni/
DNativeCodecDecoderTest.cpp44 void setUpAudioReference(const char* refFile);
61 bool testSimpleDecode(const char* decoder, const char* testFile, const char* refFile,
83 void CodecDecoderTest::setUpAudioReference(const char* refFile) { in setUpAudioReference() argument
84 FILE* fp = fopen(refFile, "rbe"); in setUpAudioReference()
92 ALOGE("unable to open input file %s", refFile); in setUpAudioReference()
302 const char* refFile, float rmsError, uLong checksum) { in testSimpleDecode() argument
389 if (mSaveToMem && refFile && rmsError >= 0) { in testSimpleDecode()
390 setUpAudioReference(refFile); in testSimpleDecode()