comparison amrnbdec.c @ 11648:0516f4062307 libavcodec

Split input/output data arguments to ff_acelp_apply_order_2_transfer_function().
author rbultje
date Wed, 21 Apr 2010 17:45:24 +0000
parents 26aabf52f578
children 8b6f3d3b55cb
comparison
equal deleted inserted replaced
11647:26aabf52f578 11648:0516f4062307
1042 // update buffers and history 1042 // update buffers and history
1043 ff_clear_fixed_vector(p->fixed_vector, &fixed_sparse, AMR_SUBFRAME_SIZE); 1043 ff_clear_fixed_vector(p->fixed_vector, &fixed_sparse, AMR_SUBFRAME_SIZE);
1044 update_state(p); 1044 update_state(p);
1045 } 1045 }
1046 1046
1047 ff_acelp_apply_order_2_transfer_function(buf_out, highpass_zeros, 1047 ff_acelp_apply_order_2_transfer_function(buf_out, buf_out, highpass_zeros,
1048 highpass_poles, highpass_gain, 1048 highpass_poles, highpass_gain,
1049 p->high_pass_mem, AMR_BLOCK_SIZE); 1049 p->high_pass_mem, AMR_BLOCK_SIZE);
1050 1050
1051 for (i = 0; i < AMR_BLOCK_SIZE; i++) 1051 for (i = 0; i < AMR_BLOCK_SIZE; i++)
1052 buf_out[i] = av_clipf(buf_out[i] * AMR_SAMPLE_SCALE, 1052 buf_out[i] = av_clipf(buf_out[i] * AMR_SAMPLE_SCALE,