/external/chromium_org/third_party/opus/src/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, -1, outbuf, 120/factor, fec); 117 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec); 119 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fec); 121 out_samples = opus_decode(dec[t], 0, fast_rand(), outbuf, 120/factor, fec); 127 out_samples = opus_decode(dec[t], packet, 0, outbuf, 120/factor, fec); 132 out_samples = opus_decode(dec[t], packet, 0, outbuf, 0, fec); 134 out_samples = opus_decode(dec[t], packet, 0, 0, 0, fec); 139 out_samples = opus_decode(dec[t], packet, -1, outbuf, MAX_FRAME_SAMP, fec); 141 out_samples = opus_decode(dec[t], packet, INT_MIN, outbuf, MAX_FRAME_SAMP, fec) [all...] |
test_opus_encode.c | 267 out_samples = opus_decode(dec, packet, len, &outbuf[i<<1], MAX_FRAME_SAMP, 0); 272 out_samples = opus_decode(dec_err[0], packet, len, out2buf, frame_size, (fast_rand()&3)!=0); 274 out_samples = opus_decode(dec_err[1], packet, (fast_rand()&3)==0?0:len, out2buf, MAX_FRAME_SAMP, (fast_rand()&7)!=0); 354 out_samples = opus_decode(dec, packet, len, &outbuf[offset<<1], MAX_FRAME_SAMP, 0); 368 out_samples = opus_decode(dec_err[0], len>0?packet:NULL, len, out2buf, MAX_FRAME_SAMP, 0); 376 out_samples = opus_decode(dec_err[dec2], len>0?packet:NULL, len, out2buf, MAX_FRAME_SAMP, 0);
|
test_opus_api.c | 178 if(opus_decode(dec, packet, 3, sbuf, 960, 0)!=960)test_failed(); 185 if(opus_decode(dec, packet, 1, sbuf, 960, 0)!=960)test_failed(); 284 if(opus_decode(dec, packet, 51, sbuf, 960, 0)!=OPUS_INVALID_PACKET)test_failed(); 288 if(opus_decode(dec, packet, -1, sbuf, 960, 0)!=OPUS_BAD_ARG)test_failed(); 290 if(opus_decode(dec, packet, 3, sbuf, 60, 0)!=OPUS_BUFFER_TOO_SMALL)test_failed(); 292 if(opus_decode(dec, packet, 3, sbuf, 480, 0)!=OPUS_BUFFER_TOO_SMALL)test_failed(); 294 if(opus_decode(dec, packet, 3, sbuf, 960, 0)!=960)test_failed(); 296 fprintf(stdout," opus_decode() ................................ OK.\n"); 308 if(opus_decode(0,packet,1,outbuf,2880,0) !=OPUS_INVALID_STATE)test_failed(); [all...] |
/external/chromium_org/remoting/codec/ |
audio_decoder_opus.cc | 119 int result = opus_decode(decoder_, frame_data, frame->size(),
|
/external/chromium_org/third_party/opus/src/src/ |
opus_demo.c | 696 output_samples = opus_decode(dec, lost ? NULL : data[toggle], len[toggle], out, output_samples, 1); 699 output_samples = opus_decode(dec, data[1-toggle], len[1-toggle], out, output_samples, 0); 702 output_samples = opus_decode(dec, lost ? NULL : data[toggle], len[toggle], out, output_samples, 0);
|
opus_decoder.c | 800 int opus_decode(OpusDecoder *st, const unsigned char *data, function 829 int opus_decode(OpusDecoder *st, const unsigned char *data, function
|
/external/chromium_org/third_party/opus/src/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...] |