Lines Matching refs:factor
104 int factor=48000/fsv[t>>1]; 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()
112 if(dur!=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()
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()
124 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
125 out_samples = opus_decode(dec[t], 0, fast_rand(), outbuf, 120/factor, fec); in test_decoder_code0()
126 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
128 if(dur!=120/factor)test_failed(); in test_decoder_code0()
131 out_samples = opus_decode(dec[t], packet, 0, outbuf, 120/factor, fec); in test_decoder_code0()
132 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
192 int factor=48000/fsv[t>>1]; in test_decoder_code0() local
203 if(expected[t]!=120/factor) in test_decoder_code0()
205 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, 0); in test_decoder_code0()
206 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
248 int factor=48000/fsv[t>>1]; in test_decoder_code0() local
253 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
266 int factor=48000/fsv[t>>1]; in test_decoder_code0() local
271 if(out_samples!=480/factor)test_failed(); in test_decoder_code0()