Home
last modified time | relevance | path

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

/external/libopus/tests/
Dtest_opus_decode.c111 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
127 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
162 if(opus_decoder_ctl(dec[t], OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in test_decoder_code0()
190 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
192 opus_decoder_ctl(dec[t], OPUS_GET_FINAL_RANGE(&dec_final_range1)); in test_decoder_code0()
205 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
214 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
261 opus_decoder_ctl(dec[t], OPUS_GET_FINAL_RANGE(&dec_final_range1)); in test_decoder_code0()
279 opus_decoder_ctl(dec[t], OPUS_GET_FINAL_RANGE(&dec_final_range1)); in test_decoder_code0()
300 opus_decoder_ctl(dec[t], OPUS_GET_FINAL_RANGE(&dec_final_range1)); in test_decoder_code0()
[all …]
Dtest_opus_api.c151 err=opus_decoder_ctl(dec, OPUS_GET_FINAL_RANGE(null_uint_ptr)); in test_dec_api()
154 err=opus_decoder_ctl(dec, OPUS_GET_FINAL_RANGE(&dec_final_range)); in test_dec_api()
160 err=opus_decoder_ctl(dec,OPUS_UNIMPLEMENTED); in test_dec_api()
165 err=opus_decoder_ctl(dec, OPUS_GET_BANDWIDTH(null_int_ptr)); in test_dec_api()
168 err=opus_decoder_ctl(dec, OPUS_GET_BANDWIDTH(&i)); in test_dec_api()
173 err=opus_decoder_ctl(dec, OPUS_GET_SAMPLE_RATE(null_int_ptr)); in test_dec_api()
176 err=opus_decoder_ctl(dec, OPUS_GET_SAMPLE_RATE(&i)); in test_dec_api()
182 err=opus_decoder_ctl(dec, OPUS_GET_PITCH(null_int_ptr)); in test_dec_api()
186 err=opus_decoder_ctl(dec, OPUS_GET_PITCH(&i)); in test_dec_api()
194 err=opus_decoder_ctl(dec, OPUS_GET_PITCH(&i)); in test_dec_api()
[all …]
Dtest_opus_encode.c411 if(opus_decoder_ctl(dec, OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in run_test1()
414 … if(opus_decoder_ctl(dec_err[fast_rand()&1], OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in run_test1()
419 if(opus_decoder_ctl(dec_err[fast_rand()&1], OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in run_test1()
425 if(fast_rand()%50==0)opus_decoder_ctl(dec, OPUS_RESET_STATE); in run_test1()
458 if(opus_decoder_ctl(dec, OPUS_GET_FINAL_RANGE(&dec_final_range))!=OPUS_OK)test_failed(); in run_test1()
577 opus_decoder_ctl(dec, OPUS_GET_FINAL_RANGE(&dec_final_range)); in run_test1()
592 opus_decoder_ctl(dec_err[0], OPUS_GET_FINAL_RANGE(&dec_final_range)); in run_test1()
599 opus_decoder_ctl(dec_err[dec2], OPUS_GET_FINAL_RANGE(&dec_final_range2)); in run_test1()
620 if(opus_decoder_ctl(dec, OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in run_test1()
Dopus_decode_fuzzer.c106 opus_decoder_ctl(dec, OPUS_GET_LAST_PACKET_DURATION(&frame_size)); in LLVMFuzzerTestOneInput()
/external/libopus/src/
Dopus_multistream_decoder.c441 ret = opus_decoder_ctl(dec, request, value); in opus_multistream_decoder_ctl_va_list()
462 ret = opus_decoder_ctl(dec, request, &tmp); in opus_multistream_decoder_ctl_va_list()
480 ret = opus_decoder_ctl(dec, OPUS_RESET_STATE); in opus_multistream_decoder_ctl_va_list()
524 ret = opus_decoder_ctl(dec, request, value); in opus_multistream_decoder_ctl_va_list()
Dopus_demo.c187 #define opus_decoder_ctl opus_multistream_decoder_ctl
767 opus_decoder_ctl(dec, OPUS_GET_LAST_PACKET_DURATION(&output_samples)); in main()
775 opus_decoder_ctl(dec, OPUS_GET_LAST_PACKET_DURATION(&output_samples)); in main()
818 opus_decoder_ctl(dec, OPUS_GET_FINAL_RANGE(&dec_final_range)); in main()
Dopus_decoder.c833 int opus_decoder_ctl(OpusDecoder *st, int request, ...) in opus_decoder_ctl() function
/external/libopus/include/
Dopus.h507 OPUS_EXPORT int opus_decoder_ctl(OpusDecoder *st, int request, ...) OPUS_ARG_NONNULL(1);
/external/webrtc/modules/audio_coding/codecs/opus/
Dopus_interface.cc489 opus_decoder_ctl(inst->decoder, OPUS_RESET_STATE); in WebRtcOpus_DecoderInit()