Lines Matching refs:rcnt
1537 opus_int32 cnt,rcnt; in test_repacketizer_api() local
1547 rcnt=k<=(1275*i)?(cnt<maxp?cnt:maxp):0; in test_repacketizer_api()
1548 if(opus_repacketizer_get_nb_frames(rp)!=rcnt*i)test_failed(); in test_repacketizer_api()
1550 ret=opus_repacketizer_out_range(rp,0,rcnt*i,po,max_out); in test_repacketizer_api()
1551 if(rcnt>0) in test_repacketizer_api()
1554 len=k*rcnt+((rcnt*i)>2?2:1); in test_repacketizer_api()
1556 if((rcnt*i)<2&&(po[0]&3)!=0)test_failed(); /* Code 0 */ in test_repacketizer_api()
1557 if((rcnt*i)==2&&(po[0]&3)!=1)test_failed(); /* Code 1 */ in test_repacketizer_api()
1558 if((rcnt*i)>2&&(((po[0]&3)!=3)||(po[1]!=rcnt*i)))test_failed(); /* Code 3 CBR */ in test_repacketizer_api()
1652 int maxi,sum,rcnt; in test_repacketizer_api() local
1656 rcnt=0; in test_repacketizer_api()
1662 if(rcnt<maxi) in test_repacketizer_api()
1665 rcnt++; in test_repacketizer_api()
1669 len=sum+(rcnt<2?1:rcnt<3?2:2+rcnt-1); in test_repacketizer_api()
1671 if(rcnt>2&&(po[1]&63)!=rcnt)test_failed(); in test_repacketizer_api()
1672 if(rcnt==2&&(po[0]&3)!=2)test_failed(); in test_repacketizer_api()
1673 if(rcnt==1&&(po[0]&3)!=0)test_failed(); in test_repacketizer_api()