video: driver: amend colorspace info setting
v4l2 enums for color space info are not one to one mappings with hevc spec values. Hence, introduce and use corresponding mapper functions. Change-Id: I37a79a9b34b66184ece9a284ae98c9fa4efd248f Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
e743f5dd48
当前提交
20d30c5dd2
@@ -195,6 +195,18 @@ enum msm_vidc_colorformat_type v4l2_colorformat_to_driver(u32 colorformat,
|
||||
const char *func);
|
||||
u32 v4l2_colorformat_from_driver(enum msm_vidc_colorformat_type colorformat,
|
||||
const char *func);
|
||||
u32 v4l2_color_primaries_to_driver(struct msm_vidc_inst *inst,
|
||||
u32 v4l2_primaries);
|
||||
u32 v4l2_color_primaries_from_driver(struct msm_vidc_inst *inst,
|
||||
u32 vidc_color_primaries);
|
||||
u32 v4l2_transfer_char_to_driver(struct msm_vidc_inst *inst,
|
||||
u32 v4l2_transfer_char);
|
||||
u32 v4l2_transfer_char_from_driver(struct msm_vidc_inst *inst,
|
||||
u32 vidc_transfer_char);
|
||||
u32 v4l2_matrix_coeff_to_driver(struct msm_vidc_inst *inst,
|
||||
u32 v4l2_matrix_coeff);
|
||||
u32 v4l2_matrix_coeff_from_driver(struct msm_vidc_inst *inst,
|
||||
u32 vidc_matrix_coeff);
|
||||
int v4l2_type_to_driver_port(struct msm_vidc_inst *inst, u32 type,
|
||||
const char *func);
|
||||
const char *state_name(enum msm_vidc_inst_state state);
|
||||
|
在新工单中引用
屏蔽一个用户