Searched refs:MAX_FRAME_SAMP (Results 1 – 3 of 3) sorted by relevance
/external/libopus/tests/ |
D | test_opus_decode.c | 49 #define MAX_FRAME_SAMP (5760) macro 72 outbuf_int=malloc(sizeof(short)*(MAX_FRAME_SAMP+16)*2); in test_decoder_code0() 73 for(i=0;i<(MAX_FRAME_SAMP+16)*2;i++)outbuf_int[i]=32749; in test_decoder_code0() 150 out_samples = opus_decode(dec[t], packet, -1, outbuf, MAX_FRAME_SAMP, fec); in test_decoder_code0() 152 out_samples = opus_decode(dec[t], packet, INT_MIN, outbuf, MAX_FRAME_SAMP, fec); in test_decoder_code0() 158 out_samples = opus_decode(dec[t], packet, 1, outbuf, MAX_FRAME_SAMP, fec?-1:2); in test_decoder_code0() 188 out_samples = opus_decode(dec[t], packet, 3, outbuf, MAX_FRAME_SAMP, 0); in test_decoder_code0() 232 for(i=MAX_FRAME_SAMP*2;i<(MAX_FRAME_SAMP+8)*2;i++)err|=outbuf[i]!=32749; in test_decoder_code0() 259 out_samples = opus_decode(dec[t], packet, 4, outbuf, MAX_FRAME_SAMP, 0); in test_decoder_code0() 277 out_samples = opus_decode(dec[t], packet, 4, outbuf, MAX_FRAME_SAMP, 0); in test_decoder_code0() [all …]
|
D | test_opus_encode.c | 53 #define MAX_FRAME_SAMP (5760) macro 158 outbuf = (opus_int16*)malloc(sizeof(*outbuf)*MAX_FRAME_SAMP*3); in test_encode() 169 out_samples = opus_decode(dec, packet, len, outbuf, MAX_FRAME_SAMP, 0); in test_encode() 177 } while (samp_count < ((SSAMPLES/2)-MAX_FRAME_SAMP)); in test_encode() 377 out2buf=(short *)malloc(sizeof(short)*MAX_FRAME_SAMP*3); in run_test1() 456 out_samples = opus_decode(dec, packet, len, &outbuf[i<<1], MAX_FRAME_SAMP, 0); in run_test1() 463 …= opus_decode(dec_err[1], packet, (fast_rand()&3)==0?0:len, out2buf, MAX_FRAME_SAMP, (fast_rand()&… in run_test1() 467 }while(i<(SSAMPLES-MAX_FRAME_SAMP)); in run_test1() 534 out_samples = opus_multistream_decode(MSdec, packet, len, out2buf, MAX_FRAME_SAMP, 0); in run_test1() 544 }while(i<(SSAMPLES/12-MAX_FRAME_SAMP)); in run_test1() [all …]
|
D | opus_decode_fuzzer.c | 37 #define MAX_FRAME_SAMP 5760 macro 86 pcm = (opus_int16*) malloc(sizeof(*pcm) * MAX_FRAME_SAMP * toc.channels); in LLVMFuzzerTestOneInput() 112 (void) opus_decode(dec, temp_data, len, pcm, MAX_FRAME_SAMP, fec); in LLVMFuzzerTestOneInput()
|