Home
last modified time | relevance | path

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

/frameworks/av/media/module/codecs/amrnb/dec/test/
DAmrnbDecoderTest.cpp56 int32_t DecodeFrames(void *amrHandle, SNDFILE *outFileHandle, int32_t frameCount = INT32_MAX);
68 int32_t AmrnbDecoderTest::DecodeFrames(void *amrHandle, SNDFILE *outFileHandle, in DecodeFrames() argument
88 int32_t bytesDecoded = AMRDecode(amrHandle, frameType, inputBuf, outputBuf, MIME_IETF); in DecodeFrames()
101 void *amrHandle; in TEST_F() local
102 int32_t status = GSMInitDecode(&amrHandle, (Word8 *)"AMRNBDecoder"); in TEST_F()
104 GSMDecodeFrameExit(&amrHandle); in TEST_F()
105 ASSERT_EQ(amrHandle, nullptr) << "Error deleting AMR-NB decoder"; in TEST_F()
118 void *amrHandle; in TEST_P() local
119 int32_t status = GSMInitDecode(&amrHandle, (Word8 *)"AMRNBDecoder"); in TEST_P()
123 int32_t decoderErr = DecodeFrames(amrHandle, outFileHandle); in TEST_P()
[all …]
Damrnbdec_test.cpp88 void* amrHandle; in main() local
89 int err = GSMInitDecode(&amrHandle, (Word8*)"AMRNBDecoder"); in main()
129 decodeStatus = AMRDecode(amrHandle, frameType, (uint8_t*)inputBuf, in main()
151 GSMDecodeFrameExit(&amrHandle); in main()
/frameworks/av/media/module/codecs/amrwb/dec/test/
DAmrwbDecoderTest.cpp130 void *amrHandle = nullptr; in TEST_F() local
133 pvDecoder_AmrWb_Init(&amrHandle, decoderBuf.get(), &decoderCookie); in TEST_F()
134 ASSERT_NE(amrHandle, nullptr) << "Failed to initialize decoder"; in TEST_F()
145 void *amrHandle = nullptr; in TEST_P() local
147 pvDecoder_AmrWb_Init(&amrHandle, decoderBuf.get(), &decoderCookie); in TEST_P()
148 ASSERT_NE(amrHandle, nullptr) << "Failed to initialize decoder"; in TEST_P()
171 void *amrHandle = nullptr; in TEST_P() local
173 pvDecoder_AmrWb_Init(&amrHandle, decoderBuf.get(), &decoderCookie); in TEST_P()
174 ASSERT_NE(amrHandle, nullptr) << "Failed to initialize decoder"; in TEST_P()
Damrwbdec_test.cpp95 void *amrHandle; in main() local
97 pvDecoder_AmrWb_Init(&amrHandle, decoderBuf, &decoderCookie); in main()