Home
last modified time | relevance | path

Searched refs:opus_encoder_ctl (Results 1 – 10 of 10) sorted by relevance

/external/libopus/tests/
Dopus_encode_regressions.c934 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 …]
Dtest_opus_encode.c248 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 …]
Dtest_opus_api.c1046 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()
[all …]
/external/libopus/src/
Dopus_demo.c186 #define opus_encoder_ctl opus_multistream_encoder_ctl
527 opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrate_bps)); in main()
528 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(bandwidth)); in main()
529 opus_encoder_ctl(enc, OPUS_SET_VBR(use_vbr)); in main()
530 opus_encoder_ctl(enc, OPUS_SET_VBR_CONSTRAINT(cvbr)); in main()
531 opus_encoder_ctl(enc, OPUS_SET_COMPLEXITY(complexity)); in main()
532 opus_encoder_ctl(enc, OPUS_SET_INBAND_FEC(use_inbandfec)); in main()
533 opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS(forcechannels)); in main()
534 opus_encoder_ctl(enc, OPUS_SET_DTX(use_dtx)); in main()
535 opus_encoder_ctl(enc, OPUS_SET_PACKET_LOSS_PERC(packet_loss_perc)); in main()
[all …]
Dopus_multistream_encoder.c477 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_SET_LFE(1)); in opus_multistream_encoder_init_impl()
484 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_SET_LFE(1)); in opus_multistream_encoder_init_impl()
782 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs)); in rate_allocation()
843 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs)); in opus_multistream_encode_native()
844 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_VBR(&vbr)); in opus_multistream_encode_native()
845 opus_encoder_ctl((OpusEncoder*)ptr, CELT_GET_MODE(&celt_mode)); in opus_multistream_encode_native()
897 opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrates[s])); in opus_multistream_encode_native()
905 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_FULLBAND)); in opus_multistream_encode_native()
907 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_SUPERWIDEBAND)); in opus_multistream_encode_native()
909 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_WIDEBAND)); in opus_multistream_encode_native()
[all …]
Dopus_encoder.c2267 int opus_encoder_ctl(OpusEncoder *st, int request, ...) in opus_encoder_ctl() function
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Dopus_interface.c161 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()
Dopus_unittest.cc98 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/
Dtrivial_example.c81 err = opus_encoder_ctl(encoder, OPUS_SET_BITRATE(BITRATE)); in main()
/external/libopus/include/
Dopus.h328 OPUS_EXPORT int opus_encoder_ctl(OpusEncoder *st, int request, ...) OPUS_ARG_NONNULL(1);