Home
last modified time | relevance | path

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

12345678910>>...124

/openbmc/linux/drivers/usb/gadget/function/
H A Duvc_video.c3 * uvc_video.c -- USB Video Class Gadget driver
14 #include <linux/usb/video.h>
24 * Video codecs
28 uvc_video_encode_header(struct uvc_video *video, struct uvc_buffer *buf, in uvc_video_encode_header() argument
31 struct uvc_device *uvc = container_of(video, struct uvc_device, video); in uvc_video_encode_header()
36 data[1] = UVC_STREAM_EOH | video->fid; in uvc_video_encode_header()
38 if (video->queue.flags & UVC_QUEUE_DROP_INCOMPLETE) in uvc_video_encode_header()
41 if (video->queue.buf_used == 0 && ts.tv_sec) { in uvc_video_encode_header()
65 if (buf->bytesused - video->queue.buf_used <= len - pos) in uvc_video_encode_header()
72 uvc_video_encode_data(struct uvc_video *video, struct uvc_buffer *buf, in uvc_video_encode_data() argument
[all …]
H A Duvc_v4l2.c3 * uvc_v4l2.c -- USB Video Class Gadget driver
137 struct uvc_video *video = &uvc->video; in find_closest_frame_by_size() local
172 uvcg_dbg(&video->uvc->func, "Unsupported size %ux%u\n", rw, rh); in find_closest_frame_by_size()
221 struct uvc_video *video = &uvc->video; in uvc_v4l2_get_format() local
223 fmt->fmt.pix.pixelformat = video->fcc; in uvc_v4l2_get_format()
224 fmt->fmt.pix.width = video->width; in uvc_v4l2_get_format()
225 fmt->fmt.pix.height = video->height; in uvc_v4l2_get_format()
227 fmt->fmt.pix.bytesperline = video->bpp * video->width / 8; in uvc_v4l2_get_format()
228 fmt->fmt.pix.sizeimage = video->imagesize; in uvc_v4l2_get_format()
240 struct uvc_video *video = &uvc->video; in uvc_v4l2_try_format() local
[all …]
/openbmc/linux/drivers/media/platform/nuvoton/
H A Dnpcm-video.c3 * Driver for Video Capture/Differentiation Engine (VCD) and Encoding
40 #include <uapi/linux/npcm-video.h>
43 #define DEVICE_NAME "npcm-video"
69 * VIDEO_STREAMING: a flag indicating if the video has started streaming
72 * VIDEO_STOPPED: a flag indicating if the video has stopped streaming
211 static unsigned int npcm_video_ece_get_ed_size(struct npcm_video *video, in npcm_video_ece_get_ed_size() argument
214 struct regmap *ece = video->ece.regmap; in npcm_video_ece_get_ed_size()
223 dev_warn(video->dev, "Wait for ECE_DDA_STS_CDREADY timeout\n"); in npcm_video_ece_get_ed_size()
231 dev_dbg(video->dev, "offset = %u, ed_size = %u, gap = %u\n", offset, in npcm_video_ece_get_ed_size()
237 static void npcm_video_ece_enc_rect(struct npcm_video *video, in npcm_video_ece_enc_rect() argument
[all …]
/openbmc/linux/drivers/media/platform/aspeed/
H A Daspeed-video.c35 #include <uapi/linux/aspeed-video.h>
39 #define DEVICE_NAME "aspeed-video"
267 * flags: holds the state of video
274 * format: holds the video format
279 * frame_bottom: end position of video data in vertical direction
280 * frame_left: start position of video data in horizontal direction
281 * frame_right: end position of video data in horizontal direction
282 * frame_top: start position of video data in vertical direction
491 static bool aspeed_video_alloc_buf(struct aspeed_video *video,
495 static void aspeed_video_free_buf(struct aspeed_video *video,
[all …]
/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A 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_pad_remote_pad_first(&video->pad); in isp_video_remote_subdev()
[all …]
H A 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. */
123 * struct isp_buffer - ISP video buffer
143 #define isp_video_dmaqueue_flags_clr(video) \ argument
144 ({ (video)->dmaqueue_flags = 0; })
147 * struct isp_video_operations - ISP video operations
152 int(*queue)(struct isp_video *video, struct isp_buffer *buffer);
[all …]
/openbmc/linux/drivers/staging/media/omap4iss/
H A Diss_video.c3 * TI OMAP4 ISS V4L2 Driver - Generic video node
104 * @video: ISS video instance
110 * per line value in the pix format and information from the video instance.
114 static unsigned int iss_video_mbus_to_pix(const struct iss_video *video, in iss_video_mbus_to_pix() argument
142 if (video->bpl_max) in iss_video_mbus_to_pix()
143 bpl = clamp(bpl, min_bpl, video->bpl_max); in iss_video_mbus_to_pix()
147 if (!video->bpl_zero_padding || bpl != min_bpl) in iss_video_mbus_to_pix()
148 bpl = ALIGN(bpl, video->bpl_alignment); in iss_video_mbus_to_pix()
187 iss_video_remote_subdev(struct iss_video *video, u32 *pad) in iss_video_remote_subdev() argument
191 remote = media_pad_remote_pad_first(&video->pad); in iss_video_remote_subdev()
[all …]
H A Diss_video.h3 * TI OMAP4 ISS V4L2 Driver - Generic video node
55 /* The stream has been started on the input video node. */
57 /* The stream has been started on the output video node. */
59 /* At least one buffer is queued on the input video node. */
61 /* At least one buffer is queued on the output video node. */
115 * @buffer: ISS video buffer
134 #define iss_video_dmaqueue_flags_clr(video) \ argument
135 ({ (video)->dmaqueue_flags = 0; })
138 * struct iss_video_operations - ISS video operations
143 int (*queue)(struct iss_video *video, struct iss_buffer *buffer);
[all …]
/openbmc/linux/drivers/staging/media/av7110/
H A 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 …]
/openbmc/obmc-ikvm/
H A Dikvm_video.hpp13 * @class Video
14 * @brief Sets up the V4L2 video device and performs read operations
16 class Video class
20 * @brief Constructs Video object
22 * @param[in] p - Path to the V4L2 video device
24 * @param[in] fr - desired frame rate of the video
26 Video(const std::string& p, Input& input, int fr = 30, int sub = 0);
27 ~Video();
28 Video(const Video&) = default;
29 Video& operator=(const Video&) = default;
[all …]
H A Dikvm_server.cpp18 Server::Server(const Args& args, Input& i, Video& v) : in Server()
19 pendingResize(false), frameCounter(0), numClients(0), input(i), video(v) in Server()
25 server = rfbGetScreen(&argc, commandLine.argv, video.getWidth(), in Server()
26 video.getHeight(), Video::bitsPerSample, in Server()
27 Video::samplesPerPixel, Video::bytesPerPixel); in Server()
38 video.getHeight() * video.getWidth() * Video::bytesPerPixel, 0); in Server()
53 rfbMarkRectAsModified(server, 0, 0, video.getWidth(), video.getHeight()); in Server()
58 processTime = (1000000 / video.getFrameRate()) - 100; in Server()
70 if (frameCounter > video.getFrameRate()) in resize()
87 if (pendingResize && frameCounter > video.getFrameRate()) in run()
[all …]
/openbmc/linux/drivers/media/platform/renesas/vsp1/
H A 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
71 subdev = vsp1_video_remote_subdev(&video->pad, &fmt.pad); in vsp1_video_verify_format()
79 if (video->rwpf->fmtinfo->mbus != fmt.format.code || in vsp1_video_verify_format()
80 video->rwpf->format.height != fmt.format.height || in vsp1_video_verify_format()
81 video->rwpf->format.width != fmt.format.width) in vsp1_video_verify_format()
87 static int __vsp1_video_try_format(struct vsp1_video *video, in __vsp1_video_try_format() argument
119 info = vsp1_get_format_info(video->vsp1, pix->pixelformat); in __vsp1_video_try_format()
121 info = vsp1_get_format_info(video->vsp1, VSP1_VIDEO_DEF_FORMAT); in __vsp1_video_try_format()
306 * @video: the video node
[all …]
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-video.c494 struct mxc_isi_video *video = &pipe->video; in mxc_isi_video_frame_write_done() local
500 spin_lock(&video->buf_lock); in mxc_isi_video_frame_write_done()
560 buf = list_first_entry_or_null(&video->out_active, in mxc_isi_video_frame_write_done()
591 video->frame_count += 2; in mxc_isi_video_frame_write_done()
596 next_buf = list_first_entry_or_null(&video->out_pending, in mxc_isi_video_frame_write_done()
599 next_buf = list_first_entry_or_null(&video->out_discard, in mxc_isi_video_frame_write_done()
629 video->frame_count += 2; in mxc_isi_video_frame_write_done()
637 list_move_tail(&next_buf->list, &video->out_active); in mxc_isi_video_frame_write_done()
641 buf->v4l2_buf.sequence = video->frame_count; in mxc_isi_video_frame_write_done()
645 list_move_tail(&buf->list, &video->out_discard); in mxc_isi_video_frame_write_done()
[all …]
/openbmc/linux/drivers/acpi/
H A Dacpi_video.c3 * video.c - ACPI Video Driver
10 #define pr_fmt(fmt) "ACPI: video: " fmt
28 #include <acpi/video.h>
31 #define ACPI_VIDEO_BUS_NAME "Video Bus"
32 #define ACPI_VIDEO_DEVICE_NAME "Video Device"
37 MODULE_DESCRIPTION("ACPI Video Driver");
44 * By default, we don't allow duplicate ACPI video bus devices
101 .name = "video",
111 u8 multihead:1; /* can switch video heads */
112 u8 rom:1; /* can retrieve a video rom */
[all …]
/openbmc/linux/Documentation/userspace-api/media/mediactl/
H A 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:
42 .. _MEDIA-ENT-F-PROC-VIDEO-ISP:
89 - Connector for a S-Video signal.
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/
H A DCVE-2019-7637.patch36 diff -r 4646533663ae -r 9b0e5c555c0f src/video/SDL_pixels.c
37 --- a/src/video/SDL_pixels.c Sat Mar 16 18:35:33 2019 -0700
38 +++ b/src/video/SDL_pixels.c Sat Mar 16 19:16:24 2019 -0700
100 diff -r 4646533663ae -r 9b0e5c555c0f src/video/gapi/SDL_gapivideo.c
101 --- a/src/video/gapi/SDL_gapivideo.c Sat Mar 16 18:35:33 2019 -0700
102 +++ b/src/video/gapi/SDL_gapivideo.c Sat Mar 16 19:16:24 2019 -0700
104 video->w = gapi->w = width;
105 video->h = gapi->h = height;
106 video->pitch = SDL_CalculatePitch(video);
113 diff -r 4646533663ae -r 9b0e5c555c0f src/video/nanox/SDL_nxvideo.c
[all …]
/openbmc/linux/drivers/media/platform/qcom/camss/
H A Dcamss-video.c3 * camss-video.c
18 #include "camss-video.h"
326 static struct v4l2_subdev *video_remote_subdev(struct camss_video *video, in video_remote_subdev() argument
331 remote = media_pad_remote_pad_first(&video->pad); in video_remote_subdev()
342 static int video_get_subdev_format(struct camss_video *video, in video_get_subdev_format() argument
352 subdev = video_remote_subdev(video, &pad); in video_get_subdev_format()
364 video->formats, video->nformats); in video_get_subdev_format()
368 format->type = video->type; in video_get_subdev_format()
371 &video->formats[ret], video->bpl_alignment); in video_get_subdev_format()
375 * Video queue operations
[all …]
/openbmc/linux/Documentation/devicetree/bindings/media/xilinx/
H A 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 …]
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Dallwinner,sun4i-a10-video-engine.yaml4 $id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-video-engine.yaml#
7 title: Allwinner A10 Video Engine
16 - allwinner,sun4i-a10-video-engine
17 - allwinner,sun5i-a13-video-engine
18 - allwinner,sun7i-a20-video-engine
19 - allwinner,sun8i-a33-video-engine
20 - allwinner,sun8i-h3-video-engine
21 - allwinner,sun8i-v3s-video-engine
22 - allwinner,sun8i-r40-video-engine
23 - allwinner,sun20i-d1-video-engine
[all …]
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dsamsung,mipi-video-phy.yaml4 $id: http://devicetree.org/schemas/phy/samsung,mipi-video-phy.yaml#
15 For samsung,s5pv210-mipi-video-phy compatible PHYs the second cell in the
22 samsung,exynos5420-mipi-video-phy and samsung,exynos5433-mipi-video-phy
29 - samsung,s5pv210-mipi-video-phy
30 - samsung,exynos5420-mipi-video-phy
31 - samsung,exynos5433-mipi-video-phy
41 samsung,s5pv210-mipi-video-phy and samsung,exynos5420-mipi-video-phy (if
49 samsung,exynos5433-mipi-video-phy (if not a child of PMU).
55 samsung,exynos5433-mipi-video-phy.
61 samsung,exynos5433-mipi-video-phy.
[all …]
/openbmc/linux/Documentation/admin-guide/media/
H A 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 …]
H A 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
34 isdf TI DM365 ISIF video capture
38 mtk-vcodec-dec Mediatek Video Codec
39 mtk-vpu Mediatek Video Processor Unit
50 rcar-vin R-Car Video Input (VIN)
58 s5p-mfc Samsung S5P MFC Video Codec
59 sh_veu SuperH VEU mem2mem video processing
60 sh_vou SuperH VOU video output
[all …]
/openbmc/linux/Documentation/fb/
H A 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 …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A 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
60 To set the parameters for a *Video Output Overlay*, applications must
69 To set the parameters for a *Video Capture Overlay*
103 For *Video Output Overlays*
106 :ref:`osd`). For *Video Capture Overlays* this field will always be
127 - For *non-destructive Video Overlays* this field only defines a
133 - For *Video Output Overlays* the driver must return a valid
[all …]

12345678910>>...124