Home
last modified time | relevance | path

Searched refs:v4l2 (Results 1 – 25 of 177) sorted by relevance

12345678

/linux-6.15/Documentation/driver-api/media/
H A Dv4l2-core.rst9 v4l2-intro
10 v4l2-dev
11 v4l2-device
12 v4l2-fh
13 v4l2-subdev
14 v4l2-event
19 v4l2-mc
22 v4l2-async
24 v4l2-cci
25 v4l2-rect
[all …]
H A Dv4l2-jpeg.rst6 .. kernel-doc:: include/media/v4l2-jpeg.h
9 .. kernel-doc:: drivers/media/v4l2-core/v4l2-jpeg.c
H A Dv4l2-common.rst6 .. kernel-doc:: include/media/v4l2-common.h
8 .. kernel-doc:: include/media/v4l2-ioctl.h
/linux-6.15/drivers/media/v4l2-core/
H A DMakefile11 videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \
12 v4l2-event.o v4l2-subdev.o v4l2-common.o \
13 v4l2-ctrls-core.o v4l2-ctrls-api.o \
14 v4l2-ctrls-request.o v4l2-ctrls-defs.o
20 videodev-$(CONFIG_SPI) += v4l2-spi.o
21 videodev-$(CONFIG_TRACEPOINTS) += v4l2-trace.o
27 obj-$(CONFIG_V4L2_ASYNC) += v4l2-async.o
28 obj-$(CONFIG_V4L2_CCI) += v4l2-cci.o
30 obj-$(CONFIG_V4L2_FWNODE) += v4l2-fwnode.o
31 obj-$(CONFIG_V4L2_H264) += v4l2-h264.o
[all …]
H A DKconfig39 # Used by drivers that need v4l2-jpeg.ko
43 # Used by drivers that need v4l2-h264.ko
47 # Used by drivers that need v4l2-vp9.ko
51 # Used by drivers that need v4l2-mem2mem.ko
/linux-6.15/drivers/media/usb/em28xx/
H A Dem28xx-video.c128 struct em28xx_v4l2 *v4l2 = dev->v4l2; in norm_maxw() local
141 struct em28xx_v4l2 *v4l2 = dev->v4l2; in norm_maxh() local
206 struct em28xx_v4l2 *v4l2 = dev->v4l2; in em28xx_set_outfmt() local
315 struct em28xx_v4l2 *v4l2 = dev->v4l2; in em28xx_resolution_set() local
350 struct em28xx_v4l2 *v4l2 = dev->v4l2; in em28xx_set_alternate() local
450 struct em28xx_v4l2 *v4l2 = dev->v4l2; in em28xx_copy_video() local
615 struct em28xx_v4l2 *v4l2 = dev->v4l2; in finish_field_prepare_next() local
1035 (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3; in queue_setup()
1057 size = (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3; in buffer_prepare()
2117 v4l2->dev->v4l2 = NULL; in em28xx_free_v4l2()
[all …]
H A Dem28xx-camera.c304 struct em28xx_v4l2 *v4l2 = dev->v4l2; in em28xx_init_camera() local
316 v4l2->sensor_xres = 640; in em28xx_init_camera()
317 v4l2->sensor_yres = 480; in em28xx_init_camera()
337 v4l2->vinctl = 0x00; in em28xx_init_camera()
348 v4l2->vinctl = 0x00; in em28xx_init_camera()
352 v4l2->sensor_xres = 640; in em28xx_init_camera()
353 v4l2->sensor_yres = 512; in em28xx_init_camera()
360 v4l2->vinctl = 0x00; in em28xx_init_camera()
383 v4l2->sensor_xres = 640; in em28xx_init_camera()
384 v4l2->sensor_yres = 480; in em28xx_init_camera()
[all …]
H A Dem28xx-vbi.c26 struct em28xx_v4l2 *v4l2 = dev->v4l2; in vbi_queue_setup() local
27 unsigned long size = v4l2->vbi_width * v4l2->vbi_height * 2; in vbi_queue_setup()
47 struct em28xx_v4l2 *v4l2 = dev->v4l2; in vbi_buffer_prepare() local
50 size = v4l2->vbi_width * v4l2->vbi_height * 2; in vbi_buffer_prepare()
/linux-6.15/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_kms.c44 .v4l2 = V4L2_PIX_FMT_RGB565,
52 .v4l2 = V4L2_PIX_FMT_ARGB555,
60 .v4l2 = V4L2_PIX_FMT_XRGB555,
67 .v4l2 = V4L2_PIX_FMT_XBGR32,
75 .v4l2 = V4L2_PIX_FMT_ABGR32,
83 .v4l2 = V4L2_PIX_FMT_UYVY,
91 .v4l2 = V4L2_PIX_FMT_YUYV,
99 .v4l2 = V4L2_PIX_FMT_NV12M,
107 .v4l2 = V4L2_PIX_FMT_NV21M,
115 .v4l2 = V4L2_PIX_FMT_NV16M,
[all …]
/linux-6.15/Documentation/userspace-api/media/
H A Dvideodev2.h.rst.exceptions301 replace define V4L2_STD_PAL v4l2-std-id
302 replace define V4L2_STD_B v4l2-std-id
303 replace define V4L2_STD_G v4l2-std-id
304 replace define V4L2_STD_H v4l2-std-id
305 replace define V4L2_STD_L v4l2-std-id
306 replace define V4L2_STD_GH v4l2-std-id
307 replace define V4L2_STD_DK v4l2-std-id
308 replace define V4L2_STD_BG v4l2-std-id
309 replace define V4L2_STD_MN v4l2-std-id
310 replace define V4L2_STD_MTS v4l2-std-id
[all …]
/linux-6.15/drivers/media/common/v4l2-tpg/
H A DMakefile2 v4l2-tpg-objs := v4l2-tpg-core.o v4l2-tpg-colors.o
4 obj-$(CONFIG_VIDEO_V4L2_TPG) += v4l2-tpg.o
/linux-6.15/drivers/staging/media/atomisp/
H A DTODO8 * Remove/disable custom v4l2-ctrls
14 * Remove abuse of priv field in various v4l2 userspace API structs
17 picture, the exposure/gain needs to be tuned using v4l2-ctl on the sensor
36 * Ensure that the driver will pass v4l2-compliance tests
38 * Fix not all v4l2 apps working, e.g. cheese does not work
47 now is using v4l2-ctl to select the input and gstreamer for streaming.
51 v4l2-ctl -i <input>
71 v4l2-ctl on the sensor subdev to tweak the exposure ctrl; or by using a GUI
72 app for v4l2-controls which also supports subdev such as the Fedora patched
/linux-6.15/Documentation/process/debugging/
H A Dmedia_specific_debugging_guide.rst36 For the full documentation see :ref:`driver-api/media/v4l2-dev:video device
42 Two debug print statements, which are specific for devices and for the v4l2
69 $ ddcmd '-p; file v4l2-h264.c +p'
71 drivers/media/v4l2-core/v4l2-h264.c:372 [v4l2_h264]print_ref_list_b =p
73 drivers/media/v4l2-core/v4l2-h264.c:333 [v4l2_h264]print_ref_list_p =p
145 Driver verification with v4l2-compliance
148 To verify, that a driver adheres to the v4l2 API, the tool v4l2-compliance is
155 v4l2-compliance -M /dev/mediaX --verbose
160 v4l2-compliance -m /dev/mediaX
166 to the kernel log. It's called by v4l2-ctl --log-status. Very useful for
[all …]
/linux-6.15/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi.c78 struct sun6i_csi_v4l2 *v4l2 = &csi_dev->v4l2; in sun6i_csi_v4l2_setup() local
79 struct media_device *media_dev = &v4l2->media_dev; in sun6i_csi_v4l2_setup()
80 struct v4l2_device *v4l2_dev = &v4l2->v4l2_dev; in sun6i_csi_v4l2_setup()
124 struct sun6i_csi_v4l2 *v4l2 = &csi_dev->v4l2; in sun6i_csi_v4l2_cleanup() local
126 media_device_unregister(&v4l2->media_dev); in sun6i_csi_v4l2_cleanup()
127 v4l2_device_unregister(&v4l2->v4l2_dev); in sun6i_csi_v4l2_cleanup()
128 media_device_cleanup(&v4l2->media_dev); in sun6i_csi_v4l2_cleanup()
/linux-6.15/Documentation/admin-guide/media/
H A Dsi4713.rst34 The I2C device driver exports a v4l2-subdev interface to the kernel.
35 All properties can also be accessed by v4l2 extended controls interface, by
36 using the v4l2-subdev calls (g_ext_ctrls, s_ext_ctrls).
38 The platform device driver exports a v4l2 radio device interface to user land.
42 Applications can use v4l2 radio API to specify frequency of operation, mute state,
50 The properties can be accessed using v4l2 extended controls.
51 Here is an output from v4l2-ctl util:
55 / # v4l2-ctl -d /dev/radio0 --all -L
184 Testing is usually done with v4l2-ctl utility for managing FM tuner cards.
185 The tool can be found in v4l-dvb repository under v4l2-apps/util directory.
[all …]
H A Drkisp1.rst105 :ref:`V4L2_META_FMT_RK_ISP1_STAT_3A <v4l2-meta-fmt-rk-isp1-stat-3a>` as the
122 :ref:`V4L2_META_FMT_RK_ISP1_PARAMS <v4l2-meta-fmt-rk-isp1-params>` as the
127 :ref:`V4L2_META_FMT_RK_ISP1_EXT_PARAMS <v4l2-meta-fmt-rk-isp1-ext-params>` as
149 "media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"imx219 4-0010":0 [fmt:SRGGB10_1X10/1640x1232]'
152 …"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_isp":0 [fmt:SRGGB10_1X10/1640x1232 crop: …
153 …"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_isp":2 [fmt:YUYV8_2X8/1600x1200 crop: (0,…
156 …"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_resizer_selfpath":0 [fmt:YUYV8_2X8/1500x1…
157 …"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_resizer_selfpath":1 [fmt:YUYV8_2X8/900x80…
160 "v4l2-ctl" "-z" "platform:rkisp1" "-d" "rkisp1_selfpath" "-v" "width=900,height=800,"
161 "v4l2-ctl" "-z" "platform:rkisp1" "-d" "rkisp1_selfpath" "-v" "pixelformat=422P"
[all …]
H A Dmgb4.rst10 stream related parameters (some of them must be set properly before the v4l2
192 *Note: This parameter can not be changed while the input v4l2 device is
204 is the corresponding v4l2 video output device. The default is
205 the corresponding v4l2 output, i.e. 2 for OUT1 and 3 for OUT2.
209 | 2 - v4l2 output 0
210 | 3 - v4l2 output 1
212 *Note: This parameter can not be changed while ANY of the input/output v4l2
220 *Note: This parameter can not be changed while the output v4l2 device is
228 *Note: This parameter can not be changed while the output v4l2 device is
265 *Note: This parameter can not be changed while the output v4l2 device is
[all …]
/linux-6.15/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp.c187 struct sun6i_isp_v4l2 *v4l2 = &isp_dev->v4l2; in sun6i_isp_v4l2_setup() local
188 struct v4l2_device *v4l2_dev = &v4l2->v4l2_dev; in sun6i_isp_v4l2_setup()
189 struct media_device *media_dev = &v4l2->media_dev; in sun6i_isp_v4l2_setup()
230 struct sun6i_isp_v4l2 *v4l2 = &isp_dev->v4l2; in sun6i_isp_v4l2_cleanup() local
232 media_device_unregister(&v4l2->media_dev); in sun6i_isp_v4l2_cleanup()
233 v4l2_device_unregister(&v4l2->v4l2_dev); in sun6i_isp_v4l2_cleanup()
234 media_device_cleanup(&v4l2->media_dev); in sun6i_isp_v4l2_cleanup()
/linux-6.15/Documentation/userspace-api/media/v4l/
H A Dselections-common.rst9 :ref:`V4L2 subdev selection APIs <v4l2-subdev-selections>` are very
22 v4l2-selection-targets
23 v4l2-selection-flags
H A Dvidioc-subdev-enum-mbus-code.rst82 :ref:`v4l2-mbus-format`. Filled in by the driver.
86 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
89 - See :ref:`v4l2-subdev-mbus-code-flags`
119 See :ref:`v4l2-mbus-format` on how to do this.
126 See :ref:`v4l2-mbus-format` on how to do this.
133 See :ref:`v4l2-mbus-format` on how to do this.
140 See :ref:`v4l2-mbus-format` on how to do this.
147 See :ref:`v4l2-mbus-format` on how to do this.
H A Dvidioc-subdev-g-selection.rst69 :ref:`v4l2-selections-common`.
83 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
89 - Target selection rectangle. See :ref:`v4l2-selections-common`.
92 - Flags. See :ref:`v4l2-selection-flags`.
/linux-6.15/drivers/staging/vc04_services/bcm2835-camera/
H A DMakefile2 bcm2835-v4l2-$(CONFIG_VIDEO_BCM2835) := \
6 obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-v4l2.o
/linux-6.15/drivers/media/pci/solo6x10/
H A DMakefile2 solo6x10-y := solo6x10-core.o solo6x10-i2c.o solo6x10-p2m.o solo6x10-v4l2.o \
4 solo6x10-v4l2-enc.o solo6x10-g723.o solo6x10-eeprom.o
/linux-6.15/drivers/media/platform/st/stm32/
H A DKconfig13 available as a v4l2 device.
28 available as a v4l2 device.
44 Pixel Processor (DCMIPP) available as a v4l2 device.
/linux-6.15/drivers/staging/media/sunxi/cedrus/
H A DTODO8 v4l2 and m2m devices registration;
15 encoder) while sharing significant common infrastructure, common v4l2 and m2m

12345678