Lines Matching refs:dec_err
285 OpusDecoder *dec_err[10]; in run_test1() local
352 dec_err[0]=(OpusDecoder *)malloc(opus_decoder_get_size(2)); in run_test1()
353 memcpy(dec_err[0],dec,opus_decoder_get_size(2)); in run_test1()
354 dec_err[1] = opus_decoder_create(48000, 1, &err); in run_test1()
355 dec_err[2] = opus_decoder_create(24000, 2, &err); in run_test1()
356 dec_err[3] = opus_decoder_create(24000, 1, &err); in run_test1()
357 dec_err[4] = opus_decoder_create(16000, 2, &err); in run_test1()
358 dec_err[5] = opus_decoder_create(16000, 1, &err); in run_test1()
359 dec_err[6] = opus_decoder_create(12000, 2, &err); in run_test1()
360 dec_err[7] = opus_decoder_create(12000, 1, &err); in run_test1()
361 dec_err[8] = opus_decoder_create(8000, 2, &err); in run_test1()
362 dec_err[9] = opus_decoder_create(8000, 1, &err); in run_test1()
363 for(i=0;i<10;i++)if(dec_err[i]==NULL)test_failed(); in run_test1()
414 … if(opus_decoder_ctl(dec_err[fast_rand()&1], OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in run_test1()
419 if(opus_decoder_ctl(dec_err[fast_rand()&1], OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in run_test1()
461 … out_samples = opus_decode(dec_err[0], packet, len, out2buf, frame_size, (fast_rand()&3)!=0); in run_test1()
463 …out_samples = opus_decode(dec_err[1], packet, (fast_rand()&3)==0?0:len, out2buf, MAX_FRAME_SAMP, (… in run_test1()
588 out_samples = opus_decode(dec_err[0], len>0?packet:NULL, len, out2buf, MAX_FRAME_SAMP, 0); in run_test1()
592 opus_decoder_ctl(dec_err[0], OPUS_GET_FINAL_RANGE(&dec_final_range)); in run_test1()
596 out_samples = opus_decode(dec_err[dec2], len>0?packet:NULL, len, out2buf, MAX_FRAME_SAMP, 0); in run_test1()
599 opus_decoder_ctl(dec_err[dec2], OPUS_GET_FINAL_RANGE(&dec_final_range2)); in run_test1()
625 for(i=0;i<10;i++)opus_decoder_destroy(dec_err[i]); in run_test1()