Home
last modified time | relevance | path

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

/external/libopus/tests/
Dtest_opus_decode.c109 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, fec); in test_decoder_code0()
115 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor+2, fec); in test_decoder_code0()
119 out_samples = opus_decode(dec[t], 0, -1, outbuf, 120/factor, fec); in test_decoder_code0()
121 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec); in test_decoder_code0()
123 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fec); in test_decoder_code0()
125 out_samples = opus_decode(dec[t], 0, fast_rand(), outbuf, 120/factor, fec); in test_decoder_code0()
131 out_samples = opus_decode(dec[t], packet, 0, outbuf, 120/factor, fec); in test_decoder_code0()
136 out_samples = opus_decode(dec[t], packet, 0, outbuf, 0, fec); in test_decoder_code0()
142 out_samples = opus_decode(dec[t], packet, 0, 0, 0, fec); in test_decoder_code0()
150 out_samples = opus_decode(dec[t], packet, -1, outbuf, MAX_FRAME_SAMP, fec); in test_decoder_code0()
[all …]
Dopus_decode_fuzzer.c109 (void) opus_decode(dec, NULL, size, pcm, frame_size, fec); in LLVMFuzzerTestOneInput()
115 (void) opus_decode(dec, data, size, pcm, MAX_FRAME_SAMP, fec); in LLVMFuzzerTestOneInput()
Dtest_opus_encode.c168 out_samples = opus_decode(dec, packet, len, outbuf, MAX_FRAME_SAMP, 0); in test_encode()
454 out_samples = opus_decode(dec, packet, len, &outbuf[i<<1], MAX_FRAME_SAMP, 0); in run_test1()
459 … out_samples = opus_decode(dec_err[0], packet, len, out2buf, frame_size, (fast_rand()&3)!=0); in run_test1()
461 …out_samples = opus_decode(dec_err[1], packet, (fast_rand()&3)==0?0:len, out2buf, MAX_FRAME_SAMP, (… in run_test1()
572 out_samples = opus_decode(dec, packet, len, &outbuf[offset<<1], MAX_FRAME_SAMP, 0); in run_test1()
586 out_samples = opus_decode(dec_err[0], len>0?packet:NULL, len, out2buf, MAX_FRAME_SAMP, 0); in run_test1()
594 out_samples = opus_decode(dec_err[dec2], len>0?packet:NULL, len, out2buf, MAX_FRAME_SAMP, 0); in run_test1()
Dtest_opus_padding.c62 result = opus_decode(decoder, in, PACKETSIZE, out, FRAMESIZE, 0); in test_overflow()
Dtest_opus_api.c191 if(opus_decode(dec, packet, 3, sbuf, 960, 0)!=960)test_failed(); in test_dec_api()
198 if(opus_decode(dec, packet, 1, sbuf, 960, 0)!=960)test_failed(); in test_dec_api()
305 if(opus_decode(dec, packet, 51, sbuf, 960, 0)!=OPUS_INVALID_PACKET)test_failed(); in test_dec_api()
309 if(opus_decode(dec, packet, -1, sbuf, 960, 0)!=OPUS_BAD_ARG)test_failed(); in test_dec_api()
311 if(opus_decode(dec, packet, 3, sbuf, 60, 0)!=OPUS_BUFFER_TOO_SMALL)test_failed(); in test_dec_api()
313 if(opus_decode(dec, packet, 3, sbuf, 480, 0)!=OPUS_BUFFER_TOO_SMALL)test_failed(); in test_dec_api()
315 if(opus_decode(dec, packet, 3, sbuf, 960, 0)!=960)test_failed(); in test_dec_api()
329 if(opus_decode(0,packet,1,outbuf,2880,0) !=OPUS_INVALID_STATE)test_failed(); in test_dec_api()
/external/libopus/src/
Dopus_demo.c185 #define opus_decode opus_multistream_decode
776 …output_samples = opus_decode(dec, lost ? NULL : data[toggle], len[toggle], out, output_samples, 1); in main()
780 … output_samples = opus_decode(dec, data[1-toggle], len[1-toggle], out, output_samples, 0); in main()
783 …output_samples = opus_decode(dec, lost ? NULL : data[toggle], len[toggle], out, output_samples, 0); in main()
Dopus_decoder.c742 int opus_decode(OpusDecoder *st, const unsigned char *data, in opus_decode() function
788 int opus_decode(OpusDecoder *st, const unsigned char *data, in opus_decode() function
/external/libopus/doc/
Dtrivial_example.c138 frame_size = opus_decode(decoder, cbits, nbBytes, out, MAX_FRAME_SIZE, 0); in main()
/external/libopus/include/
Dopus.h462 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT int opus_decode(
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Dopus_interface.c322 int res = opus_decode(inst->decoder, encoded, (opus_int32)encoded_bytes, in DecodeNative()