Lines Matching refs:out_samples
150 int out_samples; in test_encode() local
169 out_samples = opus_decode(dec, packet, len, outbuf, MAX_FRAME_SAMP, 0); in test_encode()
170 if(out_samples!=frame_size) { in test_encode()
171 fprintf(stderr,"opus_decode() returned %d\n",out_samples); in test_encode()
406 int bw,len,out_samples,frame_size; in run_test1() local
456 out_samples = opus_decode(dec, packet, len, &outbuf[i<<1], MAX_FRAME_SAMP, 0); in run_test1()
457 if(out_samples!=frame_size)test_failed(); in run_test1()
461 … out_samples = opus_decode(dec_err[0], packet, len, out2buf, frame_size, (fast_rand()&3)!=0); in run_test1()
462 if(out_samples!=frame_size)test_failed(); in run_test1()
463 …out_samples = opus_decode(dec_err[1], packet, (fast_rand()&3)==0?0:len, out2buf, MAX_FRAME_SAMP, (… in run_test1()
464 if(out_samples<120)test_failed(); in run_test1()
496 int len,out_samples,frame_size,loss; in run_test1() local
534 out_samples = opus_multistream_decode(MSdec, packet, len, out2buf, MAX_FRAME_SAMP, 0); in run_test1()
535 if(out_samples!=frame_size*6)test_failed(); in run_test1()
540 …out_samples = opus_multistream_decode(MSdec_err, packet, loss?0:len, out2buf, frame_size*6, (fast_… in run_test1()
541 if(out_samples!=(frame_size*6))test_failed(); in run_test1()
562 int len,out_samples; in run_test1() local
574 out_samples = opus_decode(dec, packet, len, &outbuf[offset<<1], MAX_FRAME_SAMP, 0); in run_test1()
575 if(out_samples!=frame_size)test_failed(); 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()
590 if((len>0&&out_samples!=frame_size))test_failed(); /*FIXME use lastframe*/ 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()