Home
last modified time | relevance | path

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

/external/libopus/tests/
Dtest_opus_encode.c181 if(opus_encoder_ctl(tmp_enc, OPUS_GET_LSB_DEPTH(&j))!=OPUS_OK)test_failed(); in run_test1()
230 if(opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_AUTO))!=OPUS_OK)test_failed(); in run_test1()
231 if(opus_encoder_ctl(enc, OPUS_SET_FORCE_MODE(-2))!=OPUS_BAD_ARG)test_failed(); in run_test1()
235 if(opus_encoder_ctl(enc, OPUS_SET_VBR(rc<2))!=OPUS_OK)test_failed(); in run_test1()
236 if(opus_encoder_ctl(enc, OPUS_SET_VBR_CONSTRAINT(rc==1))!=OPUS_OK)test_failed(); in run_test1()
237 if(opus_encoder_ctl(enc, OPUS_SET_VBR_CONSTRAINT(rc==1))!=OPUS_OK)test_failed(); in run_test1()
238 if(opus_encoder_ctl(enc, OPUS_SET_INBAND_FEC(rc==0))!=OPUS_OK)test_failed(); in run_test1()
252 if(opus_encoder_ctl(enc, OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in run_test1()
265 if(opus_encoder_ctl(enc, OPUS_SET_COMPLEXITY(complex))!=OPUS_OK)test_failed(); in run_test1()
268 if(opus_encoder_ctl(enc, OPUS_SET_INBAND_FEC(rc==0))!=OPUS_OK)test_failed(); in run_test1()
[all …]
Dtest_opus_api.c1048 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/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/src/
Dopus_demo.c193 #define opus_encoder_ctl opus_multistream_encoder_ctl
531 opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrate_bps)); in main()
532 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(bandwidth)); in main()
533 opus_encoder_ctl(enc, OPUS_SET_VBR(use_vbr)); in main()
534 opus_encoder_ctl(enc, OPUS_SET_VBR_CONSTRAINT(cvbr)); in main()
535 opus_encoder_ctl(enc, OPUS_SET_COMPLEXITY(complexity)); in main()
536 opus_encoder_ctl(enc, OPUS_SET_INBAND_FEC(use_inbandfec)); in main()
537 opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS(forcechannels)); in main()
538 opus_encoder_ctl(enc, OPUS_SET_DTX(use_dtx)); in main()
539 opus_encoder_ctl(enc, OPUS_SET_PACKET_LOSS_PERC(packet_loss_perc)); in main()
[all …]
Dopus_multistream_encoder.c470 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_SET_LFE(1)); in opus_multistream_encoder_init_impl()
477 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_SET_LFE(1)); in opus_multistream_encoder_init_impl()
796 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs)); in rate_allocation()
858 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs)); in opus_multistream_encode_native()
859 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_VBR(&vbr)); in opus_multistream_encode_native()
860 opus_encoder_ctl((OpusEncoder*)ptr, CELT_GET_MODE(&celt_mode)); in opus_multistream_encode_native()
867 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_LOOKAHEAD(&delay_compensation)); in opus_multistream_encode_native()
933 opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrates[s])); in opus_multistream_encode_native()
941 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_FULLBAND)); in opus_multistream_encode_native()
943 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_SUPERWIDEBAND)); in opus_multistream_encode_native()
[all …]
Dopus_encoder.c2072 int opus_encoder_ctl(OpusEncoder *st, int request, ...) in opus_encoder_ctl() function
/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);