video: driver: move v4l2 to vidc mappings to target specific file
Move mapping of v4l2 to vidc macros for codec, color format, color primaries etc to target specific file to restirct the usage of private v4l2 defines to target specific file. Change-Id: Ie83968cb944c756e55b6514c496c0b23c5d16413 Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
This commit is contained in:
@@ -364,20 +364,20 @@ static inline bool is_sub_state(struct msm_vidc_inst *inst,
|
||||
}
|
||||
|
||||
const char *cap_name(enum msm_vidc_inst_capability_type cap_id);
|
||||
const char *v4l2_pixelfmt_name(u32 pixelfmt);
|
||||
const char *v4l2_pixelfmt_name(struct msm_vidc_inst *inst, u32 pixelfmt);
|
||||
const char *v4l2_type_name(u32 port);
|
||||
void print_vidc_buffer(u32 tag, const char *tag_str, const char *str, struct msm_vidc_inst *inst,
|
||||
struct msm_vidc_buffer *vbuf);
|
||||
void print_vb2_buffer(const char *str, struct msm_vidc_inst *inst,
|
||||
struct vb2_buffer *vb2);
|
||||
enum msm_vidc_codec_type v4l2_codec_to_driver(u32 v4l2_codec,
|
||||
const char *func);
|
||||
u32 v4l2_codec_from_driver(enum msm_vidc_codec_type codec,
|
||||
const char *func);
|
||||
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,
|
||||
enum msm_vidc_codec_type v4l2_codec_to_driver(struct msm_vidc_inst *inst,
|
||||
u32 v4l2_codec, const char *func);
|
||||
u32 v4l2_codec_from_driver(struct msm_vidc_inst *inst, enum msm_vidc_codec_type codec,
|
||||
const char *func);
|
||||
enum msm_vidc_colorformat_type v4l2_colorformat_to_driver(struct msm_vidc_inst *inst,
|
||||
u32 colorformat, const char *func);
|
||||
u32 v4l2_colorformat_from_driver(struct msm_vidc_inst *inst,
|
||||
enum msm_vidc_colorformat_type colorformat, const char *func);
|
||||
u32 v4l2_color_primaries_to_driver(struct msm_vidc_inst *inst,
|
||||
u32 v4l2_primaries, const char *func);
|
||||
u32 v4l2_color_primaries_from_driver(struct msm_vidc_inst *inst,
|
||||
|
Reference in New Issue
Block a user