Home
last modified time | relevance | path

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

/external/libopus/tests/
Dtest_opus_decode.c60 OpusDecoder *decbak; in test_decoder_code0() local
99 decbak=(OpusDecoder *)malloc(decsize); in test_decoder_code0()
100 if(decbak==NULL)test_failed(); in test_decoder_code0()
226 free(decbak); in test_decoder_code0()
316 memcpy(decbak,dec[0],decsize); in test_decoder_code0()
317 if(opus_decode(decbak, packet, plen+1, outbuf, expected[0], 1)!=expected[0])test_failed(); in test_decoder_code0()
318 memcpy(decbak,dec[0],decsize); in test_decoder_code0()
319 if(opus_decode(decbak, 0, 0, outbuf, MAX_FRAME_SAMP, 1)<20)test_failed(); in test_decoder_code0()
320 memcpy(decbak,dec[0],decsize); in test_decoder_code0()
321 if(opus_decode(decbak, 0, 0, outbuf, MAX_FRAME_SAMP, 0)<20)test_failed(); in test_decoder_code0()
[all …]