/external/libopus/tests/ |
D | opus_encode_regressions.c | 934 opus_encoder_ctl(enc, OPUS_SET_COMPLEXITY(10)); in ec_enc_shrink_assert() 935 opus_encoder_ctl(enc, OPUS_SET_PACKET_LOSS_PERC(6)); in ec_enc_shrink_assert() 936 opus_encoder_ctl(enc, OPUS_SET_BITRATE(6000)); in ec_enc_shrink_assert() 940 opus_encoder_ctl(enc, OPUS_SET_SIGNAL(OPUS_SIGNAL_VOICE)); in ec_enc_shrink_assert() 941 opus_encoder_ctl(enc, OPUS_SET_PREDICTION_DISABLED(1)); in ec_enc_shrink_assert() 942 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_SUPERWIDEBAND)); in ec_enc_shrink_assert() 943 opus_encoder_ctl(enc, OPUS_SET_INBAND_FEC(1)); in ec_enc_shrink_assert() 944 opus_encoder_ctl(enc, OPUS_SET_BITRATE(15600)); in ec_enc_shrink_assert() 948 opus_encoder_ctl(enc, OPUS_SET_SIGNAL(OPUS_SIGNAL_MUSIC)); in ec_enc_shrink_assert() 949 opus_encoder_ctl(enc, OPUS_SET_BITRATE(27000)); in ec_enc_shrink_assert() [all …]
|
D | test_opus_encode.c | 248 if(opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrate)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 249 if(opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS(force_channel)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 250 if(opus_encoder_ctl(enc, OPUS_SET_VBR(vbr)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 251 … if(opus_encoder_ctl(enc, OPUS_SET_VBR_CONSTRAINT(vbr_constraint)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 252 if(opus_encoder_ctl(enc, OPUS_SET_COMPLEXITY(complexity)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 253 if(opus_encoder_ctl(enc, OPUS_SET_MAX_BANDWIDTH(max_bw)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 254 if(opus_encoder_ctl(enc, OPUS_SET_SIGNAL(sig)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 255 if(opus_encoder_ctl(enc, OPUS_SET_INBAND_FEC(inband_fec)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 256 if(opus_encoder_ctl(enc, OPUS_SET_PACKET_LOSS_PERC(pkt_loss)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 257 if(opus_encoder_ctl(enc, OPUS_SET_LSB_DEPTH(lsb_depth)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() [all …]
|
D | test_opus_api.c | 1048 if(opus_encoder_ctl(enc,setcall)==OPUS_OK)test_failed();\ 1050 if(opus_encoder_ctl(enc,setcall)==OPUS_OK)test_failed();\ 1052 if(opus_encoder_ctl(enc,setcall)!=OPUS_OK)test_failed();\ 1055 err=opus_encoder_ctl(enc,getcall);\ 1058 if(opus_encoder_ctl(enc,setcall)!=OPUS_OK)test_failed();\ 1062 err=opus_encoder_ctl(enc,getcall);\ 1142 err=opus_encoder_ctl(enc,OPUS_GET_LOOKAHEAD(&i)); in test_enc_api() 1151 err=opus_encoder_ctl(enc,OPUS_GET_LOOKAHEAD(&i)); in test_enc_api() 1166 err=opus_encoder_ctl(enc,OPUS_GET_LOOKAHEAD(&i)); in test_enc_api() 1169 err=opus_encoder_ctl(enc,OPUS_GET_LOOKAHEAD((opus_int32 *)NULL)); in test_enc_api() [all …]
|
/external/libopus/src/ |
D | opus_demo.c | 193 #define opus_encoder_ctl opus_multistream_encoder_ctl 534 opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrate_bps)); in main() 535 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(bandwidth)); in main() 536 opus_encoder_ctl(enc, OPUS_SET_VBR(use_vbr)); in main() 537 opus_encoder_ctl(enc, OPUS_SET_VBR_CONSTRAINT(cvbr)); in main() 538 opus_encoder_ctl(enc, OPUS_SET_COMPLEXITY(complexity)); in main() 539 opus_encoder_ctl(enc, OPUS_SET_INBAND_FEC(use_inbandfec)); in main() 540 opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS(forcechannels)); in main() 541 opus_encoder_ctl(enc, OPUS_SET_DTX(use_dtx)); in main() 542 opus_encoder_ctl(enc, OPUS_SET_PACKET_LOSS_PERC(packet_loss_perc)); in main() [all …]
|
D | opus_multistream_encoder.c | 512 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_SET_LFE(1)); in opus_multistream_encoder_init_impl() 519 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_SET_LFE(1)); in opus_multistream_encoder_init_impl() 866 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs)); in rate_allocation() 928 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs)); in opus_multistream_encode_native() 929 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_VBR(&vbr)); in opus_multistream_encode_native() 930 opus_encoder_ctl((OpusEncoder*)ptr, CELT_GET_MODE(&celt_mode)); in opus_multistream_encode_native() 982 opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrates[s])); in opus_multistream_encode_native() 990 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_FULLBAND)); in opus_multistream_encode_native() 992 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_SUPERWIDEBAND)); in opus_multistream_encode_native() 994 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_WIDEBAND)); in opus_multistream_encode_native() [all …]
|
D | opus_encoder.c | 2243 int opus_encoder_ctl(OpusEncoder *st, int request, ...) in opus_encoder_ctl() function
|
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
D | opus_interface.c | 161 return opus_encoder_ctl(inst->encoder, OPUS_SET_BITRATE(rate)); in WebRtcOpus_SetBitRate() 169 return opus_encoder_ctl(inst->encoder, in WebRtcOpus_SetPacketLossRate() 193 return opus_encoder_ctl(inst->encoder, in WebRtcOpus_SetMaxPlaybackRate() 199 return opus_encoder_ctl(inst->encoder, OPUS_SET_INBAND_FEC(1)); in WebRtcOpus_EnableFec() 207 return opus_encoder_ctl(inst->encoder, OPUS_SET_INBAND_FEC(0)); in WebRtcOpus_DisableFec() 223 int ret = opus_encoder_ctl(inst->encoder, in WebRtcOpus_EnableDtx() 228 return opus_encoder_ctl(inst->encoder, OPUS_SET_DTX(1)); in WebRtcOpus_EnableDtx() 233 int ret = opus_encoder_ctl(inst->encoder, in WebRtcOpus_DisableDtx() 237 return opus_encoder_ctl(inst->encoder, OPUS_SET_DTX(0)); in WebRtcOpus_DisableDtx() 245 return opus_encoder_ctl(inst->encoder, OPUS_SET_COMPLEXITY(complexity)); in WebRtcOpus_SetComplexity()
|
D | opus_unittest.cc | 98 opus_encoder_ctl(opus_encoder_->encoder, in SetMaxPlaybackRate() 352 opus_encoder_ctl(opus_encoder_->encoder, in TEST_P() 467 opus_encoder_ctl(opus_encoder_->encoder, in TEST_P() 473 opus_encoder_ctl(opus_encoder_->encoder, in TEST_P() 479 opus_encoder_ctl(opus_encoder_->encoder, in TEST_P()
|
/external/libopus/doc/ |
D | trivial_example.c | 81 err = opus_encoder_ctl(encoder, OPUS_SET_BITRATE(BITRATE)); in main()
|
/external/libopus/include/ |
D | opus.h | 328 OPUS_EXPORT int opus_encoder_ctl(OpusEncoder *st, int request, ...) OPUS_ARG_NONNULL(1);
|