OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MAX_FRAME_SAMP
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/opus/src/tests/
test_opus_decode.c
49
#define
MAX_FRAME_SAMP
(5760)
72
outbuf_int=malloc(sizeof(short)*(
MAX_FRAME_SAMP
+16)*2);
73
for(i=0;i<(
MAX_FRAME_SAMP
+16)*2;i++)outbuf_int[i]=32749;
143
out_samples = opus_decode(dec[t], packet, -1, outbuf,
MAX_FRAME_SAMP
, fec);
145
out_samples = opus_decode(dec[t], packet, INT_MIN, outbuf,
MAX_FRAME_SAMP
, fec);
151
out_samples = opus_decode(dec[t], packet, 1, outbuf,
MAX_FRAME_SAMP
, fec?-1:2);
181
out_samples = opus_decode(dec[t], packet, 3, outbuf,
MAX_FRAME_SAMP
, 0);
225
for(i=
MAX_FRAME_SAMP
*2;i<(
MAX_FRAME_SAMP
+8)*2;i++)err|=outbuf[i]!=32749;
252
out_samples = opus_decode(dec[t], packet, 4, outbuf,
MAX_FRAME_SAMP
, 0)
[
all
...]
test_opus_encode.c
53
#define
MAX_FRAME_SAMP
(5760)
220
out2buf=(short *)malloc(sizeof(short)*
MAX_FRAME_SAMP
*3);
271
out_samples = opus_decode(dec, packet, len, &outbuf[i<<1],
MAX_FRAME_SAMP
, 0);
278
out_samples = opus_decode(dec_err[1], packet, (fast_rand()&3)==0?0:len, out2buf,
MAX_FRAME_SAMP
, (fast_rand()&7)!=0);
282
}while(i<(SSAMPLES-
MAX_FRAME_SAMP
));
318
out_samples = opus_multistream_decode(MSdec, packet, len, out2buf,
MAX_FRAME_SAMP
, 0);
328
}while(i<(SSAMPLES/12-
MAX_FRAME_SAMP
));
348
opus_int32 offset=i%(SAMPLES-
MAX_FRAME_SAMP
);
358
out_samples = opus_decode(dec, packet, len, &outbuf[offset<<1],
MAX_FRAME_SAMP
, 0);
372
out_samples = opus_decode(dec_err[0], len>0?packet:NULL, len, out2buf,
MAX_FRAME_SAMP
, 0)
[
all
...]
Completed in 877 milliseconds