Home
last modified time | relevance | path

Searched full:video (Results 1 – 25 of 2516) sorted by relevance

12345678910>>...101

/Linux-v5.4/drivers/usb/gadget/function/
Duvc_video.c3 * uvc_video.c -- USB Video Class Gadget driver
14 #include <linux/usb/video.h>
23 * Video codecs
27 uvc_video_encode_header(struct uvc_video *video, struct uvc_buffer *buf, in uvc_video_encode_header() argument
31 data[1] = UVC_STREAM_EOH | video->fid; in uvc_video_encode_header()
33 if (buf->bytesused - video->queue.buf_used <= len - 2) in uvc_video_encode_header()
40 uvc_video_encode_data(struct uvc_video *video, struct uvc_buffer *buf, in uvc_video_encode_data() argument
43 struct uvc_video_queue *queue = &video->queue; in uvc_video_encode_data()
47 /* Copy video data to the USB buffer. */ in uvc_video_encode_data()
58 uvc_video_encode_bulk(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_bulk() argument
[all …]
Duvc_v4l2.c3 * uvc_v4l2.c -- USB Video Class Gadget driver
82 struct uvc_video *video = &uvc->video; in uvc_v4l2_get_format() local
84 fmt->fmt.pix.pixelformat = video->fcc; in uvc_v4l2_get_format()
85 fmt->fmt.pix.width = video->width; in uvc_v4l2_get_format()
86 fmt->fmt.pix.height = video->height; in uvc_v4l2_get_format()
88 fmt->fmt.pix.bytesperline = video->bpp * video->width / 8; in uvc_v4l2_get_format()
89 fmt->fmt.pix.sizeimage = video->imagesize; in uvc_v4l2_get_format()
101 struct uvc_video *video = &uvc->video; in uvc_v4l2_set_format() local
122 video->fcc = format->fcc; in uvc_v4l2_set_format()
123 video->bpp = format->bpp; in uvc_v4l2_set_format()
[all …]
/Linux-v5.4/drivers/media/platform/
Daspeed-video.c32 #define DEVICE_NAME "aspeed-video"
402 static void aspeed_video_update(struct aspeed_video *video, u32 reg, u32 clear, in aspeed_video_update() argument
405 u32 t = readl(video->base + reg); in aspeed_video_update()
410 writel(t, video->base + reg); in aspeed_video_update()
411 dev_dbg(video->dev, "update %03x[%08x -> %08x]\n", reg, before, in aspeed_video_update()
412 readl(video->base + reg)); in aspeed_video_update()
415 static u32 aspeed_video_read(struct aspeed_video *video, u32 reg) in aspeed_video_read() argument
417 u32 t = readl(video->base + reg); in aspeed_video_read()
419 dev_dbg(video->dev, "read %03x[%08x]\n", reg, t); in aspeed_video_read()
423 static void aspeed_video_write(struct aspeed_video *video, u32 reg, u32 val) in aspeed_video_write() argument
[all …]
DKconfig36 tristate "Aspeed AST2400 and AST2500 Video Engine driver"
40 Support for the Aspeed Video Engine (VE) embedded in the Aspeed
41 AST2400 and AST2500 SOCs. The VE can capture and compress video data
45 tristate "SuperH VOU video output driver"
51 Support for the Video Output Unit (VOU) on SuperH SoCs.
54 tristate "Freescale VIU Video Driver"
59 Support for Freescale VIU video driver. This device captures
60 video data, or overlays video on DIU frame buffer.
66 tristate "Video Multiplexer"
72 This driver provides support for N:1 video bus multiplexers.
[all …]
/Linux-v5.4/drivers/media/platform/omap3isp/
Dispvideo.c5 * TI OMAP3 ISP - Generic video node
130 * @video: ISP video instance
136 * per line value in the pix format and information from the video instance.
140 static unsigned int isp_video_mbus_to_pix(const struct isp_video *video, in isp_video_mbus_to_pix() argument
166 if (video->bpl_max) in isp_video_mbus_to_pix()
167 bpl = clamp(bpl, min_bpl, video->bpl_max); in isp_video_mbus_to_pix()
171 if (!video->bpl_zero_padding || bpl != min_bpl) in isp_video_mbus_to_pix()
172 bpl = ALIGN(bpl, video->bpl_alignment); in isp_video_mbus_to_pix()
206 isp_video_remote_subdev(struct isp_video *video, u32 *pad) in isp_video_remote_subdev() argument
210 remote = media_entity_remote_pad(&video->pad); in isp_video_remote_subdev()
[all …]
Dispvideo.h5 * TI OMAP3 ISP - Generic video node
60 /* The stream has been started on the input video node. */
62 /* The stream has been started on the output video node. */
64 /* At least one buffer is queued on the input video node. */
66 /* At least one buffer is queued on the output video node. */
116 * struct isp_buffer - ISP video buffer
136 #define isp_video_dmaqueue_flags_clr(video) \ argument
137 ({ (video)->dmaqueue_flags = 0; })
140 * struct isp_video_operations - ISP video operations
145 int(*queue)(struct isp_video *video, struct isp_buffer *buffer);
[all …]
/Linux-v5.4/drivers/staging/media/omap4iss/
Diss_video.c3 * TI OMAP4 ISS V4L2 Driver - Generic video node
106 * @video: ISS video instance
112 * per line value in the pix format and information from the video instance.
116 static unsigned int iss_video_mbus_to_pix(const struct iss_video *video, in iss_video_mbus_to_pix() argument
144 if (video->bpl_max) in iss_video_mbus_to_pix()
145 bpl = clamp(bpl, min_bpl, video->bpl_max); in iss_video_mbus_to_pix()
149 if (!video->bpl_zero_padding || bpl != min_bpl) in iss_video_mbus_to_pix()
150 bpl = ALIGN(bpl, video->bpl_alignment); in iss_video_mbus_to_pix()
189 iss_video_remote_subdev(struct iss_video *video, u32 *pad) in iss_video_remote_subdev() argument
193 remote = media_entity_remote_pad(&video->pad); in iss_video_remote_subdev()
[all …]
Diss_video.h3 * TI OMAP4 ISS V4L2 Driver - Generic video node
56 /* The stream has been started on the input video node. */
58 /* The stream has been started on the output video node. */
60 /* At least one buffer is queued on the input video node. */
62 /* At least one buffer is queued on the output video node. */
109 * @buffer: ISS video buffer
128 #define iss_video_dmaqueue_flags_clr(video) \ argument
129 ({ (video)->dmaqueue_flags = 0; })
132 * struct iss_video_operations - ISS video operations
137 int (*queue)(struct iss_video *video, struct iss_buffer *buffer);
[all …]
/Linux-v5.4/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_video.c76 sun6i_video_remote_subdev(struct sun6i_video *video, u32 *pad) in sun6i_video_remote_subdev() argument
80 remote = media_entity_remote_pad(&video->pad); in sun6i_video_remote_subdev()
97 struct sun6i_video *video = vb2_get_drv_priv(vq); in sun6i_video_queue_setup() local
98 unsigned int size = video->fmt.fmt.pix.sizeimage; in sun6i_video_queue_setup()
114 struct sun6i_video *video = vb2_get_drv_priv(vb->vb2_queue); in sun6i_video_buffer_prepare() local
115 unsigned long size = video->fmt.fmt.pix.sizeimage; in sun6i_video_buffer_prepare()
118 v4l2_err(video->vdev.v4l2_dev, "buffer too small (%lu < %lu)\n", in sun6i_video_buffer_prepare()
127 vbuf->field = video->fmt.fmt.pix.field; in sun6i_video_buffer_prepare()
134 struct sun6i_video *video = vb2_get_drv_priv(vq); in sun6i_video_start_streaming() local
142 video->sequence = 0; in sun6i_video_start_streaming()
[all …]
/Linux-v5.4/Documentation/media/uapi/dvb/
Dvideo_function_calls.rst13 Video Function Calls
19 video-fopen
20 video-fclose
21 video-fwrite
22 video-stop
23 video-play
24 video-freeze
25 video-continue
26 video-select-source
27 video-set-blank
[all …]
/Linux-v5.4/drivers/media/platform/vsp1/
Dvsp1_video.c3 * vsp1_video.c -- R-Car VSP1 Video Node
63 static int vsp1_video_verify_format(struct vsp1_video *video) in vsp1_video_verify_format() argument
69 subdev = vsp1_video_remote_subdev(&video->pad, &fmt.pad); in vsp1_video_verify_format()
78 if (video->rwpf->fmtinfo->mbus != fmt.format.code || in vsp1_video_verify_format()
79 video->rwpf->format.height != fmt.format.height || in vsp1_video_verify_format()
80 video->rwpf->format.width != fmt.format.width) in vsp1_video_verify_format()
86 static int __vsp1_video_try_format(struct vsp1_video *video, in __vsp1_video_try_format() argument
118 info = vsp1_get_format_info(video->vsp1, pix->pixelformat); in __vsp1_video_try_format()
120 info = vsp1_get_format_info(video->vsp1, VSP1_VIDEO_DEF_FORMAT); in __vsp1_video_try_format()
305 * @video: the video node
[all …]
/Linux-v5.4/drivers/acpi/
Dacpi_video.c3 * video.c - ACPI Video Driver
26 #include <acpi/video.h>
31 #define ACPI_VIDEO_BUS_NAME "Video Bus"
32 #define ACPI_VIDEO_DEVICE_NAME "Video Device"
37 ACPI_MODULE_NAME("video");
40 MODULE_DESCRIPTION("ACPI Video Driver");
47 * By default, we don't allow duplicate ACPI video bus devices
107 .name = "video",
118 u8 multihead:1; /* can switch video heads */
119 u8 rom:1; /* can retrieve a video rom */
[all …]
/Linux-v5.4/drivers/media/platform/qcom/camss/
Dcamss-video.c3 * camss-video.c
18 #include "camss-video.h"
269 static struct v4l2_subdev *video_remote_subdev(struct camss_video *video, in video_remote_subdev() argument
274 remote = media_entity_remote_pad(&video->pad); in video_remote_subdev()
285 static int video_get_subdev_format(struct camss_video *video, in video_get_subdev_format() argument
293 subdev = video_remote_subdev(video, &pad); in video_get_subdev_format()
306 video->formats, video->nformats); in video_get_subdev_format()
310 format->type = video->type; in video_get_subdev_format()
313 &video->formats[ret], video->bpl_alignment); in video_get_subdev_format()
317 * Video queue operations
[all …]
/Linux-v5.4/Documentation/media/uapi/mediactl/
Dmedia-types.rst41 .. _MEDIA-ENT-F-PROC-VIDEO-COMPOSER:
42 .. _MEDIA-ENT-F-PROC-VIDEO-PIXEL-FORMATTER:
43 .. _MEDIA-ENT-F-PROC-VIDEO-PIXEL-ENC-CONV:
44 .. _MEDIA-ENT-F-PROC-VIDEO-LUT:
45 .. _MEDIA-ENT-F-PROC-VIDEO-SCALER:
46 .. _MEDIA-ENT-F-PROC-VIDEO-STATISTICS:
47 .. _MEDIA-ENT-F-PROC-VIDEO-ENCODER:
48 .. _MEDIA-ENT-F-PROC-VIDEO-DECODER:
95 - Connector for a S-Video signal.
101 - Camera video sensor entity.
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/media/xilinx/
Dvideo.txt1 DT bindings for Xilinx video IP cores
4 Xilinx video IP cores process video streams by acting as video sinks and/or
6 creating a video pipeline.
8 Each video IP core is represented by an AMBA bus child node in the device
10 cores are represented as defined in ../video-interfaces.txt.
13 tree using bindings documented in ./xlnx,video.txt.
18 The following properties are common to all Xilinx video IP cores.
20 - xlnx,video-format: This property represents a video format transmitted on an
21 AXI bus between video IP cores, using its VF code as defined in "AXI4-Stream
22 Video IP and System Design Guide" [UG934]. How the format relates to the IP
[all …]
Dxlnx,v-tpg.txt1 Xilinx Video Test Pattern Generator (TPG)
16 - clocks: Reference to the video core clock.
18 - xlnx,video-format, xlnx,video-width: Video format and width, as defined in
19 video.txt.
21 - port: Video port, using the DT bindings defined in ../video-interfaces.txt.
26 - xlnx,vtc: A phandle referencing the Video Timing Controller that generates
27 video timings for the TPG test patterns.
31 video timings.
53 xlnx,video-format = <XVIP_VF_YUV_422>;
54 xlnx,video-width = <8>;
[all …]
Dxlnx,video.txt1 Xilinx Video IP Pipeline (VIPP)
7 Xilinx video IP pipeline processes video streams through one or more Xilinx
8 video IP cores. Each video IP core is represented as documented in video.txt
11 mappings between DMAs and the video IP cores.
15 - compatible: Must be "xlnx,video".
22 - ports: Video port, using the DT bindings defined in ../video-interfaces.txt.
32 compatible = "xlnx,video";
/Linux-v5.4/Documentation/devicetree/bindings/media/
Dqcom,venus.txt1 * Qualcomm Venus video encoder/decoder accelerators
27 - "core" Core video accelerator clock
28 - "iface" Video accelerator AHB clock
29 - "bus" Video accelerator AXI clock
34 - "core" Core video accelerator clock
35 - "iface" Video accelerator AHB clock
36 - "bus" Video accelerator AXI clock
37 - "mbus" Video MAXI clock
55 The Venus video-codec node must contain two subnodes representing
56 video-decoder and video-encoder, and one optional firmware subnode.
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-g-fbuf.rst47 :ref:`Video Overlay <overlay>` or :ref:`Video Output Overlay <osd>`
54 destructive overlay copies captured video images into the video memory
55 of a graphics card. A non-destructive overlay blends video images into a
56 VGA signal or graphics into a video signal. *Video Output Overlays* are
64 To set the parameters for a *Video Output Overlay*, applications must
73 To set the parameters for a *non-destructive Video Overlay*,
79 For a *destructive Video Overlay* applications must additionally provide
83 destructive video overlay.
115 - This field is irrelevant to *non-destructive Video Overlays*. For
116 *destructive Video Overlays* applications must provide a base
[all …]
Ddev-capture.rst13 Video Capture Interface
16 Video capture devices sample an analog video signal and store the
21 Conventionally V4L2 video capture devices are accessed through character
22 device special files named ``/dev/video`` and ``/dev/video0`` to
24 ``/dev/video`` is typically a symbolic link to the preferred video
27 .. note:: The same device file names are used for video output devices.
33 Devices supporting the video capture interface set the
38 functions they may also support the :ref:`video overlay <overlay>`
48 Video capture devices shall support :ref:`audio input <audio>`,
52 :ref:`video input <video>` ioctls must be supported by all video
[all …]
/Linux-v5.4/drivers/media/i2c/
DKconfig3 # Multimedia Video device configuration
14 some video boards have the IR connected via I2C bus.
203 comment "Video decoders"
209 Support for the Analog Devices ADV7180 video decoder.
219 ADV7183 video decoder.
232 ADV7481 and ADV7482 HDMI/Analog video decoders.
244 Support for the Analog Devices ADV7604 video decoder.
265 Support for the Analog Devices ADV7842 video decoder.
285 Support for BT819A video decoder.
294 Support for BT856 video decoder.
[all …]
/Linux-v5.4/Documentation/fb/
Duvesafb.rst2 uvesafb - A Generic Driver for VBE2+ compliant video cards
8 uvesafb should work with any video card that has a Video BIOS compliant
12 v86d. v86d is used to run the x86 Video BIOS code in a simulated and
32 uvesafb is a _generic_ driver which supports a wide variety of video
33 cards, but which is ultimately limited by the Video BIOS interface.
37 - A strict and limited set of supported video modes. Often the native
39 with uvesafb, simply because the Video BIOS doesn't support the
40 video mode you want to use. This can be especially painful with
41 widescreen panels, where native video modes don't have the 4:3 aspect
44 Video BIOS. Note that many nVidia Video BIOS-es claim to be VBE 3.0
[all …]
/Linux-v5.4/Documentation/media/v4l-drivers/
Divtv.rst25 Open Source driver implementation for video capture cards based on the
31 * Hardware mpeg2 capture of broadcast video (and sound) via the tuner or
32 S-Video/Composite and audio line-in.
46 video signal)
47 * Provides a framebuffer (allowing X applications to appear on the video
71 Cards that don't have a video output capability (i.e. non PVR350 cards)
82 crw-rw---- 1 root video 81, 0 Jun 19 22:22 /dev/video0
83 crw-rw---- 1 root video 81, 16 Jun 19 22:22 /dev/video16
84 crw-rw---- 1 root video 81, 24 Jun 19 22:22 /dev/video24
85 crw-rw---- 1 root video 81, 32 Jun 19 22:22 /dev/video32
[all …]
Dvivid.rst3 The Virtual Video Test Driver (vivid)
6 This driver emulates video4linux hardware of various types: video capture, video
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
29 - Support for various pixel aspect ratios and video aspect ratios
45 By default the driver will create a single instance that has a video capture
46 device with webcam, TV, S-Video and HDMI inputs, a video output device with
47 S-Video and HDMI outputs, one vbi capture device, one vbi output device, one
50 The number of instances, devices, video inputs and outputs and their types are
64 - bit 0: Video Capture node
[all …]
/Linux-v5.4/Documentation/gpu/
Dmeson.rst2 drm/meson AmLogic Meson Video Processing Unit
6 :doc: Video Processing Unit
8 Video Processing Unit
16 DMC|---------------VPU (Video Processing Unit)----------------|------HHI------|
19 D | vd2 | VIU | | Video Post | | Video Encoders |<---|-----VCLK |
27 Video Input Unit
31 :doc: Video Input Unit
33 Video Post Processing
37 :doc: Video Post Processing
39 Video Encoder
[all …]

12345678910>>...101