/linux/include/media/ |
A D | v4l2-ioctl.h | 321 struct v4l2_format *f); 323 struct v4l2_format *f); 325 struct v4l2_format *f); 329 struct v4l2_format *f); 331 struct v4l2_format *f); 333 struct v4l2_format *f); 335 struct v4l2_format *f); 337 struct v4l2_format *f); 339 struct v4l2_format *f); 353 struct v4l2_format *f); [all …]
|
/linux/drivers/media/test-drivers/vivid/ |
A D | vivid-vid-out.h | 15 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 …]
|
A D | vivid-vid-cap.h | 20 int vivid_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 21 int vivid_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 22 int vivid_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 23 int vidioc_g_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f); 25 int vidioc_s_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f); 26 int vidioc_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 27 int vidioc_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 28 int vidioc_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 33 int vidioc_g_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_format *f); 34 int vidioc_try_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_format *f); [all …]
|
A D | vivid-vbi-out.h | 13 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);
|
A D | vivid-vbi-cap.h | 16 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);
|
A D | vivid-vid-common.h | 11 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);
|
A D | vivid-sdr-cap.h | 17 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);
|
A D | vivid-vbi-out.c | 137 struct v4l2_format *f) in vidioc_g_fmt_vbi_out() 160 struct v4l2_format *f) in vidioc_s_fmt_vbi_out() 174 int vidioc_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) in vidioc_g_fmt_sliced_vbi_out() 186 int vidioc_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) in vidioc_try_fmt_sliced_vbi_out() 203 struct v4l2_format *fmt) in vidioc_s_fmt_sliced_vbi_out()
|
A D | vivid-meta-out.h | 19 struct v4l2_format *f); 21 struct v4l2_format *f);
|
A D | vivid-touch-cap.h | 30 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);
|
A D | vivid-vbi-cap.c | 238 struct v4l2_format *f) in vidioc_g_fmt_vbi_cap() 251 struct v4l2_format *f) in vidioc_s_fmt_vbi_cap() 287 int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in vidioc_g_fmt_sliced_vbi_cap() 299 int vidioc_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in vidioc_try_fmt_sliced_vbi_cap() 315 int vidioc_s_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in vidioc_s_fmt_sliced_vbi_cap()
|
A D | vivid-vid-out.c | 318 struct v4l2_format *f) in vivid_g_fmt_vid_out() 350 struct v4l2_format *f) in vivid_try_fmt_vid_out() 448 struct v4l2_format *f) in vivid_s_fmt_vid_out() 576 struct v4l2_format *f) in vidioc_g_fmt_vid_out_mplane() 586 struct v4l2_format *f) in vidioc_try_fmt_vid_out_mplane() 596 struct v4l2_format *f) in vidioc_s_fmt_vid_out_mplane() 606 struct v4l2_format *f) in vidioc_g_fmt_vid_out() 616 struct v4l2_format *f) in vidioc_try_fmt_vid_out() 626 struct v4l2_format *f) in vidioc_s_fmt_vid_out() 834 struct v4l2_format *f) in vidioc_g_fmt_vid_out_overlay() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
A D | vidioc-g-fmt.rst | 20 ``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/staging/media/rkvdec/ |
A D | rkvdec.h | 64 struct v4l2_format *f); 96 struct v4l2_format coded_fmt; 97 struct v4l2_format decoded_fmt;
|
A D | rkvdec.c | 151 struct v4l2_format *f = &ctx->coded_fmt; in rkvdec_reset_coded_fmt() 166 struct v4l2_format *f = &ctx->decoded_fmt; in rkvdec_reset_decoded_fmt() 211 struct v4l2_format *f) in rkvdec_try_capture_fmt() 252 struct v4l2_format *f) in rkvdec_try_output_fmt() 284 struct v4l2_format *f) in rkvdec_s_capture_fmt() 305 struct v4l2_format *f) in rkvdec_s_output_fmt() 310 struct v4l2_format *cap_fmt; in rkvdec_s_output_fmt() 366 struct v4l2_format *f) in rkvdec_g_output_fmt() 375 struct v4l2_format *f) in rkvdec_g_capture_fmt() 441 struct v4l2_format *f; in rkvdec_queue_setup() [all …]
|
/linux/drivers/media/platform/ |
A D | mx2_emmaprp.c | 179 static struct emmaprp_fmt *find_format(struct v4l2_format *f) in find_format() 427 static int vidioc_g_fmt(struct emmaprp_ctx *ctx, struct v4l2_format *f) in vidioc_g_fmt() 452 struct v4l2_format *f) in vidioc_g_fmt_vid_out() 458 struct v4l2_format *f) in vidioc_g_fmt_vid_cap() 463 static int vidioc_try_fmt(struct v4l2_format *f) in vidioc_try_fmt() 498 struct v4l2_format *f) in vidioc_try_fmt_vid_cap() 515 struct v4l2_format *f) in vidioc_try_fmt_vid_out() 531 static int vidioc_s_fmt(struct emmaprp_ctx *ctx, struct v4l2_format *f) in vidioc_s_fmt() 570 struct v4l2_format *f) in vidioc_s_fmt_vid_cap() 582 struct v4l2_format *f) in vidioc_s_fmt_vid_out()
|
A D | m2m-deinterlace.c | 103 static struct deinterlace_fmt *find_format(struct v4l2_format *f) in find_format() 481 static int vidioc_g_fmt(struct deinterlace_ctx *ctx, struct v4l2_format *f) in vidioc_g_fmt() 513 struct v4l2_format *f) in vidioc_g_fmt_vid_out() 519 struct v4l2_format *f) in vidioc_g_fmt_vid_cap() 524 static int vidioc_try_fmt(struct v4l2_format *f, struct deinterlace_fmt *fmt) in vidioc_try_fmt() 540 struct v4l2_format *f) in vidioc_try_fmt_vid_cap() 560 struct v4l2_format *f) in vidioc_try_fmt_vid_out() 578 static int vidioc_s_fmt(struct deinterlace_ctx *ctx, struct v4l2_format *f) in vidioc_s_fmt() 629 struct v4l2_format *f) in vidioc_s_fmt_vid_cap() 640 struct v4l2_format *f) in vidioc_s_fmt_vid_out()
|
/linux/drivers/media/platform/ti-vpe/ |
A D | csc.h | 61 struct v4l2_format *src_fmt, struct v4l2_format *dst_fmt);
|
/linux/drivers/media/usb/uvc/ |
A D | uvc_metadata.c | 42 struct v4l2_format *format) in uvc_meta_v4l2_get_format() 60 struct v4l2_format *format) in uvc_meta_v4l2_try_format() 81 struct v4l2_format *format) in uvc_meta_v4l2_set_format()
|
/linux/drivers/media/platform/mtk-mdp/ |
A D | mtk_mdp_regs.c | 28 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/staging/media/sunxi/cedrus/ |
A D | cedrus_video.c | 227 struct v4l2_format *f) in cedrus_g_fmt_vid_cap() 236 struct v4l2_format *f) in cedrus_g_fmt_vid_out() 245 struct v4l2_format *f) in cedrus_try_fmt_vid_cap() 266 struct v4l2_format *f) in cedrus_try_fmt_vid_out() 285 struct v4l2_format *f) in cedrus_s_fmt_vid_cap() 305 struct v4l2_format *f) in cedrus_s_fmt_vid_out()
|
/linux/drivers/media/pci/ivtv/ |
A D | ivtv-ioctl.c | 309 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() 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() 511 static int ivtv_try_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_try_fmt_vid_out() 567 static int ivtv_s_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_s_fmt_vid_cap() 598 static int ivtv_s_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_s_fmt_vbi_cap() [all …]
|
/linux/drivers/media/platform/sunxi/sun6i-csi/ |
A D | sun6i_video.c | 343 struct v4l2_format *fmt) in vidioc_g_fmt_vid_cap() 353 struct v4l2_format *f) in sun6i_video_try_fmt() 379 static int sun6i_video_set_fmt(struct sun6i_video *video, struct v4l2_format *f) in sun6i_video_set_fmt() 393 struct v4l2_format *f) in vidioc_s_fmt_vid_cap() 404 struct v4l2_format *f) in vidioc_try_fmt_vid_cap() 602 struct v4l2_format fmt = { 0 }; in sun6i_video_init()
|
/linux/drivers/staging/most/video/ |
A D | video.c | 216 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/staging/media/hantro/ |
A D | hantro_v4l2.c | 212 struct v4l2_format *f) in vidioc_g_fmt_out_mplane() 225 struct v4l2_format *f) in vidioc_g_fmt_cap_mplane() 302 struct v4l2_format *f) in vidioc_try_fmt_cap_mplane() 308 struct v4l2_format *f) in vidioc_try_fmt_out_mplane() 537 vidioc_s_fmt_out_mplane(struct file *file, void *priv, struct v4l2_format *f) in vidioc_s_fmt_out_mplane() 543 vidioc_s_fmt_cap_mplane(struct file *file, void *priv, struct v4l2_format *f) in vidioc_s_fmt_cap_mplane()
|