Searched refs:vpu_format (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/media/platform/amphion/ |
H A D | vpu_v4l2.h | 19 u32 vpu_get_fmt_plane_size(struct vpu_format *fmt, u32 plane_no); 20 int vpu_try_fmt_common(struct vpu_inst *inst, struct v4l2_format *f, struct vpu_format *fmt); 37 static inline struct vpu_format *vpu_get_format(struct vpu_inst *inst, u32 type) in vpu_get_format()
|
H A D | vpu_helpers.c | 33 const struct vpu_format *pfmt; in vpu_helper_check_type() 45 const struct vpu_format *vpu_helper_find_format(struct vpu_inst *inst, u32 type, u32 pixelfmt) in vpu_helper_find_format() 47 const struct vpu_format *pfmt; in vpu_helper_find_format() 63 const struct vpu_format *vpu_helper_find_sibling(struct vpu_inst *inst, u32 type, u32 pixelfmt) in vpu_helper_find_sibling() 65 const struct vpu_format *fmt; in vpu_helper_find_sibling() 66 const struct vpu_format *sibling; in vpu_helper_find_sibling() 82 const struct vpu_format *sibling; in vpu_helper_match_format() 93 const struct vpu_format *vpu_helper_enum_format(struct vpu_inst *inst, u32 type, int index) in vpu_helper_enum_format() 95 const struct vpu_format *pfmt; in vpu_helper_enum_format()
|
H A D | vpu_helpers.h | 16 const struct vpu_format *vpu_helper_find_format(struct vpu_inst *inst, u32 type, u32 pixelfmt); 17 const struct vpu_format *vpu_helper_find_sibling(struct vpu_inst *inst, u32 type, u32 pixelfmt); 19 const struct vpu_format *vpu_helper_enum_format(struct vpu_inst *inst, u32 type, int index);
|
H A D | vpu_v4l2.c | 137 static int vpu_init_format(struct vpu_inst *inst, struct vpu_format *fmt) in vpu_init_format() 139 const struct vpu_format *info; in vpu_init_format() 152 static int vpu_calc_fmt_bytesperline(struct v4l2_format *f, struct vpu_format *fmt) in vpu_calc_fmt_bytesperline() 179 static int vpu_calc_fmt_sizeimage(struct vpu_inst *inst, struct vpu_format *fmt) in vpu_calc_fmt_sizeimage() 209 u32 vpu_get_fmt_plane_size(struct vpu_format *fmt, u32 plane_no) in vpu_get_fmt_plane_size() 229 int vpu_try_fmt_common(struct vpu_inst *inst, struct v4l2_format *f, struct vpu_format *fmt) in vpu_try_fmt_common() 469 struct vpu_format *cur_fmt; in vpu_vb2_queue_setup() 521 struct vpu_format *cur_fmt; in vpu_vb2_buf_prepare() 569 struct vpu_format *fmt = vpu_get_format(inst, q->type); in vpu_vb2_start_streaming()
|
H A D | vpu.h | 86 struct vpu_format { struct 259 const struct vpu_format *formats; 260 struct vpu_format out_format; 261 struct vpu_format cap_format;
|
H A D | vdec.c | 69 static const struct vpu_format vdec_formats[] = { 337 const struct vpu_format *fmt; in vdec_enum_fmt() 367 struct vpu_format *cur_fmt; in vdec_g_fmt() 397 struct vpu_format fmt; in vdec_try_fmt() 401 struct vpu_format *cap_fmt = vpu_get_format(inst, f->type); in vdec_try_fmt() 429 struct vpu_format fmt; in vdec_s_fmt_common() 430 struct vpu_format *cur_fmt; in vdec_s_fmt_common() 744 struct vpu_format *cur_fmt; in vdec_frame_decoded() 782 struct vpu_format *cur_fmt; in vdec_buf_done() 858 const struct vpu_format *sibling; in vdec_check_source_change()
|
H A D | venc.c | 69 static const struct vpu_format venc_formats[] = { 106 const struct vpu_format *fmt; in venc_enum_fmt() 181 struct vpu_format *cur_fmt; in venc_g_fmt() 208 struct vpu_format fmt; in venc_try_fmt() 218 struct vpu_format fmt; in venc_s_fmt() 219 struct vpu_format *cur_fmt; in venc_s_fmt()
|
H A D | vpu_windsor.c | 778 struct vpu_format *out_fmt; in vpu_windsor_fill_yuv_frame()
|