Lines Matching refs:rcnt
1528 opus_int32 cnt,rcnt; in test_repacketizer_api() local
1538 rcnt=k<=(1275*i)?(cnt<maxp?cnt:maxp):0; in test_repacketizer_api()
1539 if(opus_repacketizer_get_nb_frames(rp)!=rcnt*i)test_failed(); in test_repacketizer_api()
1541 ret=opus_repacketizer_out_range(rp,0,rcnt*i,po,max_out); in test_repacketizer_api()
1542 if(rcnt>0) in test_repacketizer_api()
1545 len=k*rcnt+((rcnt*i)>2?2:1); in test_repacketizer_api()
1547 if((rcnt*i)<2&&(po[0]&3)!=0)test_failed(); /* Code 0 */ in test_repacketizer_api()
1548 if((rcnt*i)==2&&(po[0]&3)!=1)test_failed(); /* Code 1 */ in test_repacketizer_api()
1549 if((rcnt*i)>2&&(((po[0]&3)!=3)||(po[1]!=rcnt*i)))test_failed(); /* Code 3 CBR */ in test_repacketizer_api()
1643 int maxi,sum,rcnt; in test_repacketizer_api() local
1647 rcnt=0; in test_repacketizer_api()
1653 if(rcnt<maxi) in test_repacketizer_api()
1656 rcnt++; in test_repacketizer_api()
1660 len=sum+(rcnt<2?1:rcnt<3?2:2+rcnt-1); in test_repacketizer_api()
1662 if(rcnt>2&&(po[1]&63)!=rcnt)test_failed(); in test_repacketizer_api()
1663 if(rcnt==2&&(po[0]&3)!=2)test_failed(); in test_repacketizer_api()
1664 if(rcnt==1&&(po[0]&3)!=0)test_failed(); in test_repacketizer_api()