/external/libopus/tests/ |
D | opus_encode_regressions.c | 933 opus_encoder_ctl(enc, OPUS_SET_COMPLEXITY(10)); in ec_enc_shrink_assert() 934 opus_encoder_ctl(enc, OPUS_SET_PACKET_LOSS_PERC(6)); in ec_enc_shrink_assert() 935 opus_encoder_ctl(enc, OPUS_SET_BITRATE(6000)); in ec_enc_shrink_assert() 939 opus_encoder_ctl(enc, OPUS_SET_SIGNAL(OPUS_SIGNAL_VOICE)); in ec_enc_shrink_assert() 940 opus_encoder_ctl(enc, OPUS_SET_PREDICTION_DISABLED(1)); in ec_enc_shrink_assert() 941 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_SUPERWIDEBAND)); in ec_enc_shrink_assert() 942 opus_encoder_ctl(enc, OPUS_SET_INBAND_FEC(1)); in ec_enc_shrink_assert() 943 opus_encoder_ctl(enc, OPUS_SET_BITRATE(15600)); in ec_enc_shrink_assert() 947 opus_encoder_ctl(enc, OPUS_SET_SIGNAL(OPUS_SIGNAL_MUSIC)); in ec_enc_shrink_assert() 948 opus_encoder_ctl(enc, OPUS_SET_BITRATE(27000)); in ec_enc_shrink_assert() [all …]
|
D | test_opus_encode.c | 240 if(opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrate)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 241 if(opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS(force_channel)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 242 if(opus_encoder_ctl(enc, OPUS_SET_VBR(vbr)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 243 … if(opus_encoder_ctl(enc, OPUS_SET_VBR_CONSTRAINT(vbr_constraint)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 244 if(opus_encoder_ctl(enc, OPUS_SET_COMPLEXITY(complexity)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 245 if(opus_encoder_ctl(enc, OPUS_SET_MAX_BANDWIDTH(max_bw)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 246 if(opus_encoder_ctl(enc, OPUS_SET_SIGNAL(sig)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 247 if(opus_encoder_ctl(enc, OPUS_SET_INBAND_FEC(inband_fec)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 248 if(opus_encoder_ctl(enc, OPUS_SET_PACKET_LOSS_PERC(pkt_loss)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 249 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 | 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() [all …]
|
/external/libopus/src/ |
D | opus_demo.c | 186 #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 …]
|
D | opus_multistream_encoder.c | 477 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() 783 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs)); in rate_allocation() 844 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs)); in opus_multistream_encode_native() 845 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_VBR(&vbr)); in opus_multistream_encode_native() 846 opus_encoder_ctl((OpusEncoder*)ptr, CELT_GET_MODE(&celt_mode)); in opus_multistream_encode_native() 898 opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrates[s])); in opus_multistream_encode_native() 906 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_FULLBAND)); in opus_multistream_encode_native() 908 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_SUPERWIDEBAND)); in opus_multistream_encode_native() 910 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_WIDEBAND)); in opus_multistream_encode_native() [all …]
|
D | opus_encoder.c | 2266 int opus_encoder_ctl(OpusEncoder *st, int request, ...) in opus_encoder_ctl() function
|
/external/openscreen/cast/standalone_sender/ |
D | streaming_opus_encoder.cc | 63 opus_encoder_ctl(encoder(), OPUS_GET_BITRATE(&bitrate)); in GetBitrate() 70 opus_encoder_ctl(encoder(), OPUS_SET_BITRATE(OPUS_AUTO)); in UseStandardQuality() 80 opus_encoder_ctl(encoder(), OPUS_SET_BITRATE(bitrate)); in UseHighQuality() 145 opus_encoder_ctl(encoder(), OPUS_GET_LOOKAHEAD(&lookahead)); in UpdateCodecDelay()
|
/external/webrtc/modules/audio_coding/codecs/opus/ |
D | opus_interface.cc | 266 ? opus_encoder_ctl(inst->encoder, vargs) \ 308 if (opus_encoder_ctl(inst->encoder, OPUS_GET_MAX_BANDWIDTH(result_hz)) == in WebRtcOpus_GetMaxPlaybackRate() 331 if (opus_encoder_ctl(enc, OPUS_GET_MAX_BANDWIDTH(&bandwidth)) != OPUS_OK) in WebRtcOpus_GetMaxPlaybackRate()
|
D | opus_unittest.cc | 508 ? opus_encoder_ctl(inst->encoder, vargs) \
|
/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);
|
/external/libopus/fuzzer/ |
D | opus_enc_fuzzer.cpp | 110 #define OPUS_ENC_CTL_API opus_encoder_ctl
|