Merge "msm: venc: fix custom matrix enablement"

This commit is contained in:
qctecmdr 2019-12-30 17:27:42 -08:00 • committed by Gerrit - the friendly Code Review server
commit 012bf64164

View file

@ -1261,7 +1261,7 @@ static int msm_venc_set_csc(struct msm_vidc_inst *inst,
vpe_csc.input_color_primaries = color_primaries;
/* Custom bias, matrix & limit */
vpe_csc.custom_matrix_enabled = custom_matrix;
vpe_csc.custom_matrix_enabled = custom_matrix ? 7 : 0;
if (vpe_csc.custom_matrix_enabled && bias_coeff != NULL
&& csc_limit != NULL && csc_matrix != NULL) {