Home
last modified time | relevance | path

Searched refs:video (Results 1 – 25 of 875) sorted by relevance

12345678910>>...35

/Linux-v4.19/drivers/usb/gadget/function/
Duvc_video.c27 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 …]
Duvc_v4l2.c86 struct uvc_video *video = &uvc->video; in uvc_v4l2_get_format() local
88 fmt->fmt.pix.pixelformat = video->fcc; in uvc_v4l2_get_format()
89 fmt->fmt.pix.width = video->width; in uvc_v4l2_get_format()
90 fmt->fmt.pix.height = video->height; in uvc_v4l2_get_format()
92 fmt->fmt.pix.bytesperline = video->bpp * video->width / 8; in uvc_v4l2_get_format()
93 fmt->fmt.pix.sizeimage = video->imagesize; in uvc_v4l2_get_format()
105 struct uvc_video *video = &uvc->video; in uvc_v4l2_set_format() local
126 video->fcc = format->fcc; in uvc_v4l2_set_format()
127 video->bpp = format->bpp; in uvc_v4l2_set_format()
128 video->width = fmt->fmt.pix.width; in uvc_v4l2_set_format()
[all …]
/Linux-v4.19/drivers/staging/media/davinci_vpfe/
Dvpfe_video.c34 (struct vpfe_video_device *video) in vpfe_get_input_entity() argument
36 struct vpfe_device *vpfe_dev = video->vpfe_dev; in vpfe_get_input_entity()
48 static int vpfe_update_current_ext_subdev(struct vpfe_video_device *video) in vpfe_update_current_ext_subdev() argument
50 struct vpfe_device *vpfe_dev = video->vpfe_dev; in vpfe_update_current_ext_subdev()
66 video->current_ext_subdev = &vpfe_cfg->sub_devs[i]; in vpfe_update_current_ext_subdev()
78 if (!strcmp(video->current_ext_subdev->module_name, in vpfe_update_current_ext_subdev()
80 video->current_ext_subdev->subdev = vpfe_dev->sd[i]; in vpfe_update_current_ext_subdev()
87 vpfe_video_remote_subdev(struct vpfe_video_device *video, u32 *pad) in vpfe_video_remote_subdev() argument
89 struct media_pad *remote = media_entity_remote_pad(&video->pad); in vpfe_video_remote_subdev()
100 __vpfe_video_get_format(struct vpfe_video_device *video, in __vpfe_video_get_format() argument
[all …]
Dvpfe_video.h145 void vpfe_video_unregister(struct vpfe_video_device *video);
146 int vpfe_video_register(struct vpfe_video_device *video,
148 int vpfe_video_init(struct vpfe_video_device *video, const char *name);
149 void vpfe_video_process_buffer_complete(struct vpfe_video_device *video);
150 void vpfe_video_schedule_bottom_field(struct vpfe_video_device *video);
151 void vpfe_video_schedule_next_buffer(struct vpfe_video_device *video);
/Linux-v4.19/drivers/media/platform/omap3isp/
Dispvideo.c143 static unsigned int isp_video_mbus_to_pix(const struct isp_video *video, in isp_video_mbus_to_pix() argument
169 if (video->bpl_max) in isp_video_mbus_to_pix()
170 bpl = clamp(bpl, min_bpl, video->bpl_max); in isp_video_mbus_to_pix()
174 if (!video->bpl_zero_padding || bpl != min_bpl) in isp_video_mbus_to_pix()
175 bpl = ALIGN(bpl, video->bpl_alignment); in isp_video_mbus_to_pix()
209 isp_video_remote_subdev(struct isp_video *video, u32 *pad) in isp_video_remote_subdev() argument
213 remote = media_entity_remote_pad(&video->pad); in isp_video_remote_subdev()
225 static int isp_video_get_graph_data(struct isp_video *video, in isp_video_get_graph_data() argument
229 struct media_entity *entity = &video->video.entity; in isp_video_get_graph_data()
251 if (entity == &video->video.entity) in isp_video_get_graph_data()
[all …]
Dispvideo.h139 #define isp_video_dmaqueue_flags_clr(video) \ argument
140 ({ (video)->dmaqueue_flags = 0; })
148 int(*queue)(struct isp_video *video, struct isp_buffer *buffer);
152 struct video_device video; member
183 #define to_isp_video(vdev) container_of(vdev, struct isp_video, video)
187 struct isp_video *video; member
197 int omap3isp_video_init(struct isp_video *video, const char *name);
198 void omap3isp_video_cleanup(struct isp_video *video);
199 int omap3isp_video_register(struct isp_video *video,
201 void omap3isp_video_unregister(struct isp_video *video);
[all …]
/Linux-v4.19/drivers/staging/media/omap4iss/
Diss_video.c120 static unsigned int iss_video_mbus_to_pix(const struct iss_video *video, in iss_video_mbus_to_pix() argument
148 if (video->bpl_max) in iss_video_mbus_to_pix()
149 bpl = clamp(bpl, min_bpl, video->bpl_max); in iss_video_mbus_to_pix()
153 if (!video->bpl_zero_padding || bpl != min_bpl) in iss_video_mbus_to_pix()
154 bpl = ALIGN(bpl, video->bpl_alignment); in iss_video_mbus_to_pix()
193 iss_video_remote_subdev(struct iss_video *video, u32 *pad) in iss_video_remote_subdev() argument
197 remote = media_entity_remote_pad(&video->pad); in iss_video_remote_subdev()
210 iss_video_far_end(struct iss_video *video) in iss_video_far_end() argument
213 struct media_entity *entity = &video->video.entity; in iss_video_far_end()
227 if (entity == &video->video.entity) in iss_video_far_end()
[all …]
Diss_video.h134 #define iss_video_dmaqueue_flags_clr(video) \ argument
135 ({ (video)->dmaqueue_flags = 0; })
143 int (*queue)(struct iss_video *video, struct iss_buffer *buffer);
147 struct video_device video; member
177 #define to_iss_video(vdev) container_of(vdev, struct iss_video, video)
181 struct iss_video *video; member
191 int omap4iss_video_init(struct iss_video *video, const char *name);
192 void omap4iss_video_cleanup(struct iss_video *video);
193 int omap4iss_video_register(struct iss_video *video,
195 void omap4iss_video_unregister(struct iss_video *video);
[all …]
/Linux-v4.19/Documentation/media/uapi/dvb/
Dvideo_function_calls.rst12 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
21 video-get-status
[all …]
/Linux-v4.19/drivers/media/platform/vsp1/
Dvsp1_video.c65 static int vsp1_video_verify_format(struct vsp1_video *video) in vsp1_video_verify_format() argument
71 subdev = vsp1_video_remote_subdev(&video->pad, &fmt.pad); in vsp1_video_verify_format()
80 if (video->rwpf->fmtinfo->mbus != fmt.format.code || in vsp1_video_verify_format()
81 video->rwpf->format.height != fmt.format.height || in vsp1_video_verify_format()
82 video->rwpf->format.width != fmt.format.width) in vsp1_video_verify_format()
88 static int __vsp1_video_try_format(struct vsp1_video *video, in __vsp1_video_try_format() argument
120 info = vsp1_get_format_info(video->vsp1, pix->pixelformat); in __vsp1_video_try_format()
122 info = vsp1_get_format_info(video->vsp1, VSP1_VIDEO_DEF_FORMAT); in __vsp1_video_try_format()
321 vsp1_video_complete_buffer(struct vsp1_video *video) in vsp1_video_complete_buffer() argument
323 struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; in vsp1_video_complete_buffer()
[all …]
/Linux-v4.19/drivers/media/platform/qcom/camss/
Dcamss-video.c269 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-v4.19/drivers/acpi/
Dacpi_video.c214 struct acpi_video_bus *video; member
222 static void acpi_video_device_rebind(struct acpi_video_bus *video);
223 static void acpi_video_device_bind(struct acpi_video_bus *video,
225 static int acpi_video_device_enumerate(struct acpi_video_bus *video);
271 struct acpi_video_device *video = acpi_driver_data(device); in video_get_max_state() local
273 *state = video->brightness->count - ACPI_VIDEO_FIRST_LEVEL - 1; in video_get_max_state()
281 struct acpi_video_device *video = acpi_driver_data(device); in video_get_cur_state() local
285 if (acpi_video_device_lcd_get_level_current(video, &level, false)) in video_get_cur_state()
287 for (offset = ACPI_VIDEO_FIRST_LEVEL; offset < video->brightness->count; in video_get_cur_state()
289 if (level == video->brightness->levels[offset]) { in video_get_cur_state()
[all …]
/Linux-v4.19/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
25 - xlnx,video-width: This property qualifies the video format with the sample
[all …]
Dxlnx,v-tpg.txt16 - 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>;
Dxlnx,video.txt7 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-v4.19/Documentation/media/uapi/v4l/
Dpixfmt-compressed.rst37 - H264 video elementary stream with start codes.
42 - H264 video elementary stream without start codes.
47 - H264 MVC video elementary stream.
52 - H263 video elementary stream.
57 - MPEG1 video elementary stream.
62 - MPEG2 video elementary stream.
67 - MPEG4 video elementary stream.
72 - Xvid video elementary stream.
87 - VP8 video elementary stream.
92 - VP9 video elementary stream.
[all …]
Ddv-timings.rst9 The video standards discussed so far have been dealing with Analog TV
10 and the corresponding video timings. Today there are many more different
12 DVI connectors etc., that carry video signals and there is a need to
13 extend the API to select the video timings for these interfaces. Since
16 set/get video timings at the input and output.
18 These ioctls deal with the detailed digital video timings that define
19 each video format. This includes parameters such as the active video
33 the DV timings as seen by the video receiver applications use the
38 video ioctls can be used with the given input or output.
Dvidioc-g-output.rst12 VIDIOC_G_OUTPUT - VIDIOC_S_OUTPUT - Query or select the current video output
38 To query the current video output applications call the
42 fail only when there are no video outputs, returning the ``EINVAL`` error
45 To select a video output applications store the number of the desired
48 may support different video standards, so the driver may implicitly
53 Information about video outputs is available using the
65 The number of the video output is out of bounds, or there are no
66 video outputs at all.
/Linux-v4.19/drivers/staging/fbtft/
DREADME13 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-v4.19/drivers/media/platform/exynos4-is/
Dfimc-isp-video.c85 struct fimc_is_video *video = &isp->video_capture; in isp_video_capture_start_streaming() local
97 dma->buffer_number = video->reqbufs_count; in isp_video_capture_start_streaming()
98 dma->dma_out_mask = video->buf_mask; in isp_video_capture_start_streaming()
100 isp_dbg(2, &video->ve.vdev, in isp_video_capture_start_streaming()
102 video->buf_count, video->format->memplanes, in isp_video_capture_start_streaming()
114 ret = fimc_pipeline_call(&video->ve, set_stream, 1); in isp_video_capture_start_streaming()
157 struct fimc_is_video *video = &isp->video_capture; in isp_video_capture_buffer_prepare() local
160 if (video->format == NULL) in isp_video_capture_buffer_prepare()
163 for (i = 0; i < video->format->memplanes; i++) { in isp_video_capture_buffer_prepare()
164 unsigned long size = video->pixfmt.plane_fmt[i].sizeimage; in isp_video_capture_buffer_prepare()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/media/
Dqcom,venus.txt1 * 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.
58 Every of video-encoder or video-decoder subnode should have:
73 - "core" Subcore video accelerator clock
83 video-codec@1d00000 {
95 video-decoder {
102 video-encoder {
/Linux-v4.19/drivers/media/pci/tw686x/
DKconfig2 tristate "Intersil/Techwell TW686x video capture cards"
12 - TW6864 (4 video channels),
13 - TW6865 (4 video channels, not tested, second generation chip),
14 - TW6868 (8 video channels but only 4 first channels using
15 built-in video decoder are supported, not tested),
16 - TW6869 (8 video channels, second generation chip).
/Linux-v4.19/Documentation/media/v4l-drivers/
Divtv.rst24 Open Source driver implementation for video capture cards based on the
30 * Hardware mpeg2 capture of broadcast video (and sound) via the tuner or
45 video signal)
46 * Provides a framebuffer (allowing X applications to appear on the video
70 Cards that don't have a video output capability (i.e. non PVR350 cards)
81 crw-rw---- 1 root video 81, 0 Jun 19 22:22 /dev/video0
82 crw-rw---- 1 root video 81, 16 Jun 19 22:22 /dev/video16
83 crw-rw---- 1 root video 81, 24 Jun 19 22:22 /dev/video24
84 crw-rw---- 1 root video 81, 32 Jun 19 22:22 /dev/video32
85 crw-rw---- 1 root video 81, 48 Jun 19 22:22 /dev/video48
[all …]
/Linux-v4.19/drivers/media/platform/xilinx/
Dxilinx-dma.c108 entity = &dma->video.entity; in xvip_pipeline_start_stop()
121 ret = v4l2_subdev_call(subdev, video, s_stream, start); in xvip_pipeline_start_stop()
181 struct media_entity *entity = &start->video.entity; in xvip_pipeline_validate()
409 pipe = dma->video.entity.pipe in xvip_dma_start_streaming()
410 ? to_xvip_pipeline(&dma->video.entity) : &dma->pipe; in xvip_dma_start_streaming()
412 ret = media_pipeline_start(&dma->video.entity, &pipe->pipe); in xvip_dma_start_streaming()
438 media_pipeline_stop(&dma->video.entity); in xvip_dma_start_streaming()
455 struct xvip_pipeline *pipe = to_xvip_pipeline(&dma->video.entity); in xvip_dma_stop_streaming()
466 media_pipeline_stop(&dma->video.entity); in xvip_dma_stop_streaming()
508 strlcpy(cap->card, dma->video.name, sizeof(cap->card)); in xvip_dma_querycap()
[all …]
/Linux-v4.19/Documentation/media/uapi/mediactl/
Dmedia-types.rst94 - Camera video sensor entity.
103 - Analog video decoder, the basic function of the video decoder is
104 to accept analogue video from a wide variety of sources such as
105 broadcast, DVD players, cameras and video cassette recorders, in
108 some digital video standard, with appropriate timing signals.
114 internally IF-PLL decoders for audio and video, but older models
118 - IF-PLL video decoder. It receives the IF from a PLL and decodes
119 the analog TV video signal. This is commonly found on some very
129 tuner PLL and should be controlled together with the IF-PLL video
142 - Video composer (blender). An entity capable of video
[all …]

12345678910>>...35