Home | History | Annotate | Download | only in tests

Lines Matching refs:plen

54    int err,skip,plen;
302 plen=(fast_rand()%18+3)*8+skip+3;
307 for(t=0;t<5*2;t++)expected[t]=opus_decoder_get_nb_samples(dec[t],packet,plen);
308 for(j=0;j<plen;j++)packet[j+1]=(fast_rand()|fast_rand())&255;
310 if(opus_decode(decbak, packet, plen+1, outbuf, expected[0], 1)!=expected[0])test_failed();
318 out_samples = opus_decode(dec[t], packet, plen+1, outbuf, MAX_FRAME_SAMP, 0);
326 fprintf(stdout," dec[all] random packets, all mode pairs (4096), %d bytes/frame OK.\n",plen+1);
328 plen=(fast_rand()%18+3)*8+skip+3;
334 expected=opus_decoder_get_nb_samples(dec[t],packet,plen);
337 for(j=0;j<plen;j++)packet[j+1]=(fast_rand()|fast_rand())&255;
338 out_samples = opus_decode(dec[t], packet, plen+1, outbuf, MAX_FRAME_SAMP, 0);
342 fprintf(stdout," dec[%3d] random packets, all mode pairs (4096)*10, %d bytes/frame OK.\n",t,plen+1);