Home
last modified time | relevance | path

Searched refs:decoderBuf (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/codecs/amrwb/dec/test/
DAmrwbDecoderTest.cpp58 int32_t DecodeFrames(int16_t *decoderCookie, void *decoderBuf, SNDFILE *outFileHandle,
72 int32_t AmrwbDecoderTest::DecodeFrames(int16_t *decoderCookie, void *decoderBuf, in DecodeFrames() argument
105 pvDecoder_AmrWb(frameMode, inputSampleBuf, outputBuf, &numSamplesOutput, decoderBuf, in DecodeFrames()
124 void *decoderBuf = malloc(memRequirements); in TEST_F() local
125 ASSERT_NE(decoderBuf, nullptr) in TEST_F()
132 pvDecoder_AmrWb_Init(&amrHandle, decoderBuf, &decoderCookie); in TEST_F()
136 if (decoderBuf) { in TEST_F()
137 free(decoderBuf); in TEST_F()
138 decoderBuf = nullptr; in TEST_F()
144 void *decoderBuf = malloc(memRequirements); in TEST_P() local
[all …]
Damrwbdec_test.cpp91 void *decoderBuf = malloc(memRequirements); in main() local
92 assert(decoderBuf != NULL); in main()
97 pvDecoder_AmrWb_Init(&amrHandle, decoderBuf, &decoderCookie); in main()
149 decoderBuf, frameType, decoderCookie); in main()
/frameworks/av/media/codecs/mp3dec/test/
DMp3DecoderTest.cpp65 ERROR_CODE Mp3DecoderTest::DecodeFrames(void *decoderBuf, SNDFILE *outFileHandle, SF_INFO sfInfo, in DecodeFrames() argument
82 decoderErr = pvmp3_framedecoder(mConfig, decoderBuf); in DecodeFrames()
102 void *decoderBuf = malloc(memRequirements); in TEST_F() local
103 ASSERT_NE(decoderBuf, nullptr) in TEST_F()
106 pvmp3_InitDecoder(mConfig, decoderBuf); in TEST_F()
109 if (decoderBuf) { in TEST_F()
110 free(decoderBuf); in TEST_F()
111 decoderBuf = nullptr; in TEST_F()
118 void *decoderBuf = malloc(memRequirements); in TEST_P() local
119 ASSERT_NE(decoderBuf, nullptr) in TEST_P()
[all …]
Dmp3dec_test.cpp59 void *decoderBuf = malloc(memRequirements); in main() local
60 assert(decoderBuf != NULL); in main()
63 pvmp3_InitDecoder(&config, decoderBuf); in main()
70 free(decoderBuf); in main()
84 free(decoderBuf); in main()
113 decoderErr = pvmp3_framedecoder(&config, decoderBuf); in main()
130 free(decoderBuf); in main()