SPRUJ52E June 2022 – September 2025 AM69 , AM69A , TDA4AH-Q1 , TDA4AP-Q1 , TDA4APE-Q1 , TDA4VH-Q1 , TDA4VP-Q1 , TDA4VPE-Q1
The edge enhancer filter works on a 5 × 5 HPF filter (M) with programmable coefficients. The filter is symmetric as such only 3 × 3 coefficients are programmable.
Here, M is a 5 × 5 matrix with programmable coefficients specified by VISS_FCP_EE_YEE_COEF_Ri_Cj (i and j are 0, 1, or 2). The shift value (shfHPF) is specified by VISS_FCP_EE_YEE_SHIFT[5-0] YEE_SHIFT.
Figure 6-113 Edge Enhancer Linear FilterThe HPF value is shrink by a threshold value, thresholdHPF (u6 = 10), specified by VISS_FCP_EE_YEE_E_THR register, and clipped to signed 14 bits to get the index for the LUT. The MSB 12 bits of the index are used for the LUT address (4k locations) whereas the LSB 2 bits acts as weight to the linear interpolation logic.
Figure 6-114 Edge Enhancer IndexingThe edge enhancement intensity is looked up from the LUT, where A is the MSB 12 bits of the index.
Figure 6-115 Edge Intensity LUT FormulaThe 5 × 5 HPF filter is not fully programmable, rather only the top left quadrant is programmable coefficients. The rest of the kernel is symmetric along the y and the x axis.
Figure 6-116 below depicts how the kernels are implemented, with the kernel locations marked inside the boxes. The green color shows the kernels that are programmable.
Figure 6-116 5 × 5 HPF FilterThe border conditions are handled by data duplication on each of the borders when the desired pixel go out of range.
The output of the LUT is the final output of the edge enhancer filter.