| /linux/drivers/media/usb/s2255/ |
| H A D | s2255drv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * s2255drv.c - a driver for the Sensoray 2255 USB video capture device 5 * Copyright (C) 2007-2014 by Sensoray Company Inc. 19 * -full size, color mode YUYV or YUV422P: 2 channels at once 20 * -full or half size Grey scale: all 4 channels at once 21 * -half size, color mode YUYV or YUV422P: all 4 channels at once 22 * -full size, color mode YUYV or YUV422P 1/2 frame rate: all 4 channels 35 #include <media/videobuf2-v4l2.h> 36 #include <media/videobuf2-vmalloc.h> 37 #include <media/v4l2-common.h> [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | diff-v4l.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _diff-v4l: 23 and below in :ref:`v4l-dev`. 25 The teletext devices (minor range 192-223) have been removed in V4L2 and 35 .. _v4l-dev: 37 .. flat-table:: V4L Device Types, Names and Numbers 38 :header-rows: 1 39 :stub-columns: 0 41 * - Device Type 42 - File Name [all …]
|
| H A D | dev-capture.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 7 Video Capture Interface 12 25 or 30 frames/second. With this interface applications can control the 26 Devices supporting the video capture interface set the 32 (``V4L2_CAP_VIDEO_OVERLAY``) and the :ref:`raw VBI capture <raw-vbi>` 33 (``V4L2_CAP_VBI_CAPTURE``) interface. At least one of the read/write or 43 :ref:`streaming parameter <streaming-par>` ioctls as needed. The 70 :c:type:`v4l2_pix_format` ``pix`` or the struct 72 member of the ``fmt`` union. 77 ``vbi`` member of the ``fmt`` union, or better just modify the results [all …]
|
| H A D | dev-output.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 7 Video Output Interface 11 signal. With this interface applications can control the encoding 25 Devices supporting the video output interface set the 30 functions they may also support the :ref:`raw VBI output <raw-vbi>` 31 (``V4L2_CAP_VBI_OUTPUT``) interface. At least one of the read/write or 41 :ref:`streaming parameter <streaming-par>` ioctls as needed. The 67 :c:type:`v4l2_pix_format` ``pix`` or the struct 69 member of the ``fmt`` union. 74 ``vbi`` member of the ``fmt`` union, or better just modify the results
|
| H A D | dev-overlay.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 6 Video Overlay Interface 11 Video overlay devices have the ability to genlock (TV-)video into the 12 (VGA-)video signal of a graphics card, or to store captured images 41 :ref:`Xv/V4L <xvideo>` interface driver and a V4L2 application. 48 Devices supporting the video overlay interface set the 62 :ref:`streaming parameter <streaming-par>` ioctls as needed. The 93 1. Chroma-keying displays the overlaid image only where pixels in the 162 ------------------ 181 When chroma-keying has been negotiated with [all …]
|
| H A D | hist-v4l2.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _hist-v4l2: 21 1998-08-20: First version. 23 1998-08-27: The :c:func:`select()` function was introduced. 25 1998-09-10: New video standard interface. 27 1998-09-18: The ``VIDIOC_NONCAP`` ioctl was replaced by the otherwise 36 1998-09-28: Revamped video standard. Made video controls individually 39 1998-10-02: The ``id`` field was removed from 47 1998-11-08: Many minor changes. Most symbols have been renamed. Some 50 1998-11-12: The read/write direction of some ioctls was misdefined. [all …]
|
| /linux/drivers/media/usb/gspca/ |
| H A D | stk1135.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 45 /* -- read a register -- */ 48 struct usb_device *dev = gspca_dev->dev; in reg_r() 51 if (gspca_dev->usb_err < 0) in reg_r() 58 gspca_dev->usb_buf, 1, in reg_r() 62 index, gspca_dev->usb_buf[0]); in reg_r() 65 gspca_dev->usb_err = ret; in reg_r() 69 return gspca_dev->usb_buf[0]; in reg_r() 72 /* -- write a register -- */ [all …]
|
| /linux/Documentation/devicetree/bindings/display/imx/ |
| H A D | fsl,imx-parallel-display.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/imx/fsl,imx-parallel-display.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Li <Frank.Li@nxp.com> 14 const: fsl,imx-parallel-display 16 interface-pix-fmt: 19 - rgb24 20 - rgb565 21 - bgr666 [all …]
|
| /linux/drivers/media/usb/pwc/ |
| H A D | pwc-v4l.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 USB and Video4Linux interface part. 4 (C) 1999-2004 Nemosoft Unv. 5 (C) 2004-2006 Luc Saillard (luc@saillard.org) 11 The decompression routines have been implemented by reverse-engineering the 156 hdl = &pdev->ctrl_handler; in pwc_init_controls() 165 pdev->brightness = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() 171 pdev->contrast = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() 174 if (pdev->type >= 675) { in pwc_init_controls() 175 if (pdev->type < 730) in pwc_init_controls() [all …]
|
| /linux/drivers/staging/vc04_services/bcm2835-camera/ |
| H A D | bcm2835-camera.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/dma-mapping.h> 19 #include <media/videobuf2-vmalloc.h> 20 #include <media/videobuf2-dma-contig.h> 21 #include <media/v4l2-device.h> 22 #include <media/v4l2-ioctl.h> 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-fh.h> 25 #include <media/v4l2-event.h> 26 #include <media/v4l2-common.h> [all …]
|
| /linux/drivers/media/platform/ti/davinci/ |
| H A D | vpif_capture.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include <media/v4l2-fwnode.h> 17 #include <media/v4l2-ioctl.h> 19 #include <media/v4l2-mediabus.h> 30 #define vpif_err(fmt, arg...) v4l2_err(&vpif_obj.v4l2_dev, fmt, ## arg) argument 31 #define vpif_dbg(level, debug, fmt, arg...) \ argument 32 v4l2_dbg(level, debug, &vpif_obj.v4l2_dev, fmt, ## arg) 38 MODULE_PARM_DESC(debug, "Debug level 0-1"); 71 struct vb2_queue *q = vb->vb2_queue; in vpif_buffer_prepare() 78 common = &ch->common[VPIF_VIDEO_INDEX]; in vpif_buffer_prepare() [all …]
|
| /linux/drivers/staging/media/imx/ |
| H A D | imx-ic-prpencvf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (c) 2012-2017 Mentor Graphics Inc. 18 #include <media/v4l2-ctrls.h> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-ioctl.h> 21 #include <media/v4l2-mc.h> 22 #include <media/v4l2-subdev.h> 24 #include "imx-media.h" 25 #include "imx-ic.h" 71 int ipu_buf_num; /* ipu double buffer index: 0-1 */ [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6dl-aristainetos_7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 9 #include "imx6qdl-aristainetos.dtsi" 13 compatible = "abb,aristainetos-imx6dl-7", "fsl,imx6dl"; 21 compatible = "fsl,imx-parallel-display"; 22 interface-pix-fmt = "rgb24"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&pinctrl_ipu_disp>; 27 display-timings { 28 native-mode = <&timing0>; [all …]
|
| H A D | imx53-sk-imx53-atm0700d4-rgb.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 /dts-v1/; 7 #include <dt-bindings/pwm/pwm.h> 8 #include "imx53-sk-imx53-atm0700d4.dtsi" 12 compatible = "fsl,imx-parallel-display"; 13 interface-pix-fmt = "rgb24"; 14 pinctrl-0 = <&pinctrl_rgb24>; 15 pinctrl-names = "default"; 17 #address-cells = <1>; 18 #size-cells = <0>; [all …]
|
| H A D | imx6dl-aristainetos_4.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 9 #include "imx6qdl-aristainetos.dtsi" 13 compatible = "abb,aristainetos-imx6dl-4", "fsl,imx6dl"; 16 compatible = "pwm-backlight"; 18 brightness-levels = <0 4 8 16 32 64 128 255>; 19 default-brightness-level = <7>; 20 enable-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_backlight>; [all …]
|
| H A D | imx6qdl-phytec-mira-peb-av-02.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #address-cells = <1>; 10 #size-cells = <0>; 11 compatible = "fsl,imx-parallel-display"; 12 pinctrl-names = "default"; 13 pinctrl-0 = <&pinctrl_disp0>; 14 interface-pix-fmt = "rgb24"; 21 remote-endpoint = <&ipu1_di0_disp0>; 29 remote-endpoint = <&peb_panel_lcd_in>; 34 panel-lcd { [all …]
|
| H A D | imx53-mba53.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 /dts-v1/; 8 #include "imx53-tqma53.dtsi" 15 stdout-path = &uart2; 19 compatible = "pwm-backlight"; 21 brightness-levels = <0 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100>; 22 default-brightness-level = <10>; 23 enable-gpios = <&gpio7 7 0>; 24 power-supply = <®_backlight>; 28 compatible = "fsl,imx-parallel-display"; [all …]
|
| H A D | imx53-cx9020.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * based on imx53-qsb.dts 7 /dts-v1/; 15 stdout-path = &uart2; 24 display-0 { 25 #address-cells = <1>; 26 #size-cells = <0>; 27 compatible = "fsl,imx-parallel-display"; 28 interface-pix-fmt = "rgb24"; 29 pinctrl-names = "default"; [all …]
|
| H A D | imx51-ts4800.dts | 2 * Copyright 2015 Savoir-faire Linux 4 * This device tree is based on imx51-babbage.dts 9 /dts-v1/; 13 model = "Technologic Systems TS-4800"; 14 compatible = "technologic,imx51-ts4800", "fsl,imx51"; 17 stdout-path = &uart1; 27 clock-frequency = <22579200>; 31 clock-frequency = <24576000>; 35 backlight_reg: regulator-backlight { 36 compatible = "regulator-fixed"; [all …]
|
| H A D | imx53-tx53-x03x.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT) 3 * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de> 6 /dts-v1/; 7 #include "imx53-tx53.dtsi" 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pwm/pwm.h> 13 model = "Ka-Ro electronics TX53 module (LCD)"; 21 compatible = "fsl,imx-parallel-display"; 22 interface-pix-fmt = "rgb24"; [all …]
|
| H A D | imx6dl-yapp43-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/pwm/pwm.h> 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 32 64 128 255>; 23 default-brightness-level = <32>; 24 num-interpolated-steps = <8>; [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | tvp514x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 * Karicheri Muralidharan <m-karicheri2@ti.com> 26 #include <linux/v4l2-mediabus.h> 30 #include <media/media-entity.h> 31 #include <media/v4l2-async.h> 32 #include <media/v4l2-common.h> 33 #include <media/v4l2-ctrls.h> 34 #include <media/v4l2-device.h> 35 #include <media/v4l2-fwnode.h> 36 #include <media/v4l2-mediabus.h> [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | smscufx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * smscufx.c -- Framebuffer driver for SMSC UFX USB controller 13 * Works well with Bernie Thompson's X DAMAGE patch to xf86-video-fbdev 17 * usb-skeleton by GregKH. 20 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 34 #define check_warn(status, fmt, args...) \ argument 35 ({ if (status < 0) pr_warn(fmt, ##args); }) 37 #define check_warn_return(status, fmt, args...) \ argument 38 ({ if (status < 0) { pr_warn(fmt, ##args); return status; } }) 40 #define check_warn_goto_error(status, fmt, args...) \ argument [all …]
|