Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e047442 authored by Deepak Kushwah's avatar Deepak Kushwah
Browse files

msm: vidc: Update matrix coefficient values



The matrixs coefficient required for 601 to 709
colorspace are not in sync with firmware required
values. Update these values for driver and firmware
to be in sync

Change-Id: I670ea31dbbcf47384a4bc01aca11e7f478d3a9f1
Signed-off-by: default avatarDeepak Kushwah <dkushwah@codeaurora.org>
parent c6d1c169
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -54,12 +54,12 @@
 * 3x3 transformation matrix coefficients in s4.9 fixed point format
 */
static u32 vpe_csc_601_to_709_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_601_to_709_bias_coeff[HAL_MAX_BIAS_COEFFS] = {
	34, 0, 4
	53, 0, 4
};

/* clamping value for Y/U/V([min,max] for Y/U/V) */