video: driver: add mapping for missing colorspace vidc macros
Add mapping for missing vidc macros MSM_VIDC_TRANSFER_UNSPECIFIED and MSM_VIDC_PRIMARIES_UNSPECIFIED. Change-Id: I39fc60d98fe9f7c73d91768f5a0eb36e2c72a94c Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
This commit is contained in:
@@ -1013,8 +1013,8 @@ u32 v4l2_matrix_coeff_from_driver(struct msm_vidc_inst *inst,
|
||||
size = core->platform->data.format_data->matrix_coeff_info_size;
|
||||
|
||||
for (i = 0; i < size; i++) {
|
||||
if (matrix_coeff_info[i].v4l2_matrix_coeff == v4l2_matrix_coeff)
|
||||
return matrix_coeff_info[i].vidc_matrix_coeff;
|
||||
if (matrix_coeff_info[i].vidc_matrix_coeff == vidc_matrix_coeff)
|
||||
return matrix_coeff_info[i].v4l2_matrix_coeff;
|
||||
}
|
||||
|
||||
i_vpr_e(inst, "%s: invalid hfi matrix coeff %d\n",
|
||||
|
Reference in New Issue
Block a user