Skip to content

Commit

Permalink
fixed typo with convolution filter select
Browse files Browse the repository at this point in the history
  • Loading branch information
LMP88959 authored Mar 27, 2023
1 parent d6e08ca commit daf7fe8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crt_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@ eqf(struct EQF *f, int s)
h[i] = h[i - 1];
}
h[0] = s;
#if USE_7_SAMPLE
#if USE_7_SAMPLE_KERNEL
/* index : 0 1 2 3 4 5 6 */
/* weight: 1 4 7 8 7 4 1 */
return (s + h[6] + ((h[1] + h[5]) * 4) + ((h[2] + h[4]) * 7) + (h[3] * 8)) >> 5;
#elif USE_6_SAMPLE
#elif USE_6_SAMPLE_KERNEL
/* index : 0 1 2 3 4 5 */
/* weight: 1 3 4 4 3 1 */
return (s + h[5] + 3 * (h[1] + h[4]) + 4 * (h[2] + h[3])) >> 4;
#elif USE_5_SAMPLE
#elif USE_5_SAMPLE_KERNEL
/* index : 0 1 2 3 4 */
/* weight: 1 2 2 2 1 */
return (s + h[4] + ((h[1] + h[2] + h[3]) << 1)) >> 3;
Expand Down

0 comments on commit daf7fe8

Please sign in to comment.