mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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:
parent
32e3693d10
commit
2b6da92f88
1 changed files with 2 additions and 2 deletions
|
|
@ -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) */
|
||||
|
|
|
|||
Loading…
Reference in a new issue