Lines Matching +full:3 +full:- +full:c22
1 // SPDX-License-Identifier: GPL-2.0-or-later
60 * z' = c20 * (x + d0) + c21 * (y + d1) + c22 * (z + d2) + const2
70 * c20 c21 c22 [d2 const2]
73 static const u32 yuv2rgb_de3[2][3][12] = {
128 if ((i & 3) == 1) in sun8i_csc_set_coefficients()
130 else if ((i & 3) == 2) in sun8i_csc_set_coefficients()
131 base_reg = SUN8I_CSC_COEFF(base, i - 1); in sun8i_csc_set_coefficients()
161 if ((i & 3) == 1) in sun8i_de3_ccsc_set_coefficients()
165 else if ((i & 3) == 2) in sun8i_de3_ccsc_set_coefficients()
168 i - 1); in sun8i_de3_ccsc_set_coefficients()
215 if (mixer->cfg->is_de3) { in sun8i_csc_set_ccsc_coefficients()
216 sun8i_de3_ccsc_set_coefficients(mixer->engine.regs, layer, in sun8i_csc_set_ccsc_coefficients()
221 base = ccsc_base[mixer->cfg->ccsc][layer]; in sun8i_csc_set_ccsc_coefficients()
223 sun8i_csc_set_coefficients(mixer->engine.regs, base, in sun8i_csc_set_ccsc_coefficients()
231 if (mixer->cfg->is_de3) { in sun8i_csc_enable_ccsc()
232 sun8i_de3_ccsc_enable(mixer->engine.regs, layer, enable); in sun8i_csc_enable_ccsc()
236 base = ccsc_base[mixer->cfg->ccsc][layer]; in sun8i_csc_enable_ccsc()
238 sun8i_csc_enable(mixer->engine.regs, base, enable); in sun8i_csc_enable_ccsc()