Home
last modified time | relevance | path

Searched refs:opus_decoder_ctl (Results 1 – 8 of 8) 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()
155 if(opus_decoder_ctl(dec[t], OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in test_decoder_code0()
183 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
185 opus_decoder_ctl(dec[t], OPUS_GET_FINAL_RANGE(&dec_final_range1)); in test_decoder_code0()
198 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
207 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
254 opus_decoder_ctl(dec[t], OPUS_GET_FINAL_RANGE(&dec_final_range1)); in test_decoder_code0()
272 opus_decoder_ctl(dec[t], OPUS_GET_FINAL_RANGE(&dec_final_range1)); in test_decoder_code0()
293 opus_decoder_ctl(dec[t], OPUS_GET_FINAL_RANGE(&dec_final_range1)); in test_decoder_code0()
[all …]
Dtest_opus_encode.c253 if(opus_decoder_ctl(dec, OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in run_test1()
256 … if(opus_decoder_ctl(dec_err[fast_rand()&1], OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in run_test1()
261 if(opus_decoder_ctl(dec_err[fast_rand()&1], OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in run_test1()
267 if(fast_rand()%50==0)opus_decoder_ctl(dec, OPUS_RESET_STATE); in run_test1()
300 if(opus_decoder_ctl(dec, OPUS_GET_FINAL_RANGE(&dec_final_range))!=OPUS_OK)test_failed(); in run_test1()
418 opus_decoder_ctl(dec, OPUS_GET_FINAL_RANGE(&dec_final_range)); in run_test1()
433 opus_decoder_ctl(dec_err[0], OPUS_GET_FINAL_RANGE(&dec_final_range)); in run_test1()
440 opus_decoder_ctl(dec_err[dec2], OPUS_GET_FINAL_RANGE(&dec_final_range2)); in run_test1()
461 if(opus_decoder_ctl(dec, OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in run_test1()
Dtest_opus_api.c150 err=opus_decoder_ctl(dec, OPUS_GET_FINAL_RANGE((opus_uint32 *)NULL)); in test_dec_api()
153 err=opus_decoder_ctl(dec, OPUS_GET_FINAL_RANGE(&dec_final_range)); in test_dec_api()
159 err=opus_decoder_ctl(dec,OPUS_UNIMPLEMENTED); in test_dec_api()
164 err=opus_decoder_ctl(dec, OPUS_GET_BANDWIDTH((opus_int32 *)NULL)); in test_dec_api()
167 err=opus_decoder_ctl(dec, OPUS_GET_BANDWIDTH(&i)); in test_dec_api()
172 err=opus_decoder_ctl(dec, OPUS_GET_SAMPLE_RATE((opus_int32 *)NULL)); in test_dec_api()
175 err=opus_decoder_ctl(dec, OPUS_GET_SAMPLE_RATE(&i)); in test_dec_api()
181 err=opus_decoder_ctl(dec, OPUS_GET_PITCH(nullvalue)); in test_dec_api()
185 err=opus_decoder_ctl(dec, OPUS_GET_PITCH(&i)); in test_dec_api()
193 err=opus_decoder_ctl(dec, OPUS_GET_PITCH(&i)); in test_dec_api()
[all …]
/external/libopus/src/
Dopus_multistream_decoder.c433 ret = opus_decoder_ctl(dec, request, value); in opus_multistream_decoder_ctl()
454 ret = opus_decoder_ctl(dec, request, &tmp); in opus_multistream_decoder_ctl()
472 ret = opus_decoder_ctl(dec, OPUS_RESET_STATE); in opus_multistream_decoder_ctl()
515 ret = opus_decoder_ctl(dec, request, value); in opus_multistream_decoder_ctl()
Dopus_demo.c194 #define opus_decoder_ctl opus_multistream_decoder_ctl
772 opus_decoder_ctl(dec, OPUS_GET_LAST_PACKET_DURATION(&output_samples)); in main()
780 opus_decoder_ctl(dec, OPUS_GET_LAST_PACKET_DURATION(&output_samples)); in main()
823 opus_decoder_ctl(dec, OPUS_GET_FINAL_RANGE(&dec_final_range)); in main()
Dopus_decoder.c770 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/webrtc/modules/audio_coding/codecs/opus/
Dopus_interface.c297 opus_decoder_ctl(inst->decoder, OPUS_RESET_STATE); in WebRtcOpus_DecoderInit()