Lines Matching refs:matrix
89 u32 vpu_color_cvrt_matrix_v2i(u32 matrix) in vpu_color_cvrt_matrix_v2i() argument
91 return vpu_helper_find_in_array_u8(colormatrixcoefs, ARRAY_SIZE(colormatrixcoefs), matrix); in vpu_color_cvrt_matrix_v2i()
94 u32 vpu_color_cvrt_matrix_i2v(u32 matrix) in vpu_color_cvrt_matrix_i2v() argument
96 return matrix < ARRAY_SIZE(colormatrixcoefs) ? colormatrixcoefs[matrix] : 0; in vpu_color_cvrt_matrix_i2v()
122 int vpu_color_check_matrix(u32 matrix) in vpu_color_check_matrix() argument
124 return vpu_color_cvrt_matrix_v2i(matrix) ? 0 : -EINVAL; in vpu_color_check_matrix()
146 u32 matrix; in vpu_color_get_default() local
152 matrix = V4L2_YCBCR_ENC_709; in vpu_color_get_default()
158 matrix = V4L2_YCBCR_ENC_601; in vpu_color_get_default()
162 matrix = V4L2_YCBCR_ENC_SMPTE240M; in vpu_color_get_default()
166 matrix = V4L2_YCBCR_ENC_BT2020; in vpu_color_get_default()
170 matrix = V4L2_YCBCR_ENC_DEFAULT; in vpu_color_get_default()
178 *pmatrix = matrix; in vpu_color_get_default()