• Home
  • Raw
  • Download

Lines Matching refs:OPUS_OK

125          err = OPUS_OK;  in test_dec_api()
144 if(err!=OPUS_OK || dec==NULL)test_failed(); in test_dec_api()
155 if(err!=OPUS_OK)test_failed(); in test_dec_api()
169 if(err != OPUS_OK || i!=0)test_failed(); in test_dec_api()
177 if(err != OPUS_OK || i!=48000)test_failed(); in test_dec_api()
187 if(err != OPUS_OK || i>0 || i<-1)test_failed(); in test_dec_api()
195 if(err != OPUS_OK || i>0 || i<-1)test_failed(); in test_dec_api()
202 if(err != OPUS_OK || i>0 || i<-1)test_failed(); in test_dec_api()
210 if(err != OPUS_OK || i!=960)test_failed(); in test_dec_api()
217 if(err != OPUS_OK || i!=0)test_failed(); in test_dec_api()
229 if(err != OPUS_OK)test_failed(); in test_dec_api()
234 if(err != OPUS_OK || i!=-15)test_failed(); in test_dec_api()
242 if(opus_decoder_ctl(dec, OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in test_dec_api()
390 err = OPUS_OK; in test_msdec_api()
426 if((ret_err && *ret_err!=OPUS_OK) || dec==NULL)test_failed(); in test_msdec_api()
434 if((ret_err && *ret_err!=OPUS_OK) || dec==NULL)test_failed(); in test_msdec_api()
451 if((ret_err && *ret_err!=OPUS_OK) || dec==NULL)test_failed(); in test_msdec_api()
513 if((ret_err && *ret_err!=OPUS_OK) || dec==NULL)test_failed(); in test_msdec_api()
537 if(err!=OPUS_OK || dec==NULL)test_failed(); in test_msdec_api()
545 if(err!=OPUS_OK)test_failed(); in test_msdec_api()
556 if(err!=OPUS_OK||streamdec==NULL)test_failed(); in test_msdec_api()
563 if(err!=OPUS_OK||streamdec==NULL)test_failed(); in test_msdec_api()
572 if(err != OPUS_OK)test_failed(); in test_msdec_api()
576 if(err != OPUS_OK || i!=0)test_failed(); in test_msdec_api()
580 if(err!=OPUS_OK)test_failed(); in test_msdec_api()
586 if(err != OPUS_OK)test_failed(); in test_msdec_api()
590 if(err != OPUS_OK || i!=15)test_failed(); in test_msdec_api()
597 if(err != OPUS_OK || i!=0)test_failed(); in test_msdec_api()
614 if(err != OPUS_OK || i>0 || i<-1)test_failed(); in test_msdec_api()
622 if(err != OPUS_OK || i>0 || i<-1)test_failed(); in test_msdec_api()
629 if(err != OPUS_OK || i>0 || i<-1)test_failed(); in test_msdec_api()
635 if(opus_multistream_decoder_ctl(dec, OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in test_msdec_api()
643 if(err!=OPUS_OK || dec==NULL)test_failed(); in test_msdec_api()
1046 if(opus_encoder_ctl(enc,setcall)==OPUS_OK)test_failed();\
1048 if(opus_encoder_ctl(enc,setcall)==OPUS_OK)test_failed();\
1050 if(opus_encoder_ctl(enc,setcall)!=OPUS_OK)test_failed();\
1054 if(err!=OPUS_OK || i!=j)test_failed();\
1056 if(opus_encoder_ctl(enc,setcall)!=OPUS_OK)test_failed();\
1061 if(err!=OPUS_OK || i!=j)test_failed();\
1103 err = OPUS_OK; in test_enc_api()
1138 if(err!=OPUS_OK || enc==NULL)test_failed(); in test_enc_api()
1141 if(err!=OPUS_OK || i<0 || i>32766)test_failed(); in test_enc_api()
1147 if(err!=OPUS_OK || enc==NULL)test_failed(); in test_enc_api()
1150 if(err!=OPUS_OK || i<0 || i>32766)test_failed(); in test_enc_api()
1156 if(err!=OPUS_OK || enc==NULL)test_failed(); in test_enc_api()
1165 if(err!=OPUS_OK || i<0 || i>32766)test_failed(); in test_enc_api()
1173 if(err!=OPUS_OK || i!=48000)test_failed(); in test_enc_api()
1195 if(opus_encoder_ctl(enc,OPUS_SET_BITRATE(1073741832))!=OPUS_OK)test_failed(); in test_enc_api()
1198 if(opus_encoder_ctl(enc,OPUS_GET_BITRATE(&i))!=OPUS_OK)test_failed(); in test_enc_api()
1215 if(opus_encoder_ctl(enc,OPUS_SET_BANDWIDTH(i))==OPUS_OK)test_failed(); in test_enc_api()
1218 if(opus_encoder_ctl(enc,OPUS_SET_BANDWIDTH(i))==OPUS_OK)test_failed(); in test_enc_api()
1221 if(opus_encoder_ctl(enc,OPUS_SET_BANDWIDTH(i))!=OPUS_OK)test_failed(); in test_enc_api()
1224 if(opus_encoder_ctl(enc,OPUS_SET_BANDWIDTH(i))!=OPUS_OK)test_failed(); in test_enc_api()
1227 if(opus_encoder_ctl(enc,OPUS_SET_BANDWIDTH(i))!=OPUS_OK)test_failed(); in test_enc_api()
1230 if(opus_encoder_ctl(enc,OPUS_SET_BANDWIDTH(i))!=OPUS_OK)test_failed(); in test_enc_api()
1238 if(err!=OPUS_OK || (i!=OPUS_BANDWIDTH_NARROWBAND&& in test_enc_api()
1242 if(opus_encoder_ctl(enc,OPUS_SET_BANDWIDTH(OPUS_AUTO))!=OPUS_OK)test_failed(); in test_enc_api()
1250 if(opus_encoder_ctl(enc,OPUS_SET_MAX_BANDWIDTH(i))==OPUS_OK)test_failed(); in test_enc_api()
1253 if(opus_encoder_ctl(enc,OPUS_SET_MAX_BANDWIDTH(i))==OPUS_OK)test_failed(); in test_enc_api()
1256 if(opus_encoder_ctl(enc,OPUS_SET_MAX_BANDWIDTH(i))!=OPUS_OK)test_failed(); in test_enc_api()
1259 if(opus_encoder_ctl(enc,OPUS_SET_MAX_BANDWIDTH(i))!=OPUS_OK)test_failed(); in test_enc_api()
1262 if(opus_encoder_ctl(enc,OPUS_SET_MAX_BANDWIDTH(i))!=OPUS_OK)test_failed(); in test_enc_api()
1265 if(opus_encoder_ctl(enc,OPUS_SET_MAX_BANDWIDTH(i))!=OPUS_OK)test_failed(); in test_enc_api()
1273 if(err!=OPUS_OK || (i!=OPUS_BANDWIDTH_NARROWBAND&& in test_enc_api()
1367 if(err!=OPUS_OK)test_failed(); in test_enc_api()
1370 if(err!=OPUS_OK)test_failed(); in test_enc_api()
1373 if(err!=OPUS_OK)test_failed(); in test_enc_api()
1376 if(err!=OPUS_OK)test_failed(); in test_enc_api()
1379 if(err!=OPUS_OK)test_failed(); in test_enc_api()
1382 if(err!=OPUS_OK)test_failed(); in test_enc_api()
1385 if(err!=OPUS_OK)test_failed(); in test_enc_api()
1388 if(err!=OPUS_OK)test_failed(); in test_enc_api()
1391 if(err!=OPUS_OK)test_failed(); in test_enc_api()
1403 if(opus_encoder_ctl(enc,OPUS_GET_FINAL_RANGE(&enc_final_range))!=OPUS_OK)test_failed(); in test_enc_api()
1408 if(opus_encoder_ctl(enc, OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in test_enc_api()
1510 if(opus_repacketizer_cat(rp,packet,3)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1542 if((cnt<=maxp&&k<=(1275*i))?ret!=OPUS_OK:ret!=OPUS_INVALID_PACKET)test_failed(); in test_repacketizer_api()
1562 if(opus_packet_pad(po,len,len+1)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1564 if(opus_packet_pad(po,len+1,len+256)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1570 if(opus_multistream_packet_pad(po,len,len+1,1)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1572 if(opus_multistream_packet_pad(po,len+1,len+256,1)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1595 if(opus_repacketizer_cat(rp,packet,5)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1598 if(opus_repacketizer_cat(rp,packet,9)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1613 if(opus_repacketizer_cat(rp,packet,9)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1616 if(opus_repacketizer_cat(rp,packet,3)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1626 if(opus_repacketizer_cat(rp,packet,8)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1628 if(opus_repacketizer_cat(rp,packet,8)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1638 if(opus_repacketizer_cat(rp,packet,10)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1640 if(opus_repacketizer_cat(rp,packet,10)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1662 if(ret!=OPUS_OK)test_failed(); in test_repacketizer_api()
1677 if(opus_packet_pad(po,len,len+1)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1679 if(opus_packet_pad(po,len+1,len+256)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1685 if(opus_multistream_packet_pad(po,len,len+1,1)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1687 if(opus_multistream_packet_pad(po,len+1,len+256,1)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1705 if(opus_packet_pad(po,4,4)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1707 if(opus_multistream_packet_pad(po,4,4,1)!=OPUS_OK)test_failed(); in test_repacketizer_api()