| /Linux-v5.4/drivers/usb/gadget/function/ |
| D | uvc_video.c | 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() 58 uvc_video_encode_bulk(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_bulk() argument 62 int len = video->req_size; in uvc_video_encode_bulk() 66 if (video->payload_size == 0) { in uvc_video_encode_bulk() 67 ret = uvc_video_encode_header(video, buf, mem, len); in uvc_video_encode_bulk() 68 video->payload_size += ret; in uvc_video_encode_bulk() [all …]
|
| D | uvc_v4l2.c | 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() 124 video->width = fmt->fmt.pix.width; in uvc_v4l2_set_format() [all …]
|
| /Linux-v5.4/drivers/media/platform/ |
| D | aspeed-video.c | 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 425 writel(val, video->base + reg); in aspeed_video_write() [all …]
|
| /Linux-v5.4/drivers/media/platform/omap3isp/ |
| D | ispvideo.c | 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() 222 static int isp_video_get_graph_data(struct isp_video *video, in isp_video_get_graph_data() argument 226 struct media_entity *entity = &video->video.entity; in isp_video_get_graph_data() 248 if (entity == &video->video.entity) in isp_video_get_graph_data() [all …]
|
| D | ispvideo.h | 136 #define isp_video_dmaqueue_flags_clr(video) \ argument 137 ({ (video)->dmaqueue_flags = 0; }) 145 int(*queue)(struct isp_video *video, struct isp_buffer *buffer); 149 struct video_device video; member 180 #define to_isp_video(vdev) container_of(vdev, struct isp_video, video) 184 struct isp_video *video; member 194 int omap3isp_video_init(struct isp_video *video, const char *name); 195 void omap3isp_video_cleanup(struct isp_video *video); 196 int omap3isp_video_register(struct isp_video *video, 198 void omap3isp_video_unregister(struct isp_video *video); [all …]
|
| /Linux-v5.4/drivers/media/platform/sunxi/sun6i-csi/ |
| D | sun6i_video.c | 76 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/drivers/staging/media/omap4iss/ |
| D | iss_video.c | 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() 206 iss_video_far_end(struct iss_video *video) in iss_video_far_end() argument 209 struct media_entity *entity = &video->video.entity; in iss_video_far_end() 223 if (entity == &video->video.entity) in iss_video_far_end() [all …]
|
| D | iss_video.h | 128 #define iss_video_dmaqueue_flags_clr(video) \ argument 129 ({ (video)->dmaqueue_flags = 0; }) 137 int (*queue)(struct iss_video *video, struct iss_buffer *buffer); 141 struct video_device video; member 171 #define to_iss_video(vdev) container_of(vdev, struct iss_video, video) 175 struct iss_video *video; member 185 int omap4iss_video_init(struct iss_video *video, const char *name); 186 void omap4iss_video_cleanup(struct iss_video *video); 187 int omap4iss_video_register(struct iss_video *video, 189 void omap4iss_video_unregister(struct iss_video *video); [all …]
|
| /Linux-v5.4/drivers/media/platform/vsp1/ |
| D | vsp1_video.c | 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() 313 vsp1_video_complete_buffer(struct vsp1_video *video) in vsp1_video_complete_buffer() argument 315 struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; in vsp1_video_complete_buffer() [all …]
|
| /Linux-v5.4/Documentation/media/uapi/dvb/ |
| D | video_function_calls.rst | 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 28 video-get-status [all …]
|
| /Linux-v5.4/drivers/media/platform/qcom/camss/ |
| D | camss-video.c | 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() 324 struct camss_video *video = vb2_get_drv_priv(q); in video_queue_setup() local 326 &video->active_fmt.fmt.pix_mp; in video_queue_setup() 351 struct camss_video *video = vb2_get_drv_priv(vb->vb2_queue); in video_buf_init() local [all …]
|
| /Linux-v5.4/drivers/acpi/ |
| D | acpi_video.c | 207 struct acpi_video_bus *video; member 215 static void acpi_video_device_rebind(struct acpi_video_bus *video); 216 static void acpi_video_device_bind(struct acpi_video_bus *video, 218 static int acpi_video_device_enumerate(struct acpi_video_bus *video); 264 struct acpi_video_device *video = acpi_driver_data(device); in video_get_max_state() local 266 *state = video->brightness->count - ACPI_VIDEO_FIRST_LEVEL - 1; in video_get_max_state() 274 struct acpi_video_device *video = acpi_driver_data(device); in video_get_cur_state() local 278 if (acpi_video_device_lcd_get_level_current(video, &level, false)) in video_get_cur_state() 280 for (offset = ACPI_VIDEO_FIRST_LEVEL; offset < video->brightness->count; in video_get_cur_state() 282 if (level == video->brightness->levels[offset]) { in video_get_cur_state() [all …]
|
| /Linux-v5.4/Documentation/devicetree/bindings/media/xilinx/ |
| D | video.txt | 1 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 25 - xlnx,video-width: This property qualifies the video format with the sample [all …]
|
| D | xlnx,v-tpg.txt | 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. 27 video timings for the TPG test patterns. 31 video timings. 53 xlnx,video-format = <XVIP_VF_YUV_422>; 54 xlnx,video-width = <8>; 63 xlnx,video-format = <XVIP_VF_YUV_422>; 64 xlnx,video-width = <8>;
|
| D | xlnx,video.txt | 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/drivers/staging/fbtft/ |
| D | README | 13 cd drivers/video/fbdev/fbtft 16 Add to drivers/video/fbdev/Kconfig: source "drivers/video/fbdev/fbtft/Kconfig" 17 Add to drivers/video/fbdev/Makefile: obj-y += fbtft/ 20 cd drivers/video 23 Add to drivers/video/Kconfig: source "drivers/video/fbtft/Kconfig" 24 Add to drivers/video/Makefile: obj-y += fbtft/
|
| /Linux-v5.4/Documentation/devicetree/bindings/media/ |
| D | cedrus.txt | 9 - "allwinner,sun4i-a10-video-engine" 10 - "allwinner,sun5i-a13-video-engine" 11 - "allwinner,sun7i-a20-video-engine" 12 - "allwinner,sun8i-a33-video-engine" 13 - "allwinner,sun8i-h3-video-engine" 14 - "allwinner,sun50i-a64-video-engine" 15 - "allwinner,sun50i-h5-video-engine" 16 - "allwinner,sun50i-h6-video-engine" 46 video-codec@1c0e000 { 47 compatible = "allwinner,sun7i-a20-video-engine";
|
| D | qcom,venus.txt | 1 * Qualcomm Venus video encoder/decoder accelerators 27 - "core" Core video accelerator clock 34 - "core" Core video accelerator clock 55 The Venus video-codec node must contain two subnodes representing 56 video-decoder and video-encoder, and one optional firmware subnode. 59 Every of video-encoder or video-decoder subnode should have: 74 - "core" Subcore video accelerator clock 91 video-codec@1d00000 { 103 video-decoder { 110 video-encoder { [all …]
|
| /Linux-v5.4/drivers/media/platform/exynos4-is/ |
| D | fimc-isp-video.c | 82 struct fimc_is_video *video = &isp->video_capture; in isp_video_capture_start_streaming() local 94 dma->buffer_number = video->reqbufs_count; in isp_video_capture_start_streaming() 95 dma->dma_out_mask = video->buf_mask; in isp_video_capture_start_streaming() 97 isp_dbg(2, &video->ve.vdev, in isp_video_capture_start_streaming() 99 video->buf_count, video->format->memplanes, in isp_video_capture_start_streaming() 111 ret = fimc_pipeline_call(&video->ve, set_stream, 1); in isp_video_capture_start_streaming() 154 struct fimc_is_video *video = &isp->video_capture; in isp_video_capture_buffer_prepare() local 157 if (video->format == NULL) in isp_video_capture_buffer_prepare() 160 for (i = 0; i < video->format->memplanes; i++) { in isp_video_capture_buffer_prepare() 161 unsigned long size = video->pixfmt.plane_fmt[i].sizeimage; in isp_video_capture_buffer_prepare() [all …]
|
| /Linux-v5.4/drivers/media/platform/xilinx/ |
| D | xilinx-dma.c | 105 entity = &dma->video.entity; in xvip_pipeline_start_stop() 118 ret = v4l2_subdev_call(subdev, video, s_stream, start); in xvip_pipeline_start_stop() 178 struct media_entity *entity = &start->video.entity; in xvip_pipeline_validate() 406 pipe = dma->video.entity.pipe in xvip_dma_start_streaming() 407 ? to_xvip_pipeline(&dma->video.entity) : &dma->pipe; in xvip_dma_start_streaming() 409 ret = media_pipeline_start(&dma->video.entity, &pipe->pipe); in xvip_dma_start_streaming() 435 media_pipeline_stop(&dma->video.entity); in xvip_dma_start_streaming() 452 struct xvip_pipeline *pipe = to_xvip_pipeline(&dma->video.entity); in xvip_dma_stop_streaming() 463 media_pipeline_stop(&dma->video.entity); in xvip_dma_stop_streaming() 498 strscpy(cap->card, dma->video.name, sizeof(cap->card)); in xvip_dma_querycap() [all …]
|
| /Linux-v5.4/drivers/media/pci/tw686x/ |
| D | Kconfig | 3 tristate "Intersil/Techwell TW686x video capture cards" 13 - TW6864 (4 video channels), 14 - TW6865 (4 video channels, not tested, second generation chip), 15 - TW6868 (8 video channels but only 4 first channels using 16 built-in video decoder are supported, not tested), 17 - TW6869 (8 video channels, second generation chip).
|
| /Linux-v5.4/Documentation/media/v4l-drivers/ |
| D | ivtv.rst | 25 Open Source driver implementation for video capture cards based on the 31 * Hardware mpeg2 capture of broadcast video (and sound) via the tuner or 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 86 crw-rw---- 1 root video 81, 48 Jun 19 22:22 /dev/video48 [all …]
|
| D | fimc.rst | 32 instance to any parallel video input or any MIPI-CSI front-end); 47 - camera capture video device driver 53 - video post-processor (mem-to-mem) 81 Memory-to-memory video node 84 V4L2 memory-to-memory interface at /dev/video? device node. This is standalone 85 video device, it has no media pads. However please note the mem-to-mem and 86 capture video node operation on same FIMC instance is not allowed. The driver 90 Capture video node 96 At the capture and mem-to-mem video nodes only the multi-planar API is 114 sensor subdev -> mipi-csi subdev -> fimc subdev -> video node [all …]
|
| /Linux-v5.4/Documentation/media/uapi/v4l/ |
| D | dv-timings.rst | 16 The video standards discussed so far have been dealing with Analog TV 17 and the corresponding video timings. Today there are many more different 19 DVI connectors etc., that carry video signals and there is a need to 20 extend the API to select the video timings for these interfaces. Since 23 set/get video timings at the input and output. 25 These ioctls deal with the detailed digital video timings that define 26 each video format. This includes parameters such as the active video 40 the DV timings as seen by the video receiver applications use the 45 video ioctls can be used with the given input or output.
|
| /Linux-v5.4/Documentation/media/uapi/mediactl/ |
| D | media-types.rst | 101 - Camera video sensor entity. 110 - Analog video decoder, the basic function of the video decoder is 111 to accept analogue video from a wide variety of sources such as 112 broadcast, DVD players, cameras and video cassette recorders, in 115 some digital video standard, with appropriate timing signals. 121 internally IF-PLL decoders for audio and video, but older models 125 - IF-PLL video decoder. It receives the IF from a PLL and decodes 126 the analog TV video signal. This is commonly found on some very 136 tuner PLL and should be controlled together with the IF-PLL video 149 - Video composer (blender). An entity capable of video [all …]
|