Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeCodecDecoderTestCommon.cpp46 void setUpAudioReference(const char* refFile);
65 bool testSimpleDecode(const char* decoder, const char* testFile, const char* refFile,
87 void CodecDecoderTest::setUpAudioReference(const char* refFile) { in setUpAudioReference() argument
88 FILE* fp = fopen(refFile, "rbe"); in setUpAudioReference()
96 ALOGE("unable to open input file %s", refFile); in setUpAudioReference()
357 const char* refFile, int colorFormat, float rmsError, in testSimpleDecode() argument
410 if (mSaveToMem && refFile && rmsError >= 0) { in testSimpleDecode()
411 setUpAudioReference(refFile); in testSimpleDecode()
/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderTest.java110 public CodecDecoderTest(String decoder, String mediaType, String testFile, String refFile, in CodecDecoderTest() argument
114 mRefFile = MEDIA_DIR + refFile; in CodecDecoderTest()
123 File refFile = new File(file); in readAudioReferenceFile() local
125 try (FileInputStream refStream = new FileInputStream(refFile)) { in readAudioReferenceFile()
127 int length = (int) refFile.length(); in readAudioReferenceFile()
273 static void verify(OutputManager outBuff, String refFile, float rmsError, int audioFormat, in verify() argument
277 ByteBuffer bb = readAudioReferenceFile(refFile); in verify()
316 assertTrue(String.format("%s rms error too high ref/exp/got %f/%f/%f \n", refFile, in verify()
349 String testFile, String refFile, int colorFormat, float rmsError, long checksum, in nativeTestSimpleDecode() argument
DCodecDecoderValidationTest.java111 String refFile, float rmsError, long refCRC, int sampleRate, int channelCount, in CodecDecoderValidationTest() argument
115 mRefFile = MEDIA_DIR + refFile; in CodecDecoderValidationTest()
DMuxerTest.java801 RandomAccessFile refFile = new RandomAccessFile(mRefPath, "rws"); in testMultiTrack() local
802 MediaMuxer muxer = new MediaMuxer(refFile.getFD(), mOutFormat); in testMultiTrack()
818 refFile.close(); in testMultiTrack()
DExtractorTest.java1383 public FusedExtractorDecoderTest(String mediaType, String refFile, String testFile) {
1385 mRefFile = refFile;
1718 public ExtractorTimeStampTest(String refFile, String textFile, int trackIndex) {
1719 mRefFile = refFile;
DCodecDecoderSurfaceTest.java587 String testFile, String refFile, int colorFormat, float rmsError, long checksum, in nativeTestSimpleDecode() argument
/cts/tests/media/common/src/android/mediav2/common/cts/
DCompareStreams.java127 public CompareStreams(String refMediaType, String refFile, String testMediaType, in CompareStreams() argument
129 this(new DecodeStreamToYuv(refMediaType, refFile).getDecodedYuv(), testMediaType, testFile, in CompareStreams()