msm: vidc: fix CSC coefficients

Fix to use correct CSC coefficients for
BT601 to BT709 CSC.

Change-Id: I8365603fed10151db0efbea0058bb896c419c3f4
Signed-off-by: Shi Zhongbo <zhongbos@codeaurora.org>
This commit is contained in:
Shi Zhongbo 2019-11-27 13:54:10 +08:00 • committed by Gerrit - the friendly Code Review server
commit 2b6da92f88

View file

@ -242,12 +242,12 @@ static struct msm_vidc_codec_capability lahaina_capabilities[] = {
* 3x3 transformation matrix coefficients in s4.9 fixed point format
*/
static u32 vpe_csc_custom_matrix_coeff[HAL_MAX_MATRIX_COEFFS] = {
470, 8170, 8148, 0, 490, 50, 0, 34, 483
440, 8140, 8098, 0, 460, 52, 0, 34, 463
};
/* offset coefficients in s9 fixed point format */
static u32 vpe_csc_custom_bias_coeff[HAL_MAX_BIAS_COEFFS] = {
34, 0, 4
53, 0, 4
};
/* clamping value for Y/U/V([min,max] for Y/U/V) */