|
@@ -98,10 +98,10 @@ static inline int16_t *scalarproduct(const int16_t *in, const int16_t *endin, in |
|
|
int16_t j; |
|
|
int16_t j; |
|
|
|
|
|
|
|
|
while (in < endin) { |
|
|
while (in < endin) { |
|
|
sample = 32; |
|
|
|
|
|
|
|
|
sample = 0; |
|
|
for (j = 0; j < NUMTAPS; j++) |
|
|
for (j = 0; j < NUMTAPS; j++) |
|
|
sample += in[j] * filt[j]; |
|
|
sample += in[j] * filt[j]; |
|
|
*out = sample >> 6; |
|
|
|
|
|
|
|
|
*out = av_clip_int16(sample >> 6); |
|
|
out++; |
|
|
out++; |
|
|
in++; |
|
|
in++; |
|
|
} |
|
|
} |
|
|