Home
last modified time | relevance | path

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

12345678910>>...33

/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_video.c63 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()
82 dev_dbg(video->vsp1->dev, in vsp1_video_verify_format()
84 video->rwpf->fmtinfo->mbus, video->rwpf->format.width, in vsp1_video_verify_format()
85 video->rwpf->format.height, fmt.format.code, in vsp1_video_verify_format()
93 static int __vsp1_video_try_format(struct vsp1_video *video, in __vsp1_video_try_format() argument
125 info = vsp1_get_format_info(video->vsp1, pix->pixelformat); in __vsp1_video_try_format()
[all …]
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-video.c67 static struct v4l2_subdev *video_remote_subdev(struct camss_video *video, in video_remote_subdev() argument
72 remote = media_pad_remote_pad_first(&video->pad); in video_remote_subdev()
83 static int video_get_subdev_format(struct camss_video *video, in video_get_subdev_format() argument
93 subdev = video_remote_subdev(video, &pad); in video_get_subdev_format()
104 video->formats, video->nformats); in video_get_subdev_format()
108 format->type = video->type; in video_get_subdev_format()
111 &video->formats[ret], video->bpl_alignment); in video_get_subdev_format()
122 struct camss_video *video = vb2_get_drv_priv(q); in video_queue_setup() local
124 &video->active_fmt.fmt.pix_mp; in video_queue_setup()
149 struct camss_video *video = vb2_get_drv_priv(vb->vb2_queue); in video_buf_init() local
[all …]
/linux/drivers/acpi/
H A Dacpi_video.c200 struct acpi_video_bus *video; member
208 static void acpi_video_device_rebind(struct acpi_video_bus *video);
209 static void acpi_video_device_bind(struct acpi_video_bus *video,
211 static int acpi_video_device_enumerate(struct acpi_video_bus *video);
256 struct acpi_video_device *video = cooling_dev->devdata; in video_get_max_state() local
258 *state = video->brightness->count - ACPI_VIDEO_FIRST_LEVEL - 1; in video_get_max_state()
265 struct acpi_video_device *video = cooling_dev->devdata; in video_get_cur_state() local
269 if (acpi_video_device_lcd_get_level_current(video, &level, false)) in video_get_cur_state()
271 for (offset = ACPI_VIDEO_FIRST_LEVEL; offset < video->brightness->count; in video_get_cur_state()
273 if (level == video->brightness->levels[offset]) { in video_get_cur_state()
[all …]
/linux/drivers/staging/media/starfive/camss/
H A Dstf-capture.c58 static inline struct stf_capture *to_stf_capture(struct stfcamss_video *video) in to_stf_capture() argument
60 return container_of(video, struct stf_capture, video); in to_stf_capture()
76 static void stf_init_addrs(struct stfcamss_video *video) in stf_init_addrs() argument
78 struct stf_capture *cap = to_stf_capture(video); in stf_init_addrs()
91 stf_set_raw_addr(video->stfcamss, addr0); in stf_init_addrs()
93 stf_set_yuv_addr(video->stfcamss, addr0, addr1); in stf_init_addrs()
110 static void stf_cap_s_cfg(struct stfcamss_video *video) in stf_cap_s_cfg() argument
112 struct stf_capture *cap = to_stf_capture(video); in stf_cap_s_cfg()
130 stf_init_addrs(video); in stf_cap_s_cfg()
135 static int stf_cap_s_cleanup(struct stfcamss_video *video) in stf_cap_s_cleanup() argument
[all …]
H A Dstf-video.h87 int (*queue_buffer)(struct stfcamss_video *video,
89 int (*flush_buffers)(struct stfcamss_video *video,
91 void (*start_streaming)(struct stfcamss_video *video);
92 void (*stop_streaming)(struct stfcamss_video *video);
95 int stf_video_register(struct stfcamss_video *video,
98 void stf_video_unregister(struct stfcamss_video *video);
/linux/drivers/media/pci/mgb4/
H A Dmgb4_cmt.c194 struct mgb4_regs *video = &voutdev->mgbdev->video; in mgb4_cmt_set_vout_freq() local
205 config = mgb4_read_reg(video, regs->config); in mgb4_cmt_set_vout_freq()
207 mgb4_write_reg(video, regs->config, 0x1 | (config & ~0x3)); in mgb4_cmt_set_vout_freq()
212 mgb4_mask_reg(video, regs->config, 0x100, 0x100); in mgb4_cmt_set_vout_freq()
213 mgb4_mask_reg(video, regs->config, 0x100, 0x0); in mgb4_cmt_set_vout_freq()
215 mgb4_write_reg(video, regs->config, config & ~0x1); in mgb4_cmt_set_vout_freq()
223 struct mgb4_regs *video = &vindev->mgbdev->video; in mgb4_cmt_set_vin_freq_range() local
235 config = mgb4_read_reg(video, regs->config); in mgb4_cmt_set_vin_freq_range()
237 mgb4_write_reg(video, regs->config, 0x1 | (config & ~0x3)); in mgb4_cmt_set_vin_freq_range()
242 mgb4_mask_reg(video, regs->config, 0x1000, 0x1000); in mgb4_cmt_set_vin_freq_range()
[all …]
H A Dmgb4_sysfs_out.c30 config = mgb4_read_reg(&voutdev->mgbdev->video, in loopin_cnt()
66 u32 config = mgb4_read_reg(&voutdev->mgbdev->video, in video_source_show()
114 config = mgb4_read_reg(&mgbdev->video, voutdev->config->regs.config); in video_source_store()
123 mgb4_mask_reg(&mgbdev->video, loopin_old->config->regs.config, in video_source_store()
126 mgb4_mask_reg(&mgbdev->video, loopin_new->config->regs.config, in video_source_store()
130 mgb4_write_reg(&mgbdev->video, voutdev->config->regs.config, in video_source_store()
133 mgb4_write_reg(&mgbdev->video, voutdev->config->regs.config, in video_source_store()
136 mgb4_mask_reg(&mgbdev->video, voutdev->config->regs.config, 0xc, in video_source_store()
151 u32 config = mgb4_read_reg(&voutdev->mgbdev->video, in display_width_show()
178 mgb4_mask_reg(&voutdev->mgbdev->video, voutdev->config->regs.resolution, in display_width_store()
[all …]
H A Dmgb4_io.h34 static inline bool has_yuv_and_timeperframe(struct mgb4_regs *video) in has_yuv_and_timeperframe() argument
36 u32 status = mgb4_read_reg(video, 0xD0); in has_yuv_and_timeperframe()
41 #define has_yuv(video) has_yuv_and_timeperframe(video) argument
42 #define has_timeperframe(video) has_yuv_and_timeperframe(video) argument
/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
25 - xlnx,video-width: This property qualifies the video format with the sample
[all …]
H A 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>;
H A 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/drivers/media/platform/ti/omap3isp/
H A Dispvideo.h143 #define isp_video_dmaqueue_flags_clr(video) \ argument
144 ({ (video)->dmaqueue_flags = 0; })
152 int(*queue)(struct isp_video *video, struct isp_buffer *buffer);
156 struct video_device video; member
187 #define to_isp_video(vdev) container_of(vdev, struct isp_video, video)
191 struct isp_video *video; member
201 int omap3isp_video_init(struct isp_video *video, const char *name);
202 void omap3isp_video_cleanup(struct isp_video *video);
203 int omap3isp_video_register(struct isp_video *video,
205 void omap3isp_video_unregister(struct isp_video *video);
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A 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
36 When the hardware detects a video source change (e.g. the video
37 signal appears or disappears, or the video resolution changes), then
[all …]
H A Dstandard.rst9 Video devices typically support one or more different video standards or
10 variations of standards. Each video input and output may support another
17 V4L2 defines one bit for each analog video standard currently in use
19 hybrid standards to watch NTSC video tapes on PAL TVs and vice versa.
38 To query and select the standard used by the current video input or
48 index into the standard enumeration. Drivers must implement all video
49 standard ioctls when the device has one or more video inputs or outputs.
52 video standards makes little sense. More generally for any capture or
56 video standard, or
58 - that does not support the video standard formats at all.
[all …]
H A Dvidioc-g-output.rst13 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
64 The number of the video output is out of bounds, or there are no
65 video outputs at all.
/linux/Documentation/admin-guide/media/
H A Di2c-cardlist.rst149 video-i2c I2C transport video
179 cx25840 Conexant CX2584x audio/video decoders
180 saa717x Philips SAA7171/3/4 audio/video decoders
197 ks0127 KS0127 video decoder
198 ml86v7667 OKI ML86V7667 video decoder
199 saa7110 Philips SAA7110 video decoder
200 saa7115 Philips SAA7111/3/4/5 video decoders
202 tvp514x Texas Instruments TVP514x video decoder
203 tvp5150 Texas Instruments TVP5150 video decoder
204 tvp7002 Texas Instruments TVP7002 video decoder
[all …]
H A 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
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 …]
H A Dfimc.rst32 instance to any parallel video input or any MIPI-CSI front-end);
62 Memory-to-memory video node
65 V4L2 memory-to-memory interface at /dev/video? device node. This is standalone
66 video device, it has no media pads. However please note the mem-to-mem and
67 capture video node operation on same FIMC instance is not allowed. The driver
71 Capture video node
77 At the capture and mem-to-mem video nodes only the multi-planar API is
95 sensor subdev -> mipi-csi subdev -> fimc subdev -> video node
98 configuration flow must be from left to right, and the video node is
102 devices belonging to the pipeline is done at the video node driver.
[all …]
/linux/drivers/staging/fbtft/
H A 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/drivers/staging/media/tegra-video/
H A DMakefile2 tegra-video-objs := \
3 video.o \
8 tegra-video-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20.o
9 tegra-video-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210.o
10 obj-$(CONFIG_VIDEO_TEGRA) += tegra-video.o
/linux/drivers/media/pci/tw686x/
H A DKconfig3 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/Documentation/userspace-api/media/mediactl/
H A Dmedia-types.rst95 - Camera video sensor entity.
104 - Analog video decoder, the basic function of the video decoder is
105 to accept analogue video from a wide variety of sources such as
106 broadcast, DVD players, cameras and video cassette recorders, in
109 some digital video standard, with appropriate timing signals.
115 internally IF-PLL decoders for audio and video, but older models
119 - IF-PLL video decoder. It receives the IF from a PLL and decodes
120 the analog TV video signal. This is commonly found on some very
130 tuner PLL and should be controlled together with the IF-PLL video
143 - Video composer (blender). An entity capable of video
[all …]
/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_crtc2.c180 pos += m2info->video.offbase; in matroxfb_dh_pan_var()
205 vramlen = m2info->video.len_usable; in matroxfb_dh_decode_var()
304 fix->smem_start = m2info->video.base; in matroxfb_dh_init_fix()
305 fix->smem_len = m2info->video.len_usable; in matroxfb_dh_init_fix()
337 m2info->fbcon.screen_base = vaddr_va(m2info->video.vbase); in matroxfb_dh_set_par()
355 pos += m2info->video.offbase; in matroxfb_dh_set_par()
614 if (minfo->video.len_usable + mem <= minfo->video.len) in matroxfb_dh_regit()
615 m2info->video.offbase = minfo->video.len - mem; in matroxfb_dh_regit()
616 else if (minfo->video.len < mem) { in matroxfb_dh_regit()
619 m2info->video.borrowed = mem; in matroxfb_dh_regit()
[all …]
/linux/drivers/video/fbdev/
H A Dxen-fbfront.c64 static int video[KPARAM_CNT] = { 2, XENFB_WIDTH, XENFB_HEIGHT }; variable
65 module_param_array(video, int, NULL, 0);
66 MODULE_PARM_DESC(video,
252 if (var->xres == video[KPARAM_WIDTH] && in xenfb_check_var()
253 var->yres == video[KPARAM_HEIGHT] && in xenfb_check_var()
261 if (var->xres > video[KPARAM_WIDTH] || var->yres > video[KPARAM_HEIGHT]) in xenfb_check_var()
359 if (val < video[KPARAM_MEM]) in xenfb_probe()
360 video[KPARAM_MEM] = val; in xenfb_probe()
363 video[KPARAM_WIDTH] = xenbus_read_unsigned(dev->otherend, "width", in xenfb_probe()
364 video[KPARAM_WIDTH]); in xenfb_probe()
[all …]
/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
32 uvesafb is a _generic_ driver which supports a wide variety of video
37 - A strict and limited set of supported video modes. Often the native
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
54 video=uvesafb:1024x768-32,mtrr:3,ywrap (compiled into the kernel)
63 video memory, console scrolling is done by changing the
68 the video memory (i.e. starts reading from top if it
69 reaches the end of video memory). Faster than ypan.
[all …]

12345678910>>...33