Home
last modified time | relevance | path

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

12345678910

/Linux-v6.6/include/media/
Dv4l2-ioctl.h321 struct v4l2_format *f);
323 struct v4l2_format *f);
325 struct v4l2_format *f);
327 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);
[all …]
/Linux-v6.6/drivers/media/test-drivers/vivid/
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 …]
Dvivid-vid-cap.h20 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);
24 int vidioc_try_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);
[all …]
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);
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);
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);
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);
Dvivid-meta-out.h19 struct v4l2_format *f);
21 struct v4l2_format *f);
Dvivid-vbi-out.c137 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()
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);
Dvivid-vbi-cap.c238 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()
Dvivid-vid-out.c318 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()
829 struct v4l2_format *f) in vidioc_g_fmt_vid_out_overlay()
[all …]
/Linux-v6.6/Documentation/userspace-api/media/v4l/
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-v6.6/drivers/staging/media/rkvdec/
Drkvdec.h68 struct v4l2_format *f);
102 struct v4l2_format coded_fmt;
103 struct v4l2_format decoded_fmt;
Drkvdec.c162 static void rkvdec_reset_fmt(struct rkvdec_ctx *ctx, struct v4l2_format *f, in rkvdec_reset_fmt()
176 struct v4l2_format *f = &ctx->coded_fmt; in rkvdec_reset_coded_fmt()
191 struct v4l2_format *f = &ctx->decoded_fmt; in rkvdec_reset_decoded_fmt()
236 struct v4l2_format *f) in rkvdec_try_capture_fmt()
279 struct v4l2_format *f) in rkvdec_try_output_fmt()
311 struct v4l2_format *f) in rkvdec_s_capture_fmt()
332 struct v4l2_format *f) in rkvdec_s_output_fmt()
337 struct v4l2_format *cap_fmt; in rkvdec_s_output_fmt()
396 struct v4l2_format *f) in rkvdec_g_output_fmt()
405 struct v4l2_format *f) in rkvdec_g_capture_fmt()
[all …]
/Linux-v6.6/drivers/media/test-drivers/visl/
Dvisl-video.c50 static void visl_print_fmt(struct visl_ctx *ctx, const struct v4l2_format *f) in visl_print_fmt()
238 static void visl_init_fmt(struct v4l2_format *f, u32 fourcc) in visl_init_fmt()
250 struct v4l2_format *f = &ctx->coded_fmt; in visl_reset_coded_fmt()
271 struct v4l2_format *f = &ctx->decoded_fmt; in visl_reset_decoded_fmt()
345 struct v4l2_format *f) in visl_g_fmt_vid_cap()
354 struct v4l2_format *f) in visl_g_fmt_vid_out()
363 struct v4l2_format *f) in visl_try_fmt_vid_cap()
393 struct v4l2_format *f) in visl_try_fmt_vid_out()
419 struct v4l2_format *f) in visl_s_fmt_vid_out()
459 struct v4l2_format *f) in visl_s_fmt_vid_cap()
[all …]
Dvisl.h150 struct v4l2_format coded_fmt;
151 struct v4l2_format decoded_fmt;
/Linux-v6.6/drivers/media/platform/ti/vpe/
Dcsc.h61 struct v4l2_format *src_fmt, struct v4l2_format *dst_fmt);
/Linux-v6.6/drivers/media/platform/nxp/
Dmx2_emmaprp.c179 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()
/Linux-v6.6/drivers/media/usb/uvc/
Duvc_metadata.c42 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-v6.6/drivers/media/platform/nvidia/tegra-vde/
Dv4l2.c90 struct v4l2_format *f; in tegra_queue_setup()
407 static void tegra_reset_fmt(struct tegra_ctx *ctx, struct v4l2_format *f, in tegra_reset_fmt()
422 struct v4l2_format *f = &ctx->coded_fmt; in tegra_reset_coded_fmt()
469 struct v4l2_format *f = &ctx->decoded_fmt; in tegra_reset_decoded_fmt()
525 struct v4l2_format *f) in tegra_g_decoded_fmt()
534 struct v4l2_format *f) in tegra_try_decoded_fmt()
574 struct v4l2_format *f) in tegra_s_decoded_fmt()
610 struct v4l2_format *f) in tegra_g_coded_fmt()
633 struct v4l2_format *f) in tegra_try_coded_fmt()
659 struct v4l2_format *f) in tegra_s_coded_fmt()
[all …]
/Linux-v6.6/drivers/media/platform/mediatek/mdp/
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-v6.6/drivers/staging/media/sunxi/cedrus/
Dcedrus_video.c221 struct v4l2_format *f) in cedrus_g_fmt_vid_cap()
230 struct v4l2_format *f) in cedrus_g_fmt_vid_out()
261 struct v4l2_format *f) in cedrus_try_fmt_vid_cap()
283 struct v4l2_format *f) in cedrus_try_fmt_vid_out()
289 struct v4l2_format *f) in cedrus_s_fmt_vid_cap()
372 struct v4l2_format *f) in cedrus_s_fmt_vid_out()
/Linux-v6.6/drivers/media/pci/ivtv/
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-v6.6/drivers/media/platform/
Dm2m-deinterlace.c103 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()

12345678910