/openbmc/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | adi,adv7511.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 15 space conversion, S/PDIF, CEC and HDCP. The transmitter input is 21 - adi,adv7511 22 - adi,adv7511w 23 - adi,adv7513 37 reg-names: 40 needing a non-default address. [all …]
|
/openbmc/linux/drivers/media/pci/zoran/ |
H A D | zoran_driver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 * bttv - Bt848 frame grabber driver 29 * Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de) 30 * & Marcus Metzler (mocm@thp.uni-koeln.de) 42 #include <linux/i2c-algo-bit.h> 47 #include <media/v4l2-common.h> 48 #include <media/v4l2-ioctl.h> 49 #include <media/v4l2-event.h> 62 .name = "15-bit RGB LE", 64 .colorspace = V4L2_COLORSPACE_SRGB, [all …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 18 allows you to use this driver as a test input for application development, since 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present [all …]
|
H A D | imx7.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------ 14 - CMOS Sensor Interface (CSI) 15 - Video Multiplexer 16 - MIPI CSI-2 Receiver 18 .. code-block:: none 20 MIPI Camera Input ---> MIPI CSI-2 --- > |\ 24 | U | ------> CSI ---> Capture 27 Parallel Camera Input ----------------> | / 34 -------- [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-dv-timings.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * v4l2-dv-timings - dv-timings helper functions 14 #include <linux/v4l2-dv-timings.h> 15 #include <media/v4l2-dv-timings.h> 145 const struct v4l2_bt_timings *bt = &t->bt; in v4l2_valid_dv_timings() 146 const struct v4l2_bt_timings_cap *cap = &dvcap->bt; in v4l2_valid_dv_timings() 147 u32 caps = cap->capabilities; in v4l2_valid_dv_timings() 149 u32 max_hor = 3 * bt->width; in v4l2_valid_dv_timings() 151 if (t->type != V4L2_DV_BT_656_1120) in v4l2_valid_dv_timings() 153 if (t->type != dvcap->type || in v4l2_valid_dv_timings() [all …]
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-cap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * vivid-vid-cap.c - video capture support functions. 13 #include <linux/v4l2-dv-timings.h> 14 #include <media/v4l2-common.h> 15 #include <media/v4l2-event.h> 16 #include <media/v4l2-dv-timings.h> 17 #include <media/v4l2-rect.h> 19 #include "vivid-core.h" 20 #include "vivid-vid-common.h" 21 #include "vivid-kthread-cap.h" [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | pixfmt-v4l2.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 Single-planar format structure 13 .. flat-table:: struct v4l2_pix_format 14 :header-rows: 0 15 :stub-columns: 0 18 * - __u32 19 - ``width`` 20 - Image width in pixels. 21 * - __u32 22 - ``height`` [all …]
|
/openbmc/linux/drivers/media/platform/ |
H A D | m2m-deinterlace.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Javier Martin <javier.martin@vista-silicon.com> 15 #include <media/v4l2-mem2mem.h> 16 #include <media/v4l2-device.h> 17 #include <media/v4l2-ioctl.h> 18 #include <media/videobuf2-dma-contig.h> 20 #define MEM2MEM_TEST_MODULE_NAME "mem2mem-deinterlace" 23 MODULE_AUTHOR("Javier Martin <javier.martin@vista-silicon.com"); 34 #define MEM2MEM_NAME "m2m-deinterlace" 37 v4l2_dbg(1, debug, &dev->v4l2_dev, "%s: " fmt, __func__, ## arg) [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | ov772x.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 26 #include <linux/v4l2-mediabus.h> 31 #include <media/v4l2-ctrls.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-event.h> 34 #include <media/v4l2-fwnode.h> 35 #include <media/v4l2-image-sizes.h> 36 #include <media/v4l2-subdev.h> 41 #define GAIN 0x00 /* AGC - Gain control gain setting */ [all …]
|
H A D | tda1997x.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/v4l2-dv-timings.h> 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-dv-timings.h> 22 #include <media/v4l2-event.h> 23 #include <media/v4l2-fwnode.h> 31 #include <dt-bindings/media/tda1997x.h> 40 MODULE_PARM_DESC(debug, "debug level (0-2)"); 46 "OBA", /* One-Bit Audio */ [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 #define MTK_VCODEC_DEC_NAME "mtk-vcodec-dec" 22 * enum mtk_vdec_format_types - Structure used to get supported 38 * enum mtk_vdec_hw_count - Supported hardware count 48 * enum mtk_vdec_hw_arch - Used to separate different hardware architecture 56 * struct vdec_pic_info - picture size information 65 * @reserved: align struct to 64-bit in order to adjust 32-bit and 64-bit os. 78 * struct mtk_vcodec_dec_pdata - compatible data for each IC 94 * @is_subdev_supported: whether support parent-node architecture(subdev) 120 * struct mtk_vcodec_dec_ctx - Context (instance) private data. [all …]
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H A D | r8a7792-wheat.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 24 stdout-path = "serial0:115200n8"; 32 d3_3v: regulator-3v3 { 33 compatible = "regulator-fixed"; 34 regulator-name = "D3.3V"; 35 regulator-min-microvolt = <3300000>; 36 regulator-max-microvolt = <3300000>; [all …]
|
H A D | iwg20d-q7-dbcm-ca.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the iWave-RZ-G1M/N Daughter Board Camera Module 14 cec_clock: cec-clock { 15 compatible = "fixed-clock"; 16 #clock-cells = <0>; 17 clock-frequency = <12000000>; 20 hdmi-out { 21 compatible = "hdmi-connector"; 26 remote-endpoint = <&adv7511_out>; 33 pinctrl-0 = <&can1_pins>; [all …]
|
H A D | r8a7745-iwg22d-sodimm-dbhd-ca.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the iWave-RZG1E SODIMM carrier board + HDMI daughter 9 #include "r8a7745-iwg22d-sodimm.dts" 12 model = "iWave RainboW-G22D-SODIMM RZ/G1E based board with HDMI add-on"; 21 cec_clock: cec-clock { 22 compatible = "fixed-clock"; 23 #clock-cells = <0>; 24 clock-frequency = <12000000>; 27 hdmi-out { 28 compatible = "hdmi-connector"; [all …]
|
/openbmc/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-isp.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Rockchip ISP1 Driver - ISP Subdevice 16 #include <media/v4l2-event.h> 18 #include "rkisp1-common.h" 26 * NOTE: MIPI controller and input MUX are also configured in this file. 27 * This is because ISP Subdev describes not only ISP submodule (input size, 39 * +---------------------------------------------------------+ 41 * | +---------------------------------------------------+ | 44 * | | +--------------------------------------------+ | | 47 * | | | +---------------------------------+ | | | [all …]
|
/openbmc/linux/include/media/drv-intf/ |
H A D | exynos-fimc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2010 - 2013 Samsung Electronics Co., Ltd. 12 #include <media/media-entity.h> 13 #include <media/v4l2-dev.h> 14 #include <media/v4l2-mediabus.h> 37 /* Camera MIPI-CSI2 serial bus */ 43 /* FIFO link from FIMC-IS */ 62 * struct fimc_source_info - video source description required for the host 65 * @fimc_bus_type: FIMC camera input type 66 * @sensor_bus_type: image sensor bus type, MIPI, ITU-R BT.601 etc. [all …]
|
/openbmc/linux/drivers/media/usb/gspca/ |
H A D | kinect.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 uint8_t ibuf[0x200]; /* input buffer for control commands */ 69 .colorspace = V4L2_COLORSPACE_SRGB, 77 .colorspace = V4L2_COLORSPACE_SRGB, 82 .colorspace = V4L2_COLORSPACE_SRGB, 87 .colorspace = V4L2_COLORSPACE_SRGB, 92 .colorspace = V4L2_COLORSPACE_SRGB, 97 .colorspace = V4L2_COLORSPACE_SRGB, 124 struct usb_device *udev = gspca_dev->dev; in send_cmd() 126 uint8_t *obuf = sd->obuf; in send_cmd() [all …]
|
H A D | spca506.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * and my own snoopy file on a pv-321c donate by a german compagny 8 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> 31 .colorspace = V4L2_COLORSPACE_SRGB, 36 .colorspace = V4L2_COLORSPACE_SRGB, 41 .colorspace = V4L2_COLORSPACE_SRGB, 46 .colorspace = V4L2_COLORSPACE_SRGB, 51 .colorspace = V4L2_COLORSPACE_SRGB, 63 /* read 'len' bytes to gspca_dev->usb_buf */ 69 usb_control_msg(gspca_dev->dev, in reg_r() [all …]
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Derived from ivtv-ioctl.c and cx18-fileops.c 7 * Copyright 2012-2015 Cisco Systems, Inc. and/or its affiliates. 11 #include <linux/dma-mapping.h> 15 #include <linux/v4l2-dv-timings.h> 17 #include <media/v4l2-ctrls.h> 18 #include <media/v4l2-event.h> 19 #include <media/v4l2-dv-timings.h> 23 #include "cobalt-alsa.h" 24 #include "cobalt-cpld.h" [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | mtk_vcodec_enc_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 #define MTK_VCODEC_ENC_NAME "mtk-vcodec-enc" 17 #define MTK_ENC_CTX_IS_EXT(ctx) ((ctx)->dev->venc_pdata->uses_ext) 18 #define MTK_ENC_IOVA_IS_34BIT(ctx) ((ctx)->dev->venc_pdata->uses_34bit) 21 * struct mtk_vcodec_enc_pdata - compatible data for each IC 31 * @uses_34bit: whether the encoder uses 34-bit iova 46 * enum mtk_encode_param - General encoding parameters type 58 * struct mtk_enc_params - General encoding parameters 60 * @num_b_frame: number of b frames between p-frame 93 * struct mtk_vcodec_enc_ctx - Context (instance) private data. [all …]
|
/openbmc/linux/include/media/ |
H A D | v4l2-dv-timings.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * v4l2-dv-timings - Internal header with dv-timings helper functions 14 * v4l2_calc_timeperframe - helper function to calculate timeperframe based 30 * typedef v4l2_check_dv_timings_fnc - timings check callback 40 * v4l2_valid_dv_timings() - are these timings valid? 48 * hardware capabilities and the callback function (if non-NULL), returns 57 * v4l2_enum_dv_timings_cap() - Helper function to enumerate possible DV 65 * This enumerates dv_timings using the full list of possible CEA-861 and DMT 67 * hardware capabilities and the callback function (if non-NULL). 70 * return 0, otherwise it returns -EINVAL. [all …]
|
/openbmc/linux/drivers/media/pci/sta2x11/ |
H A D | sta2x11_vip.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * This is the driver for the STA2x11 Video Input Port. 25 #include <media/v4l2-common.h> 26 #include <media/v4l2-device.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-ioctl.h> 29 #include <media/v4l2-fh.h> 30 #include <media/v4l2-event.h> 31 #include <media/videobuf2-dma-contig.h> 86 * struct sta2x11_vip - All internal data for one instance of device [all …]
|
/openbmc/linux/drivers/media/platform/sunxi/sun4i-csi/ |
H A D | sun4i_v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2016-2019 Bootlin 12 #include <media/v4l2-ioctl.h> 13 #include <media/v4l2-mc.h> 14 #include <media/videobuf2-v4l2.h> 26 .input = CSI_INPUT_YUV, 56 strscpy(cap->driver, KBUILD_MODNAME, sizeof(cap->driver)); in sun4i_csi_querycap() 57 strscpy(cap->card, "sun4i-csi", sizeof(cap->card)); in sun4i_csi_querycap() 65 if (inp->index != 0) in sun4i_csi_enum_input() 66 return -EINVAL; in sun4i_csi_enum_input() [all …]
|
/openbmc/linux/drivers/media/platform/nxp/ |
H A D | imx7-media-csi.c | 1 // SPDX-License-Identifier: GPL-2.0 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-fwnode.h> 27 #include <media/v4l2-ioctl.h> 28 #include <media/v4l2-mc.h> 29 #include <media/v4l2-subdev.h> 30 #include <media/videobuf2-dma-contig.h> 162 #define IMX7_CSI_VIDEO_NAME "imx-capture" 178 /* the in-memory FourCC pixel format */ 182 * NOTE! codes pointer is NULL for in-memory-only formats. [all …]
|
/openbmc/linux/drivers/media/platform/st/sti/delta/ |
H A D | delta.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <media/v4l2-device.h> 12 #include <media/v4l2-mem2mem.h> 14 #include "delta-cfg.h" 17 * enum delta_state - state of decoding instance 46 * struct delta_streaminfo - information about stream to decode 61 * @colorspace: colorspace identifier 78 enum v4l2_colorspace colorspace; member 89 * struct delta_au - access unit structure. 112 * struct delta_frameinfo - information about decoded frame [all …]
|