Searched refs:outFileHandle (Results 1 – 3 of 3) sorted by relevance
/aosp12/frameworks/av/media/codecs/amrnb/dec/test/ |
H A D | AmrnbDecoderTest.cpp | 64 SNDFILE *outFileHandle = sf_open(OUTPUT_FILE, SFM_WRITE, sfInfo); in openOutputFile() local 65 return outFileHandle; in openOutputFile() 68 int32_t AmrnbDecoderTest::DecodeFrames(void *amrHandle, SNDFILE *outFileHandle, in DecodeFrames() argument 94 sf_writef_short(outFileHandle, outputBuf, kSamplesPerFrame); in DecodeFrames() 115 SNDFILE *outFileHandle = openOutputFile(&sfInfo); in TEST_P() local 123 int32_t decoderErr = DecodeFrames(amrHandle, outFileHandle); in TEST_P() 126 sf_close(outFileHandle); in TEST_P() 138 SNDFILE *outFileHandle = openOutputFile(&sfInfo); in TEST_P() local 146 int32_t decoderErr = DecodeFrames(amrHandle, outFileHandle, kNumFrameReset); in TEST_P() 153 decoderErr = DecodeFrames(amrHandle, outFileHandle); in TEST_P() [all …]
|
/aosp12/frameworks/av/media/codecs/amrwb/dec/test/ |
H A D | AmrwbDecoderTest.cpp | 58 int32_t DecodeFrames(int16_t *decoderCookie, void *decoderBuf, SNDFILE *outFileHandle, 68 SNDFILE *outFileHandle = sf_open(OUTPUT_FILE, SFM_WRITE, sfInfo); in openOutputFile() local 69 return outFileHandle; in openOutputFile() 73 SNDFILE *outFileHandle, int32_t frameCount) { in DecodeFrames() argument 116 sf_writef_short(outFileHandle, outputBuf, kSamplesPerFrame / kChannels); in DecodeFrames() 159 SNDFILE *outFileHandle = openOutputFile(&sfInfo); in TEST_P() local 162 int32_t decoderErr = DecodeFrames(decoderCookie, decoderBuf, outFileHandle); in TEST_P() 165 sf_close(outFileHandle); in TEST_P() 189 SNDFILE *outFileHandle = openOutputFile(&sfInfo); in TEST_P() local 200 decoderErr = DecodeFrames(decoderCookie, decoderBuf, outFileHandle); in TEST_P() [all …]
|
/aosp12/frameworks/av/media/codecs/mp3dec/test/ |
H A D | Mp3DecoderTest.cpp | 60 ERROR_CODE DecodeFrames(void *decoderbuf, SNDFILE *outFileHandle, SF_INFO sfInfo, 84 sf_writef_short(outFileHandle, outputBuf, mConfig->outputFrameSize / sfInfo.channels); in DecodeFrames() 95 SNDFILE *outFileHandle = sf_open(OUTPUT_FILE, SFM_WRITE, sfInfo); in openOutputFile() local 96 return outFileHandle; in openOutputFile() 130 SNDFILE *outFileHandle = openOutputFile(&sfInfo); in TEST_P() local 133 ERROR_CODE decoderErr = DecodeFrames(decoderBuf, outFileHandle, sfInfo); in TEST_P() 139 sf_close(outFileHandle); in TEST_P() 161 SNDFILE *outFileHandle = openOutputFile(&sfInfo); in TEST_P() local 165 decoderErr = DecodeFrames(decoderBuf, outFileHandle, sfInfo, kNumFrameReset); in TEST_P() 172 decoderErr = DecodeFrames(decoderBuf, outFileHandle, sfInfo); in TEST_P() [all …]
|