/external/libopus/tests/ |
test_opus_decode.c | 109 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, fec); 115 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor+2, fec); 119 out_samples = opus_decode(dec[t], 0, -1, outbuf, 120/factor, fec); 121 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec); 123 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fec); 125 out_samples = opus_decode(dec[t], 0, fast_rand(), outbuf, 120/factor, fec); 131 out_samples = opus_decode(dec[t], packet, 0, outbuf, 120/factor, fec); 136 out_samples = opus_decode(dec[t], packet, 0, outbuf, 0, fec); 138 out_samples = opus_decode(dec[t], packet, 0, 0, 0, fec); 143 out_samples = opus_decode(dec[t], packet, -1, outbuf, MAX_FRAME_SAMP, fec) [all...] |
test_opus_padding.c | 62 result = opus_decode(decoder, in, PACKETSIZE, out, FRAMESIZE, 0);
|
test_opus_encode.c | 298 out_samples = opus_decode(dec, packet, len, &outbuf[i<<1], MAX_FRAME_SAMP, 0); 303 out_samples = opus_decode(dec_err[0], packet, len, out2buf, frame_size, (fast_rand()&3)!=0); 305 out_samples = opus_decode(dec_err[1], packet, (fast_rand()&3)==0?0:len, out2buf, MAX_FRAME_SAMP, (fast_rand()&7)!=0); 415 out_samples = opus_decode(dec, packet, len, &outbuf[offset<<1], MAX_FRAME_SAMP, 0); 429 out_samples = opus_decode(dec_err[0], len>0?packet:NULL, len, out2buf, MAX_FRAME_SAMP, 0); 437 out_samples = opus_decode(dec_err[dec2], len>0?packet:NULL, len, out2buf, MAX_FRAME_SAMP, 0);
|
test_opus_api.c | 190 if(opus_decode(dec, packet, 3, sbuf, 960, 0)!=960)test_failed(); 197 if(opus_decode(dec, packet, 1, sbuf, 960, 0)!=960)test_failed(); 304 if(opus_decode(dec, packet, 51, sbuf, 960, 0)!=OPUS_INVALID_PACKET)test_failed(); 308 if(opus_decode(dec, packet, -1, sbuf, 960, 0)!=OPUS_BAD_ARG)test_failed(); 310 if(opus_decode(dec, packet, 3, sbuf, 60, 0)!=OPUS_BUFFER_TOO_SMALL)test_failed(); 312 if(opus_decode(dec, packet, 3, sbuf, 480, 0)!=OPUS_BUFFER_TOO_SMALL)test_failed(); 314 if(opus_decode(dec, packet, 3, sbuf, 960, 0)!=960)test_failed(); 316 fprintf(stdout," opus_decode() ................................ OK.\n"); 328 if(opus_decode(0,packet,1,outbuf,2880,0) !=OPUS_INVALID_STATE)test_failed(); [all...] |
/external/libopus/doc/ |
trivial_example.c | 138 frame_size = opus_decode(decoder, cbits, nbBytes, out, MAX_FRAME_SIZE, 0);
|
/external/libopus/include/ |
opus.h | 365 * To decode a frame, opus_decode() or opus_decode_float() must be called with a packet of compressed audio data: 367 * frame_size = opus_decode(dec, packet, len, decoded, max_size, 0); 376 * opus_decode() and opus_decode_float() return the number of samples (per channel) decoded from the packet. 462 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT int opus_decode( 515 * Opus_decode will perform this operation internally so most applications do [all...] |
/external/libopus/src/ |
opus_demo.c | 192 #define opus_decode opus_multistream_decode 781 output_samples = opus_decode(dec, lost ? NULL : data[toggle], len[toggle], out, output_samples, 1); 785 output_samples = opus_decode(dec, data[1-toggle], len[1-toggle], out, output_samples, 0); 788 output_samples = opus_decode(dec, lost ? NULL : data[toggle], len[toggle], out, output_samples, 0); [all...] |
opus_decoder.c | 699 int opus_decode(OpusDecoder *st, const unsigned char *data, function 735 int opus_decode(OpusDecoder *st, const unsigned char *data, function
|
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
opus_interface.c | 322 int res = opus_decode(inst->decoder, encoded, (opus_int32)encoded_bytes,
|