/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-codec.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _codec-controls: 24 .. _mpeg-control-id: 27 ----------------- 35 .. _v4l2-mpeg-stream-type: 40 enum v4l2_mpeg_stream_type - 41 The MPEG-1, -2 or -4 output stream type. One cannot assume anything 42 here. Each hardware MPEG encoder tends to support different subsets 48 .. flat-table:: 49 :header-rows: 0 [all …]
|
H A D | pixfmt-compressed.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 8 .. _compressed-formats: 18 .. flat-table:: Compressed Image Formats 19 :header-rows: 1 20 :stub-columns: 0 23 * - Identifier 24 - Code 25 - Details 26 * .. _V4L2-PIX-FMT-JPEG: 28 - ``V4L2_PIX_FMT_JPEG`` [all …]
|
H A D | dev-encoder.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 6 Memory-to-Memory Stateful Video Encoder Interface 9 A stateful video encoder takes raw video frames in display order and encodes 12 further post-processing by the client. 16 operations are needed, use of the Stateless Video Encoder Interface (in 34 5. Single-planar API (see :ref:`planar-apis`) and applicable structures may be 35 used interchangeably with multi-planar API, unless specified otherwise, 36 depending on encoder capabilities and following the general V4L2 guidelines. 47 Refer to :ref:`decoder-glossary`. 52 .. kernel-render:: DOT [all …]
|
H A D | vidioc-g-parm.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_PARM - VIDIOC_S_PARM - Get or set streaming parameters 43 For stateful encoders (see :ref:`encoder`) this represents the 44 frame interval that is typically embedded in the encoded video stream. 63 .. flat-table:: struct v4l2_streamparm 64 :header-rows: 0 65 :stub-columns: 0 68 * - __u32 69 - ``type`` 70 - The buffer (stream) type, same as struct [all …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | qcom,sdm660-venus.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/qcom,sdm660-venus.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SDM660 Venus video encode and decode accelerators 10 - Stanimir Varbanov <stanimir.varbanov@linaro.org> 11 - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 14 The Venus IP is a video encode and decode accelerator present 18 - $ref: qcom,venus-common.yaml# 22 const: qcom,sdm660-venus [all …]
|
H A D | qcom,msm8996-venus.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/qcom,msm8996-venus.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm MSM8996 Venus video encode and decode accelerators 10 - Stanimir Varbanov <stanimir.varbanov@linaro.org> 13 The Venus IP is a video encode and decode accelerator present 17 - $ref: qcom,venus-common.yaml# 22 - qcom,msm8996-venus 23 - qcom,msm8998-venus [all …]
|
H A D | st,stm32mp25-video-codec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/st,stm32mp25-video-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics STM32MP25 VDEC video decoder & VENC video encoder 10 - Hugues Fruchet <hugues.fruchet@foss.st.com> 13 The STMicroelectronics STM32MP25 SOCs embeds a VDEC video hardware 15 and a VENC video hardware encoder peripheral based on Verisilicon 21 - st,stm32mp25-vdec 22 - st,stm32mp25-venc [all …]
|
/linux/drivers/media/i2c/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Multimedia Video device configuration 8 comment "IR I2C driver auto-selected by 'Autoselect ancillary drivers'" 17 some video boards have the IR connected via I2C bus. 45 tristate "Allied Vision ALVIUM MIPI CSI-2 camera support" 48 This is a Video4Linux2 sensor-level driver for the Allied Vision 49 ALVIUM camera connected via MIPI CSI-2 interface. 52 module will be called alvium-csi2. 97 This is a V4L2 sensor-level driver for GalaxyCore GC2145 104 tristate "Hynix Hi-556 sensor support" [all …]
|
H A D | bt856.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * bt856 - BT856A Digital Video Encoder (Rockwell Part) 15 * - moved over to linux>=2.4.x i2c protocol (9/9/2002) 25 #include <media/v4l2-device.h> 27 MODULE_DESCRIPTION("Brooktree-856A video encoder driver"); 33 MODULE_PARM_DESC(debug, "Debug level (0-1)"); 36 /* ----------------------------------------------------------------------- */ 53 /* ----------------------------------------------------------------------- */ 55 static inline int bt856_write(struct bt856 *encoder, u8 reg, u8 value) in bt856_write() argument 57 struct i2c_client *client = v4l2_get_subdevdata(&encoder->sd); in bt856_write() [all …]
|
H A D | bt866.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 bt866 - BT866 Digital Video Encoder (Rockwell Part) 26 #include <media/v4l2-device.h> 28 MODULE_DESCRIPTION("Brooktree-866 video encoder driver"); 34 MODULE_PARM_DESC(debug, "Debug level (0-1)"); 37 /* ----------------------------------------------------------------------- */ 49 static int bt866_write(struct bt866 *encoder, u8 subaddr, u8 data) in bt866_write() argument 51 struct i2c_client *client = v4l2_get_subdevdata(&encoder->sd); in bt866_write() 58 encoder->reg[subaddr] = data; in bt866_write() 72 return -1; in bt866_write() [all …]
|
/linux/Documentation/devicetree/bindings/display/ti/ |
H A D | ti,omap-dss.txt | 5 ------------------- 12 a number of encoder modules. All DSS versions contain DSS Core and DISPC, but 13 the encoder modules vary. 21 The encoder modules encode the received RGB pixel stream to a video output like 24 Video Ports 25 ----------- 27 The DSS Core and the encoders have video port outputs. The structure of the 28 video ports is described in Documentation/devicetree/bindings/graph.txt, 29 and the properties for the ports and endpoints for each encoder are 32 The video ports are used to describe the connections to external hardware, like [all …]
|
/linux/drivers/media/platform/st/sti/hva/ |
H A D | hva.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <media/v4l2-ctrls.h> 12 #include <media/v4l2-device.h> 13 #include <media/videobuf2-v4l2.h> 14 #include <media/v4l2-mem2mem.h> 18 #define hva_to_dev(h) (h->dev) 20 #define ctx_to_dev(c) (c->hva_dev->dev) 22 #define ctx_to_hdev(c) (c->hva_dev) 24 #define HVA_NAME "st-hva" 25 #define HVA_PREFIX "[---:----]" [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver" 10 This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format 11 video encoder of STMicroelectronics SoC, allowing hardware encoding of 12 raw uncompressed formats in various compressed video bitstreams format. 15 the module will be called st-hva. 23 operation of STMicroelectronics HVA multi-format video encoder in
|
/linux/drivers/media/platform/mediatek/vpu/ |
H A D | mtk_vpu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Author: Andrew-CT Chen <andrew-ct.chen@mediatek.com> 15 * VPU (video processor unit) is a tiny processor controlling video hardware 16 * related to video codec, scaling and color format converting. 25 * enum ipi_id - the id of inter-processor interrupt 39 * handle VP8 video decoder job, and vice versa. 43 * handle VP9 video decoder job, and vice versa. 47 * handle H264 video encoder job, and vice versa. 49 * handle VP8 video encoder job,, and vice versa. 67 * enum rst_id - reset id to register reset function for VPU watchdog timeout [all …]
|
/linux/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_encoder.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * This file contains a generic encoder type that can provide data for a stream 99 * struct vidtv_encoder - A generic encoder type. 102 * @encoder_buf: The encoder internal buffer for the access units. 103 * @encoder_buf_sz: The encoder buffer size, in bytes 104 * @encoder_buf_offset: Our byte position in the encoder buffer. 106 * @access_units: encoder payload units, used for clock references 107 * @src_buf: The source of raw data to be encoded, encoder might set a 111 * @is_video_encoder: Whether this a video encoder (as opposed to audio) 112 * @ctx: Encoder-specific state. [all …]
|
H A D | vidtv_pes.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * from an encoder into MPEG TS packets. It does so by first encapsulating it 21 #define PES_MAX_LEN 65536 /* Set 'length' to 0 if greater. Only possible for video. */ 76 * struct pes_header_write_args - Arguments to write a PES header. 80 * @encoder_id: Encoder id (see vidtv_encoder.h) 85 * @stream_id: The stream id to use. Ex: Audio streams (0xc0-0xdf), Video 86 * streams (0xe0-0xef). 87 * @n_pes_h_s_bytes: Padding bytes. Might be used by an encoder if needed, gets 104 /* might be used by an encoder if needed, gets discarded by decoder */ 110 * struct pes_ts_header_write_args - Arguments to write a TS header. [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | pci-cardlist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - Vendor ID and device ID; 10 - Subsystem ID and Subsystem device ID; 12 The ``lspci -nn`` command allows identifying the vendor/device PCI IDs: 14 .. code-block:: none 15 :emphasize-lines: 3 17 $ lspci -nn 19 …00:0a.0 Multimedia controller [0480]: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadca… 21 …01:00.0 Multimedia video controller [0400]: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio … 22 …02:01.0 Multimedia video controller [0400]: Internext Compression Inc iTVC15 (CX23415) Video Decod… [all …]
|
H A D | i2c-cardlist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 The I²C (Inter-Integrated Circuit) bus is a three-wires bus used internally 23 ------------------------------------- 32 sony-btf-mpx Sony BTF's internal MPX 46 Audio/Video compression chips 47 ----------------------------- 52 saa6752hs Philips SAA6752HS MPEG-2 Audio/Video Encoder 56 --------------------- 63 hi556 Hynix Hi-556 sensor 64 hi846 Hynix Hi-846 sensor [all …]
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | analogix_dp-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Andy Yan <andy.yan@rock-chips.com> 7 * Yakir Yang <ykk@rock-chips.com> 8 * Jeff Chen <jeff.chen@rock-chips.com> 21 #include <video/of_videomode.h> 22 #include <video/videomode.h> 45 * struct rockchip_dp_chip_data - splite the grf setting of kind of chips 61 struct rockchip_encoder encoder; member 75 static struct rockchip_dp_device *encoder_to_dp(struct drm_encoder *encoder) in encoder_to_dp() argument 77 struct rockchip_encoder *rkencoder = to_rockchip_encoder(encoder); in encoder_to_dp() [all …]
|
H A D | cdn-dp-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Chris Zhong <zyw@rock-chips.com> 16 #include <sound/hdmi-codec.h> 25 #include "cdn-dp-core.h" 26 #include "cdn-dp-reg.h" 33 static inline struct cdn_dp_device *encoder_to_dp(struct drm_encoder *encoder) in encoder_to_dp() argument 35 struct rockchip_encoder *rkencoder = to_rockchip_encoder(encoder); in encoder_to_dp() 37 return container_of(rkencoder, struct cdn_dp_device, encoder); in encoder_to_dp() 61 { .compatible = "rockchip,rk3399-cdn-dp", 73 ret = clk_prepare_enable(dp->grf_clk); in cdn_dp_grf_write() [all …]
|
H A D | rk3066_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Zheng Yang <zhengyang@rock-chips.com> 25 int vic; /* The CEA Video ID (VIC) of the current drm display mode. */ 50 struct rockchip_encoder encoder; member 60 static struct rk3066_hdmi *encoder_to_rk3066_hdmi(struct drm_encoder *encoder) in encoder_to_rk3066_hdmi() argument 62 struct rockchip_encoder *rkencoder = to_rockchip_encoder(encoder); in encoder_to_rk3066_hdmi() 64 return container_of(rkencoder, struct rk3066_hdmi, encoder); in encoder_to_rk3066_hdmi() 74 return readl_relaxed(hdmi->regs + offset); in hdmi_readb() 79 writel_relaxed(val, hdmi->regs + offset); in hdmi_writeb() 95 ddc_bus_freq = (hdmi->tmdsclk >> 2) / HDMI_SCL_RATE; in rk3066_hdmi_i2c_init() [all …]
|
/linux/Documentation/driver-api/media/drivers/ |
H A D | zoran.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 website: http://mjpeg.sourceforge.net/driver-zoran/ 12 -------------------------- 15 ------------------------ 26 * Philips saa7185 TV encoder 28 Drivers to use: videodev, i2c-core, i2c-algo-bit, 31 Inputs/outputs: Composite and S-video 43 * Conexant bt866 TV encoder 45 Drivers to use: videodev, i2c-core, i2c-algo-bit, 49 Six physical inputs. 1-6 are composite, [all …]
|
/linux/drivers/gpu/drm/meson/ |
H A D | meson_venc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Video Encoders 9 * - ENCI : Interlace Video Encoder 10 * - ENCI_DVI : Interlace Video Encoder for DVI/HDMI 11 * - ENCP : Progressive Video Encoder 51 /* LCD Encoder gamma setup */
|
/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_dp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include <video/of_display_timing.h> 18 #include <video/of_videomode.h> 19 #include <video/videomode.h> 37 struct drm_encoder encoder; member 52 struct drm_encoder *encoder = &dp->encoder; in exynos_dp_crtc_clock_enable() local 54 if (!encoder->crtc) in exynos_dp_crtc_clock_enable() 55 return -EPERM; in exynos_dp_crtc_clock_enable() 57 exynos_drm_pipe_clk_enable(to_exynos_crtc(encoder->crtc), enable); in exynos_dp_crtc_clock_enable() 78 if (dp->plat_data.panel) in exynos_dp_get_modes() [all …]
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | amlogic,meson-vpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/display/amlogic,meson-vpu.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Neil Armstrong <neil.armstrong@linaro.org> 17 DMC|---------------VPU (Video Processing Unit)----------------|------HHI------| 19 D |-------| |----| | | | | HDMI PLL | 20 D | vd2 | VIU | | Video Post | | Video Encoders |<---|-----VCLK | 21 R |-------| |----| Processing | | | | | 22 | osd2 | | | |---| Enci ----------|----|-----VDAC------| [all …]
|