Lines Matching refs:MAX_FRAME_SAMP
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()
564 opus_int32 offset=i%(SAMPLES-MAX_FRAME_SAMP); in run_test1()
574 out_samples = opus_decode(dec, packet, len, &outbuf[offset<<1], MAX_FRAME_SAMP, 0); in run_test1()
588 out_samples = opus_decode(dec_err[0], len>0?packet:NULL, len, out2buf, MAX_FRAME_SAMP, 0); in run_test1()
589 if(out_samples<0||out_samples>MAX_FRAME_SAMP)test_failed(); in run_test1()
596 out_samples = opus_decode(dec_err[dec2], len>0?packet:NULL, len, out2buf, MAX_FRAME_SAMP, 0); in run_test1()
597 …if(out_samples<0||out_samples>MAX_FRAME_SAMP)test_failed(); /*FIXME, use factor, lastframe for los… in run_test1()