Home
last modified time | relevance | path

Searched refs:out_samples (Results 1 – 2 of 2) sorted by relevance

/external/libopus/tests/
Dtest_opus_decode.c55 int out_samples,fec; in test_decoder_code0() local
109 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, fec); in test_decoder_code0()
110 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
115 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor+2, fec); in test_decoder_code0()
116 if(out_samples!=OPUS_BAD_ARG)test_failed(); in test_decoder_code0()
119 out_samples = opus_decode(dec[t], 0, -1, outbuf, 120/factor, fec); in test_decoder_code0()
120 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
121 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec); in test_decoder_code0()
122 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
123 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fec); in test_decoder_code0()
[all …]
Dtest_opus_encode.c248 int bw,len,out_samples,frame_size; in run_test1() local
298 out_samples = opus_decode(dec, packet, len, &outbuf[i<<1], MAX_FRAME_SAMP, 0); in run_test1()
299 if(out_samples!=frame_size)test_failed(); in run_test1()
303out_samples = opus_decode(dec_err[0], packet, len, out2buf, frame_size, (fast_rand()&3)!=0); in run_test1()
304 if(out_samples!=frame_size)test_failed(); in run_test1()
305out_samples = opus_decode(dec_err[1], packet, (fast_rand()&3)==0?0:len, out2buf, MAX_FRAME_SAMP, (… in run_test1()
306 if(out_samples<120)test_failed(); in run_test1()
338 int pred,len,out_samples,frame_size,loss; in run_test1() local
375 out_samples = opus_multistream_decode(MSdec, packet, len, out2buf, MAX_FRAME_SAMP, 0); in run_test1()
376 if(out_samples!=frame_size*6)test_failed(); in run_test1()
[all …]