Searched refs:MAX_FRAME_SAMP (Results 1 – 2 of 2) 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() 143 out_samples = opus_decode(dec[t], packet, -1, outbuf, MAX_FRAME_SAMP, fec); in test_decoder_code0() 145 out_samples = opus_decode(dec[t], packet, INT_MIN, outbuf, MAX_FRAME_SAMP, fec); in test_decoder_code0() 151 out_samples = opus_decode(dec[t], packet, 1, outbuf, MAX_FRAME_SAMP, fec?-1:2); in test_decoder_code0() 181 out_samples = opus_decode(dec[t], packet, 3, outbuf, MAX_FRAME_SAMP, 0); in test_decoder_code0() 225 for(i=MAX_FRAME_SAMP*2;i<(MAX_FRAME_SAMP+8)*2;i++)err|=outbuf[i]!=32749; in test_decoder_code0() 252 out_samples = opus_decode(dec[t], packet, 4, outbuf, MAX_FRAME_SAMP, 0); in test_decoder_code0() 270 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 220 out2buf=(short *)malloc(sizeof(short)*MAX_FRAME_SAMP*3); in run_test1() 298 out_samples = opus_decode(dec, packet, len, &outbuf[i<<1], MAX_FRAME_SAMP, 0); in run_test1() 305 …= opus_decode(dec_err[1], packet, (fast_rand()&3)==0?0:len, out2buf, MAX_FRAME_SAMP, (fast_rand()&… in run_test1() 309 }while(i<(SSAMPLES-MAX_FRAME_SAMP)); in run_test1() 375 out_samples = opus_multistream_decode(MSdec, packet, len, out2buf, MAX_FRAME_SAMP, 0); in run_test1() 385 }while(i<(SSAMPLES/12-MAX_FRAME_SAMP)); in run_test1() 405 opus_int32 offset=i%(SAMPLES-MAX_FRAME_SAMP); in run_test1() 415 out_samples = opus_decode(dec, packet, len, &outbuf[offset<<1], MAX_FRAME_SAMP, 0); in run_test1() 429 out_samples = opus_decode(dec_err[0], len>0?packet:NULL, len, out2buf, MAX_FRAME_SAMP, 0); in run_test1() [all …]
|