Home
last modified time | relevance | path

Searched refs:vpu_format (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/media/platform/amphion/
H A Dvpu_v4l2.h20 u32 vpu_get_fmt_plane_size(struct vpu_format *fmt, u32 plane_no);
21 int vpu_try_fmt_common(struct vpu_inst *inst, struct v4l2_format *f, struct vpu_format *fmt);
35 static inline struct vpu_format *vpu_get_format(struct vpu_inst *inst, u32 type) in vpu_get_format()
H A Dvpu_helpers.c33 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 Dvpu_helpers.h18 const struct vpu_format *vpu_helper_find_format(struct vpu_inst *inst, u32 type, u32 pixelfmt);
19 const struct vpu_format *vpu_helper_find_sibling(struct vpu_inst *inst, u32 type, u32 pixelfmt);
21 const struct vpu_format *vpu_helper_enum_format(struct vpu_inst *inst, u32 type, int index);
H A Dvpu.h86 struct vpu_format { struct
260 const struct vpu_format *formats;
261 struct vpu_format out_format;
262 struct vpu_format cap_format;
H A Dvdec.c77 static const struct vpu_format vdec_formats[] = {
431 const struct vpu_format *fmt; in vdec_enum_fmt()
461 struct vpu_format *cur_fmt; in vdec_g_fmt()
491 struct vpu_format fmt; in vdec_try_fmt()
495 struct vpu_format *cap_fmt = vpu_get_format(inst, f->type); in vdec_try_fmt()
523 struct vpu_format fmt; in vdec_s_fmt_common()
524 struct vpu_format *cur_fmt; in vdec_s_fmt_common()
838 struct vpu_format *cur_fmt; in vdec_frame_decoded()
877 struct vpu_format *cur_fmt; in vdec_buf_done()
954 const struct vpu_format *sibling; in vdec_check_source_change()
H A Dvenc.c68 static const struct vpu_format venc_formats[] = {
105 const struct vpu_format *fmt; in venc_enum_fmt()
180 struct vpu_format *cur_fmt; in venc_g_fmt()
207 struct vpu_format fmt; in venc_try_fmt()
217 struct vpu_format fmt; in venc_s_fmt()
218 struct vpu_format *cur_fmt; in venc_s_fmt()
H A Dvpu_windsor.c780 struct vpu_format *out_fmt; in vpu_windsor_fill_yuv_frame()
/linux/drivers/media/platform/chips-media/wave5/
H A Dwave5-vpu-dec.c41 static const struct vpu_format dec_fmt_list[FMT_TYPES][MAX_FMTS] = {
318 const struct vpu_format *vpu_fmt; in handle_dynamic_resolution_change()
480 const struct vpu_format *vpu_fmt; in wave5_vpu_dec_enum_framesizes()
505 const struct vpu_format *vpu_fmt; in wave5_vpu_dec_enum_fmt_cap()
522 const struct vpu_format *vpu_fmt; in wave5_vpu_dec_try_fmt_cap()
644 const struct vpu_format *vpu_fmt; in wave5_vpu_dec_enum_fmt_out()
662 const struct vpu_format *vpu_fmt; in wave5_vpu_dec_try_fmt_out()
692 const struct vpu_format *vpu_fmt; in wave5_vpu_dec_s_fmt_out()
H A Dwave5-vpu-enc.c33 static const struct vpu_format enc_fmt_list[FMT_TYPES][MAX_FMTS] = {
343 const struct vpu_format *vpu_fmt; in wave5_vpu_enc_enum_framesizes()
364 const struct vpu_format *vpu_fmt; in wave5_vpu_enc_enum_fmt_cap()
382 const struct vpu_format *vpu_fmt; in wave5_vpu_enc_try_fmt_cap()
473 const struct vpu_format *vpu_fmt; in wave5_vpu_enc_enum_fmt_out()
491 const struct vpu_format *vpu_fmt; in wave5_vpu_enc_try_fmt_out()
519 const struct vpu_format *vpu_fmt; in wave5_vpu_enc_s_fmt_out()