Home
last modified time | relevance | path

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

12345678910>>...105

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/media/platform/
Daspeed-video.c34 #define DEVICE_NAME "aspeed-video"
427 static void aspeed_video_update(struct aspeed_video *video, u32 reg, u32 clear, in aspeed_video_update() argument
430 u32 t = readl(video->base + reg); in aspeed_video_update()
435 writel(t, video->base + reg); in aspeed_video_update()
436 dev_dbg(video->dev, "update %03x[%08x -> %08x]\n", reg, before, in aspeed_video_update()
437 readl(video->base + reg)); in aspeed_video_update()
440 static u32 aspeed_video_read(struct aspeed_video *video, u32 reg) in aspeed_video_read() argument
442 u32 t = readl(video->base + reg); in aspeed_video_read()
444 dev_dbg(video->dev, "read %03x[%08x]\n", reg, t); in aspeed_video_read()
448 static void aspeed_video_write(struct aspeed_video *video, u32 reg, u32 val) in aspeed_video_write() argument
[all …]
DKconfig35 tristate "Aspeed AST2400 and AST2500 Video Engine driver"
39 Support for the Aspeed Video Engine (VE) embedded in the Aspeed
40 AST2400 and AST2500 SOCs. The VE can capture and compress video data
44 tristate "SuperH VOU video output driver"
49 Support for the Video Output Unit (VOU) on SuperH SoCs.
52 tristate "Freescale VIU Video Driver"
57 Support for Freescale VIU video driver. This device captures
58 video data, or overlays video on DIU frame buffer.
64 tristate "Video Multiplexer"
72 This driver provides support for N:1 video bus multiplexers.
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Dispvideo.c5 * TI OMAP3 ISP - Generic video node
129 * @video: ISP video instance
135 * per line value in the pix format and information from the video instance.
139 static unsigned int isp_video_mbus_to_pix(const struct isp_video *video, in isp_video_mbus_to_pix() argument
165 if (video->bpl_max) in isp_video_mbus_to_pix()
166 bpl = clamp(bpl, min_bpl, video->bpl_max); in isp_video_mbus_to_pix()
170 if (!video->bpl_zero_padding || bpl != min_bpl) in isp_video_mbus_to_pix()
171 bpl = ALIGN(bpl, video->bpl_alignment); in isp_video_mbus_to_pix()
205 isp_video_remote_subdev(struct isp_video *video, u32 *pad) in isp_video_remote_subdev() argument
209 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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/
Dvideo_function_calls.rst6 Video Function Calls
12 video-fopen
13 video-fclose
14 video-fwrite
15 video-stop
16 video-play
17 video-freeze
18 video-continue
19 video-select-source
20 video-set-blank
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/
Dcamss-video.c3 * camss-video.c
18 #include "camss-video.h"
275 static struct v4l2_subdev *video_remote_subdev(struct camss_video *video, in video_remote_subdev() argument
280 remote = media_entity_remote_pad(&video->pad); in video_remote_subdev()
291 static int video_get_subdev_format(struct camss_video *video, in video_get_subdev_format() argument
299 subdev = video_remote_subdev(video, &pad); in video_get_subdev_format()
312 video->formats, video->nformats); in video_get_subdev_format()
316 format->type = video->type; in video_get_subdev_format()
319 &video->formats[ret], video->bpl_alignment); in video_get_subdev_format()
323 * Video queue operations
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/
Dmedia-types.rst34 .. _MEDIA-ENT-F-PROC-VIDEO-COMPOSER:
35 .. _MEDIA-ENT-F-PROC-VIDEO-PIXEL-FORMATTER:
36 .. _MEDIA-ENT-F-PROC-VIDEO-PIXEL-ENC-CONV:
37 .. _MEDIA-ENT-F-PROC-VIDEO-LUT:
38 .. _MEDIA-ENT-F-PROC-VIDEO-SCALER:
39 .. _MEDIA-ENT-F-PROC-VIDEO-STATISTICS:
40 .. _MEDIA-ENT-F-PROC-VIDEO-ENCODER:
41 .. _MEDIA-ENT-F-PROC-VIDEO-DECODER:
88 - Connector for a S-Video signal.
94 - Camera video sensor entity.
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-g-fbuf.rst40 :ref:`Video Overlay <overlay>` or :ref:`Video Output Overlay <osd>`
47 destructive overlay copies captured video images into the video memory
48 of a graphics card. A non-destructive overlay blends video images into a
49 VGA signal or graphics into a video signal. *Video Output Overlays* are
57 To set the parameters for a *Video Output Overlay*, applications must
66 To set the parameters for a *non-destructive Video Overlay*,
72 For a *destructive Video Overlay* applications must additionally provide
76 destructive video overlay.
107 - This field is irrelevant to *non-destructive Video Overlays*. For
108 *destructive Video Overlays* applications must provide a base
[all …]
Ddev-capture.rst7 Video Capture Interface
10 Video capture devices sample an analog video signal and store the
15 Conventionally V4L2 video capture devices are accessed through character
16 device special files named ``/dev/video`` and ``/dev/video0`` to
18 ``/dev/video`` is typically a symbolic link to the preferred video
21 .. note:: The same device file names are used for video output devices.
26 Devices supporting the video capture interface set the
31 functions they may also support the :ref:`video overlay <overlay>`
40 Video capture devices shall support :ref:`audio input <audio>`,
44 :ref:`video input <video>` ioctls must be supported by all video
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dplatform-cardlist.rst18 aspeed-video Aspeed AST2400 and AST2500
27 dm355_ccdc TI DM355 CCDC video capture
28 dm644x_ccdc TI DM6446 CCDC video capture
35 isdf TI DM365 ISIF video capture
39 mtk-vcodec-dec Mediatek Video Codec
40 mtk-vpu Mediatek Video Processor Unit
51 rcar-vin R-Car Video Input (VIN)
59 s5p-mfc Samsung S5P MFC Video Codec
60 sh_veu SuperH VEU mem2mem video processing
61 sh_vou SuperH VOU video output
[all …]
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
47 By default the driver will create a single instance that has a video capture
48 device with webcam, TV, S-Video and HDMI inputs, a video output device with
49 S-Video and HDMI outputs, one vbi capture device, one vbi output device, one
52 The number of instances, devices, video inputs and outputs and their types are
66 - bit 0: Video Capture node
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/
DKconfig3 # Multimedia Video device configuration
17 some video boards have the IR connected via I2C bus.
28 comment "audio, video and radio I2C drivers auto-selected by 'Autoselect ancillary drivers'"
212 menu "Video decoders"
221 Support for the Analog Devices ADV7180 video decoder.
231 ADV7183 video decoder.
246 ADV7481 and ADV7482 HDMI/Analog video decoders.
261 Support for the Analog Devices ADV7604 video decoder.
284 Support for the Analog Devices ADV7842 video decoder.
304 Support for BT819A video decoder.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ti/
Dti,j721e-dss.yaml16 four video planes. There is two full video planes and two "lite
17 planes" without scaling support. The video ports can be connected to
30 - description: VIDL1 light video plane 1
31 - description: VIDL2 light video plane 2
32 - description: VID1 video plane 1
33 - description: VID1 video plane 2
38 - description: VP1 video port 1
39 - description: VP2 video port 2
40 - description: VP3 video port 3
41 - description: VP4 video port 4
[all …]
/kernel/linux/linux-5.10/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>>...105