Lines Matching refs:opus_encoder_ctl
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();\
1053 err=opus_encoder_ctl(enc,getcall);\
1056 if(opus_encoder_ctl(enc,setcall)!=OPUS_OK)test_failed();\
1060 err=opus_encoder_ctl(enc,getcall);\
1140 err=opus_encoder_ctl(enc,OPUS_GET_LOOKAHEAD(&i)); in test_enc_api()
1149 err=opus_encoder_ctl(enc,OPUS_GET_LOOKAHEAD(&i)); in test_enc_api()
1164 err=opus_encoder_ctl(enc,OPUS_GET_LOOKAHEAD(&i)); in test_enc_api()
1167 err=opus_encoder_ctl(enc,OPUS_GET_LOOKAHEAD(null_int_ptr)); in test_enc_api()
1172 err=opus_encoder_ctl(enc,OPUS_GET_SAMPLE_RATE(&i)); in test_enc_api()
1175 err=opus_encoder_ctl(enc,OPUS_GET_SAMPLE_RATE(null_int_ptr)); in test_enc_api()
1180 if(opus_encoder_ctl(enc,OPUS_UNIMPLEMENTED)!=OPUS_UNIMPLEMENTED)test_failed(); in test_enc_api()
1184 err=opus_encoder_ctl(enc,OPUS_GET_APPLICATION(null_int_ptr)); in test_enc_api()
1192 err=opus_encoder_ctl(enc,OPUS_GET_BITRATE(null_int_ptr)); 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()
1206 err=opus_encoder_ctl(enc,OPUS_GET_FORCE_CHANNELS(null_int_ptr)); 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()
1237 err=opus_encoder_ctl(enc,OPUS_GET_BANDWIDTH(&i)); in test_enc_api()
1242 if(opus_encoder_ctl(enc,OPUS_SET_BANDWIDTH(OPUS_AUTO))!=OPUS_OK)test_failed(); in test_enc_api()
1244 err=opus_encoder_ctl(enc,OPUS_GET_BANDWIDTH(null_int_ptr)); 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()
1272 err=opus_encoder_ctl(enc,OPUS_GET_MAX_BANDWIDTH(&i)); in test_enc_api()
1277 err=opus_encoder_ctl(enc,OPUS_GET_MAX_BANDWIDTH(null_int_ptr)); in test_enc_api()
1282 err=opus_encoder_ctl(enc,OPUS_GET_DTX(null_int_ptr)); in test_enc_api()
1290 err=opus_encoder_ctl(enc,OPUS_GET_COMPLEXITY(null_int_ptr)); in test_enc_api()
1298 err=opus_encoder_ctl(enc,OPUS_GET_INBAND_FEC(null_int_ptr)); in test_enc_api()
1306 err=opus_encoder_ctl(enc,OPUS_GET_PACKET_LOSS_PERC(null_int_ptr)); in test_enc_api()
1314 err=opus_encoder_ctl(enc,OPUS_GET_VBR(null_int_ptr)); in test_enc_api()
1330 err=opus_encoder_ctl(enc,OPUS_GET_VBR_CONSTRAINT(null_int_ptr)); in test_enc_api()
1338 err=opus_encoder_ctl(enc,OPUS_GET_SIGNAL(null_int_ptr)); in test_enc_api()
1346 err=opus_encoder_ctl(enc,OPUS_GET_LSB_DEPTH(null_int_ptr)); in test_enc_api()
1353 err=opus_encoder_ctl(enc,OPUS_GET_PREDICTION_DISABLED(&i)); in test_enc_api()
1356 err=opus_encoder_ctl(enc,OPUS_GET_PREDICTION_DISABLED(null_int_ptr)); in test_enc_api()
1363 err=opus_encoder_ctl(enc,OPUS_GET_EXPERT_FRAME_DURATION(null_int_ptr)); in test_enc_api()
1366 err=opus_encoder_ctl(enc,OPUS_SET_EXPERT_FRAME_DURATION(OPUS_FRAMESIZE_2_5_MS)); in test_enc_api()
1369 err=opus_encoder_ctl(enc,OPUS_SET_EXPERT_FRAME_DURATION(OPUS_FRAMESIZE_5_MS)); in test_enc_api()
1372 err=opus_encoder_ctl(enc,OPUS_SET_EXPERT_FRAME_DURATION(OPUS_FRAMESIZE_10_MS)); in test_enc_api()
1375 err=opus_encoder_ctl(enc,OPUS_SET_EXPERT_FRAME_DURATION(OPUS_FRAMESIZE_20_MS)); in test_enc_api()
1378 err=opus_encoder_ctl(enc,OPUS_SET_EXPERT_FRAME_DURATION(OPUS_FRAMESIZE_40_MS)); in test_enc_api()
1381 err=opus_encoder_ctl(enc,OPUS_SET_EXPERT_FRAME_DURATION(OPUS_FRAMESIZE_60_MS)); in test_enc_api()
1384 err=opus_encoder_ctl(enc,OPUS_SET_EXPERT_FRAME_DURATION(OPUS_FRAMESIZE_80_MS)); in test_enc_api()
1387 err=opus_encoder_ctl(enc,OPUS_SET_EXPERT_FRAME_DURATION(OPUS_FRAMESIZE_100_MS)); in test_enc_api()
1390 err=opus_encoder_ctl(enc,OPUS_SET_EXPERT_FRAME_DURATION(OPUS_FRAMESIZE_120_MS)); in test_enc_api()
1400 err=opus_encoder_ctl(enc,OPUS_GET_FINAL_RANGE(null_uint_ptr)); 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()
1431 if(opus_encoder_ctl(0,OPUS_RESET_STATE) !=OPUS_INVALID_STATE)test_failed(); in test_enc_api()