摘要 |
In accordance with some embodiments, a method and apparatus for providing both a low-pass filter value and a high-pass filter value is presented. The combined filter receives an input value into a half-band finite impulse response (FIR) filter with an odd number of taps labeled 0 through N with corresponding filter coefficients labeled 0 through N where odd numbered filter coefficients are zero, the FIR filter providing a filter value. The median value from the FIR filter is digitally shifted to provide a half median value. The half median value is added to the filter value to provide the low-pass filter value and is subtracted from the filter value to provide the high-pass filter value. |