Home
last modified time | relevance | path

Searched refs:v4l2_format (Results 1 – 25 of 90) sorted by relevance

1234

/linux/drivers/media/test-drivers/vivid/
H A Dvivid-vid-out.h15 int vivid_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
16 int vivid_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
17 int vivid_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
18 int vidioc_g_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f);
19 int vidioc_try_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f);
20 int vidioc_s_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f);
21 int vidioc_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
22 int vidioc_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
23 int vidioc_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
28 int vidioc_g_fmt_vid_out_overlay(struct file *file, void *priv, struct v4l2_format *f);
[all …]
H A Dvivid-vid-cap.h22 int vivid_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
23 int vivid_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
24 int vivid_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
25 int vidioc_g_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f);
26 int vidioc_try_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f);
27 int vidioc_s_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f);
28 int vidioc_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
29 int vidioc_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
30 int vidioc_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
35 int vidioc_g_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_format *f);
[all …]
H A Dvivid-vbi-out.h13 struct v4l2_format *f);
15 struct v4l2_format *f);
16 int vidioc_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
17 int vidioc_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
18 int vidioc_s_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
H A Dvivid-vbi-cap.h16 struct v4l2_format *f);
18 struct v4l2_format *f);
19 int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
20 int vidioc_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
21 int vidioc_s_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
H A Dvivid-vid-common.h11 typedef int (*fmtfunc)(struct file *file, void *priv, struct v4l2_format *f);
17 void fmt_sp2mp(const struct v4l2_format *sp_fmt, struct v4l2_format *mp_fmt);
19 struct v4l2_format *f, fmtfunc func);
H A Dvivid-sdr-cap.h17 int vidioc_g_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
18 int vidioc_s_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
19 int vidioc_try_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
H A Dvivid-meta-out.h19 struct v4l2_format *f);
21 struct v4l2_format *f);
H A Dvivid-touch-cap.h30 int vivid_g_fmt_tch(struct file *file, void *priv, struct v4l2_format *f);
31 int vivid_g_fmt_tch_mplane(struct file *file, void *priv, struct v4l2_format *f);
H A Dvivid-meta-cap.h25 struct v4l2_format *f);
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-g-fmt.rst20 ``int ioctl(int fd, VIDIOC_G_FMT, struct v4l2_format *argp)``
24 ``int ioctl(int fd, VIDIOC_S_FMT, struct v4l2_format *argp)``
28 ``int ioctl(int fd, VIDIOC_TRY_FMT, struct v4l2_format *argp)``
37 Pointer to struct :c:type:`v4l2_format`.
46 struct :c:type:`v4l2_format` to the respective buffer (stream)
64 a pointer to a struct :c:type:`v4l2_format` structure the driver
90 .. c:type:: v4l2_format
94 .. flat-table:: struct v4l2_format
147 The struct :c:type:`v4l2_format` ``type`` field is
/linux/drivers/media/platform/ti/vpe/
H A Dcsc.h61 struct v4l2_format *src_fmt, struct v4l2_format *dst_fmt);
H A Dcsc.c140 struct v4l2_format *src_fmt, struct v4l2_format *dst_fmt) in csc_set_coeff()
/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_regs.c28 static int32_t mtk_mdp_map_color_format(int v4l2_format) in mtk_mdp_map_color_format() argument
30 switch (v4l2_format) { in mtk_mdp_map_color_format()
43 mtk_mdp_err("Unknown format 0x%x", v4l2_format); in mtk_mdp_map_color_format()
/linux/drivers/media/platform/rockchip/rkvdec/
H A Drkvdec.c95 static void rkvdec_reset_fmt(struct rkvdec_ctx *ctx, struct v4l2_format *f, in rkvdec_reset_fmt()
109 struct v4l2_format *f = &ctx->decoded_fmt; in rkvdec_reset_decoded_fmt()
303 struct v4l2_format *f = &ctx->coded_fmt; in rkvdec_reset_coded_fmt()
354 struct v4l2_format *f) in rkvdec_try_capture_fmt()
387 struct v4l2_format *f) in rkvdec_try_output_fmt()
419 struct v4l2_format *f) in rkvdec_s_capture_fmt()
440 struct v4l2_format *f) in rkvdec_s_output_fmt()
445 struct v4l2_format *cap_fmt; in rkvdec_s_output_fmt()
505 struct v4l2_format *f) in rkvdec_g_output_fmt()
514 struct v4l2_format *f) in rkvdec_g_capture_fmt()
[all …]
/linux/drivers/media/pci/ivtv/
H A Divtv-ioctl.c309 static int ivtv_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_sliced_vbi_out()
331 static int ivtv_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vid_cap()
354 static int ivtv_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vbi_cap()
372 static int ivtv_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_sliced_vbi_cap()
395 static int ivtv_g_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vid_out()
435 static int ivtv_g_fmt_vid_out_overlay(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vid_out_overlay()
457 static int ivtv_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_try_fmt_sliced_vbi_out()
462 static int ivtv_try_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_try_fmt_vid_cap()
485 static int ivtv_try_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_try_fmt_vbi_cap()
490 static int ivtv_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_try_fmt_sliced_vbi_cap()
[all …]
/linux/drivers/media/platform/raspberrypi/pisp_be/
H A Dpisp_be.c168 struct v4l2_format format;
688 struct v4l2_format *fmt; in pisp_be_validate_config()
993 struct v4l2_format *f) in pispbe_node_g_fmt_vid_cap()
1013 struct v4l2_format *f) in pispbe_node_g_fmt_vid_out()
1033 struct v4l2_format *f) in pispbe_node_g_fmt_meta_out()
1062 static void pispbe_set_plane_params(struct v4l2_format *f, in pispbe_set_plane_params()
1091 static void pispbe_try_format(struct v4l2_format *f, struct pispbe_node *node) in pispbe_try_format()
1156 struct v4l2_format *f) in pispbe_node_try_fmt_vid_cap()
1174 struct v4l2_format *f) in pispbe_node_try_fmt_vid_out()
1192 struct v4l2_format *f) in pispbe_node_try_fmt_meta_out()
[all …]
/linux/drivers/media/test-drivers/visl/
H A Dvisl.h152 struct v4l2_format coded_fmt;
153 struct v4l2_format decoded_fmt;
/linux/drivers/staging/most/video/
H A Dvideo.c216 static void comp_set_format_struct(struct v4l2_format *f) in comp_set_format_struct()
229 struct v4l2_format *format) in comp_set_format()
270 struct v4l2_format *f) in vidioc_g_fmt_vid_cap()
277 struct v4l2_format *f) in vidioc_try_fmt_vid_cap()
286 struct v4l2_format *f) in vidioc_s_fmt_vid_cap()
/linux/drivers/media/pci/bt8xx/
H A Dbttvp.h230 int bttv_try_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *f);
231 int bttv_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *f);
232 int bttv_s_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *f);
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-regs.h307 struct v4l2_format format;
361 struct v4l2_format *f,
364 enum mdp_ycbcr_profile mdp_map_ycbcr_prof_mplane(struct v4l2_format *f,
/linux/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_v4l2.c132 struct v4l2_format *f) in sun4i_csi_try_fmt_vid_cap()
142 struct v4l2_format *f) in sun4i_csi_s_fmt_vid_cap()
153 struct v4l2_format *f) in sun4i_csi_g_fmt_vid_cap()
/linux/drivers/media/platform/microchip/
H A Dmicrochip-isc.h301 struct v4l2_format fmt;
302 struct v4l2_format try_fmt;
/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dvde.h150 struct v4l2_format coded_fmt;
151 struct v4l2_format decoded_fmt;
/linux/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp_params.h34 struct v4l2_format format;
/linux/drivers/staging/media/ipu3/
H A Dipu3-v4l2.c395 const struct v4l2_format *fmt = &node->vdev_fmt; in imgu_vb2_queue_setup()
609 static const struct imgu_fmt *find_format(struct v4l2_format *f, u32 type) in find_format()
679 struct v4l2_format *f) in imgu_vidioc_g_fmt()
693 struct v4l2_format *f, bool try) in imgu_fmt()
800 static int imgu_try_fmt(struct file *file, void *fh, struct v4l2_format *f) in imgu_try_fmt()
818 struct v4l2_format *f) in imgu_vidioc_try_fmt()
836 static int imgu_vidioc_s_fmt(struct file *file, void *fh, struct v4l2_format *f) in imgu_vidioc_s_fmt()
885 struct v4l2_format *f) in imgu_vidioc_g_meta_fmt()
1047 struct v4l2_format *f) in imgu_node_to_v4l2()

1234