Revision d1bf6077 libavcodec/celp_filters.c
libavcodec/celp_filters.c  

103  103 
out[n] = filter_coeffs[i1] * out[ni]; 
104  104 
} 
105  105 
} 
106  
107 
void ff_celp_lp_zero_synthesis_filterf( 

108 
float *out, 

109 
const float* filter_coeffs, 

110 
const float* in, 

111 
int buffer_length, 

112 
int filter_length) 

113 
{ 

114 
int i,n; 

115  
116 
// Avoids a +1 in the inner loop. 

117 
filter_length++; 

118  
119 
for(n=0; n<buffer_length; n++) 

120 
{ 

121 
out[n] = in[n]; 

122 
for(i=1; i<filter_length; i++) 

123 
out[n] = filter_coeffs[i1] * in[ni]; 

124 
} 

125 
} 
Also available in: Unified diff