/openbmc/linux/Documentation/driver-api/media/ |
H A D | v4l2-core.rst | 9 v4l2-intro 10 v4l2-dev 11 v4l2-device 12 v4l2-fh 13 v4l2-subdev 14 v4l2-event 15 v4l2-controls 16 v4l2-videobuf 17 v4l2-videobuf2 18 v4l2-dv-timings [all …]
|
H A D | v4l2-common.rst | 6 .. kernel-doc:: include/media/v4l2-common.h 8 .. kernel-doc:: include/media/v4l2-ioctl.h
|
/openbmc/linux/drivers/media/usb/em28xx/ |
H A D | em28xx-video.c | 128 struct em28xx_v4l2 *v4l2 = dev->v4l2; in norm_maxw() local 131 return v4l2->sensor_xres; in norm_maxw() 141 struct em28xx_v4l2 *v4l2 = dev->v4l2; in norm_maxh() local 144 return v4l2->sensor_yres; in norm_maxh() 149 return (v4l2->norm & V4L2_STD_625_50) ? 576 : 480; in norm_maxh() 177 struct v4l2_device *v4l2_dev = &dev->v4l2->v4l2_dev; in em28xx_wake_i2c() 206 struct em28xx_v4l2 *v4l2 = dev->v4l2; in em28xx_set_outfmt() local 208 fmt = v4l2->format->reg; in em28xx_set_outfmt() 224 ret = em28xx_write_reg(dev, EM28XX_R10_VINMODE, v4l2->vinmode); in em28xx_set_outfmt() 228 vinctrl = v4l2->vinctl; in em28xx_set_outfmt() [all …]
|
H A D | em28xx-camera.c | 304 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() 330 v4l2->sensor_xtal = 4300000; in em28xx_init_camera() 331 pdata.xtal = v4l2->sensor_xtal; in em28xx_init_camera() 333 v4l2_i2c_new_subdev_board(&v4l2->v4l2_dev, adap, in em28xx_init_camera() 336 v4l2->vinmode = EM28XX_VINMODE_RGB8_GRBG; in em28xx_init_camera() 337 v4l2->vinctl = 0x00; in em28xx_init_camera() 342 v4l2->sensor_xres = 1280; in em28xx_init_camera() 343 v4l2->sensor_yres = 1024; in em28xx_init_camera() [all …]
|
H A D | em28xx-vbi.c | 26 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()
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | Makefile | 11 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 18 videodev-$(CONFIG_COMPAT) += v4l2-compat-ioctl32.o 19 videodev-$(CONFIG_MEDIA_CONTROLLER) += v4l2-mc.o 20 videodev-$(CONFIG_SPI) += v4l2-spi.o 21 videodev-$(CONFIG_TRACEPOINTS) += v4l2-trace.o 22 videodev-$(CONFIG_VIDEO_V4L2_I2C) += v4l2-i2c.o 27 obj-$(CONFIG_V4L2_ASYNC) += v4l2-async.o [all …]
|
H A D | Kconfig | 39 # 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
|
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_kms.c | 44 .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 …]
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/vlc/vlc/ |
H A D | 0005-ioctl-does-not-have-same-signature-between-glibc-and.patch | 9 modules/access/v4l2/lib.c | 4 ++++ 10 modules/access/v4l2/v4l2.h | 4 ++++ 13 --- a/modules/access/v4l2/lib.c 14 +++ b/modules/access/v4l2/lib.c 27 --- a/modules/access/v4l2/v4l2.h 28 +++ b/modules/access/v4l2/v4l2.h
|
/openbmc/linux/Documentation/userspace-api/media/ |
H A D | videodev2.h.rst.exceptions | 266 replace define V4L2_STD_PAL_B v4l2-std-id 267 replace define V4L2_STD_PAL_B1 v4l2-std-id 268 replace define V4L2_STD_PAL_G v4l2-std-id 269 replace define V4L2_STD_PAL_H v4l2-std-id 270 replace define V4L2_STD_PAL_I v4l2-std-id 271 replace define V4L2_STD_PAL_D v4l2-std-id 272 replace define V4L2_STD_PAL_D1 v4l2-std-id 273 replace define V4L2_STD_PAL_K v4l2-std-id 274 replace define V4L2_STD_PAL_M v4l2-std-id 275 replace define V4L2_STD_PAL_N v4l2-std-id [all …]
|
/openbmc/linux/drivers/media/common/v4l2-tpg/ |
H A D | Makefile | 2 v4l2-tpg-objs := v4l2-tpg-core.o v4l2-tpg-colors.o 4 obj-$(CONFIG_VIDEO_V4L2_TPG) += v4l2-tpg.o
|
/openbmc/linux/drivers/media/platform/sunxi/sun6i-csi/ |
H A D | sun6i_csi.c | 78 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()
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | si4713.rst | 34 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, 45 When the v4l2 mute property is set to 1 (true), the driver will turn the chip off. 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. [all …]
|
H A D | rkisp1.rst | 105 :ref:`V4L2_META_FMT_RK_ISP1_STAT_3A <v4l2-meta-fmt-rk-isp1-stat-3a>` as the 119 :ref:`V4L2_META_FMT_RK_ISP1_PARAMS <v4l2-meta-fmt-rk-isp1-params>` as the 142 "media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"imx219 4-0010":0 [fmt:SRGGB10_1X10/1640x1232]' 145 …"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_isp":0 [fmt:SRGGB10_1X10/1640x1232 crop: … 146 …"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_isp":2 [fmt:YUYV8_2X8/1600x1200 crop: (0,… 149 …"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_resizer_selfpath":0 [fmt:YUYV8_2X8/1500x1… 150 …"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_resizer_selfpath":1 [fmt:YUYV8_2X8/900x80… 153 "v4l2-ctl" "-z" "platform:rkisp1" "-d" "rkisp1_selfpath" "-v" "width=900,height=800," 154 "v4l2-ctl" "-z" "platform:rkisp1" "-d" "rkisp1_selfpath" "-v" "pixelformat=422P" 157 v4l2-ctl "-z" "platform:rkisp1" "-d" "rkisp1_selfpath" "--stream-mmap" "--stream-count" "10"
|
H A D | vimc.rst | 31 ``v4l2-ctl`` that can be used to configure the vimc configuration. This sequence 41 v4l2-ctl -z platform:vimc -d "RGB/YUV Capture" -v width=300,height=700 42 v4l2-ctl -z platform:vimc -d "Raw Capture 0" -v pixelformat=BA81 71 v4l2-ctl -d /dev/v4l-subdev7 -C focus_absolute
|
/openbmc/linux/drivers/staging/media/atomisp/ |
H A D | TODO | 44 * Remove/disable custom v4l2-ctrls 48 * Remove abuse of priv field in various v4l2 userspace API structs 51 picture, the exposure/gain needs to be tuned using v4l2-ctl on the sensor 73 * Ensure that the driver will pass v4l2-compliance tests 75 * Fix not all v4l2 apps working, e.g. cheese does not work 87 now is using v4l2-ctl to select the input and gstreamer for streaming. 91 v4l2-ctl -i <input> 111 v4l2-ctl on the sensor subdev to tweak the exposure ctrl; or by using a GUI 112 app for v4l2-controls which also supports subdev such as the Fedora patched
|
/openbmc/linux/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp.c | 187 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()
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | selections-common.rst | 9 :ref:`V4L2 subdev selection APIs <v4l2-subdev-selections>` are very 22 v4l2-selection-targets 23 v4l2-selection-flags
|
H A D | vidioc-subdev-enum-mbus-code.rst | 82 :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 D | vidioc-subdev-g-selection.rst | 69 :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`.
|
/openbmc/linux/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | Makefile | 2 bcm2835-v4l2-$(CONFIG_VIDEO_BCM2835) := \ 6 obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-v4l2.o
|
/openbmc/linux/drivers/media/pci/solo6x10/ |
H A D | Makefile | 2 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
|
/openbmc/linux/Documentation/translations/zh_CN/video4linux/ |
H A D | v4l2-framework.txt | 96 每个设备实例都通过 v4l2_device (v4l2-device.h)结构体来表示。 216 统一接口,v4l2_subdev 结构体(v4l2-subdev.h)产生了。 379 控制。这个区别仅在配置设备时有关系,一旦子设备注册完成,对于 v4l2 435 由于这些驱动很常见,所以内特提供了特定的辅助函数(v4l2-common.h)让这些 528 在 /dev 目录下的实际设备节点根据 video_device 结构体(v4l2-dev.h) 668 通常你可以传入-1,让 v4l2 框架自己选择第一个空闲的编号。但是有时用户 677 而 v4l2 框架会试图选择第一个的空闲编号(等于或大于你提供的编号)。 774 v4l2 核心 API 提供了一个处理视频缓冲的标准方法(称为“videobuf”)。 780 请参阅 Documentation/driver-api/media/v4l2-videobuf.rst,以获得更多关于 videobuf 923 关于 replace/merge 回调的一个不错的例子在 v4l2-event.c 中:用于
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/libcamera/ |
H A D | libcamera_0.4.0.bb | 52 chrpath -d ${D}${libexecdir}/libcamera/v4l2-compat.so 71 FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so" 75 # libcamera-v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get access to
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_f54.c | 120 struct v4l2_device v4l2; member 699 strscpy(f54->v4l2.name, F54_NAME, sizeof(f54->v4l2.name)); in rmi_f54_probe() 700 ret = v4l2_device_register(&fn->dev, &f54->v4l2); in rmi_f54_probe() 718 f54->vdev.v4l2_dev = &f54->v4l2; in rmi_f54_probe() 733 v4l2_device_unregister(&f54->v4l2); in rmi_f54_probe() 745 v4l2_device_unregister(&f54->v4l2); in rmi_f54_remove()
|