Home
last modified time | relevance | path

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

12345678910>>...13

/drivers/usb/gadget/function/
Duvc_video.c31 uvc_video_encode_header(struct uvc_video *video, struct uvc_buffer *buf, in uvc_video_encode_header() argument
35 data[1] = UVC_STREAM_EOH | video->fid; in uvc_video_encode_header()
37 if (buf->bytesused - video->queue.buf_used <= len - 2) in uvc_video_encode_header()
44 uvc_video_encode_data(struct uvc_video *video, struct uvc_buffer *buf, in uvc_video_encode_data() argument
47 struct uvc_video_queue *queue = &video->queue; in uvc_video_encode_data()
62 uvc_video_encode_bulk(struct usb_request *req, struct uvc_video *video, in uvc_video_encode_bulk() argument
66 int len = video->req_size; in uvc_video_encode_bulk()
70 if (video->payload_size == 0) { in uvc_video_encode_bulk()
71 ret = uvc_video_encode_header(video, buf, mem, len); in uvc_video_encode_bulk()
72 video->payload_size += ret; in uvc_video_encode_bulk()
[all …]
Duvc_v4l2.c90 struct uvc_video *video = &uvc->video; in uvc_v4l2_get_format() local
92 fmt->fmt.pix.pixelformat = video->fcc; in uvc_v4l2_get_format()
93 fmt->fmt.pix.width = video->width; in uvc_v4l2_get_format()
94 fmt->fmt.pix.height = video->height; in uvc_v4l2_get_format()
96 fmt->fmt.pix.bytesperline = video->bpp * video->width / 8; in uvc_v4l2_get_format()
97 fmt->fmt.pix.sizeimage = video->imagesize; in uvc_v4l2_get_format()
109 struct uvc_video *video = &uvc->video; in uvc_v4l2_set_format() local
130 video->fcc = format->fcc; in uvc_v4l2_set_format()
131 video->bpp = format->bpp; in uvc_v4l2_set_format()
132 video->width = fmt->fmt.pix.width; in uvc_v4l2_set_format()
[all …]
Duvc_video.h18 int uvcg_video_pump(struct uvc_video *video);
20 int uvcg_video_enable(struct uvc_video *video, int enable);
22 int uvcg_video_init(struct uvc_video *video);
/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.h146 void vpfe_video_unregister(struct vpfe_video_device *video);
147 int vpfe_video_register(struct vpfe_video_device *video,
149 int vpfe_video_init(struct vpfe_video_device *video, const char *name);
150 void vpfe_video_process_buffer_complete(struct vpfe_video_device *video);
151 void vpfe_video_schedule_bottom_field(struct vpfe_video_device *video);
152 void vpfe_video_schedule_next_buffer(struct vpfe_video_device *video);
/drivers/media/platform/omap3isp/
Dispvideo.c141 static unsigned int isp_video_mbus_to_pix(const struct isp_video *video, in isp_video_mbus_to_pix() argument
167 if (video->bpl_max) in isp_video_mbus_to_pix()
168 bpl = clamp(bpl, min_bpl, video->bpl_max); in isp_video_mbus_to_pix()
172 if (!video->bpl_zero_padding || bpl != min_bpl) in isp_video_mbus_to_pix()
173 bpl = ALIGN(bpl, video->bpl_alignment); in isp_video_mbus_to_pix()
207 isp_video_remote_subdev(struct isp_video *video, u32 *pad) in isp_video_remote_subdev() argument
211 remote = media_entity_remote_pad(&video->pad); in isp_video_remote_subdev()
224 static int isp_video_get_graph_data(struct isp_video *video, in isp_video_get_graph_data() argument
228 struct media_entity *entity = &video->video.entity; in isp_video_get_graph_data()
243 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
184 #define to_isp_video(vdev) container_of(vdev, struct isp_video, video)
188 struct isp_video *video; member
198 int omap3isp_video_init(struct isp_video *video, const char *name);
199 void omap3isp_video_cleanup(struct isp_video *video);
200 int omap3isp_video_register(struct isp_video *video,
202 void omap3isp_video_unregister(struct isp_video *video);
[all …]
/drivers/staging/media/omap4iss/
Diss_video.c118 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()
188 iss_video_remote_subdev(struct iss_video *video, u32 *pad) in iss_video_remote_subdev() argument
192 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()
217 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
178 #define to_iss_video(vdev) container_of(vdev, struct iss_video, video)
182 struct iss_video *video; member
192 int omap4iss_video_init(struct iss_video *video, const char *name);
193 void omap4iss_video_cleanup(struct iss_video *video);
194 int omap4iss_video_register(struct iss_video *video,
196 void omap4iss_video_unregister(struct iss_video *video);
[all …]
/drivers/media/platform/vsp1/
Dvsp1_video.c173 static int vsp1_video_verify_format(struct vsp1_video *video) in vsp1_video_verify_format() argument
179 subdev = vsp1_video_remote_subdev(&video->pad, &fmt.pad); in vsp1_video_verify_format()
188 if (video->fmtinfo->mbus != fmt.format.code || in vsp1_video_verify_format()
189 video->format.height != fmt.format.height || in vsp1_video_verify_format()
190 video->format.width != fmt.format.width) in vsp1_video_verify_format()
196 static int __vsp1_video_try_format(struct vsp1_video *video, in __vsp1_video_try_format() argument
278 vsp1_video_format_adjust(struct vsp1_video *video, in vsp1_video_format_adjust() argument
285 __vsp1_video_try_format(video, adjust, NULL); in vsp1_video_format_adjust()
408 struct vsp1_video *video) in vsp1_pipeline_validate() argument
411 struct media_entity *entity = &video->video.entity; in vsp1_pipeline_validate()
[all …]
Dvsp1_wpf.c115 struct v4l2_pix_format_mplane *format = &wpf->video.format; in wpf_s_stream()
133 const struct vsp1_format_info *fmtinfo = wpf->video.fmtinfo; in wpf_s_stream()
190 .video = &wpf_video_ops,
198 static void wpf_vdev_queue(struct vsp1_video *video, in wpf_vdev_queue() argument
201 struct vsp1_rwpf *wpf = container_of(video, struct vsp1_rwpf, video); in wpf_vdev_queue()
221 struct vsp1_video *video; in vsp1_wpf_create() local
268 video = &wpf->video; in vsp1_wpf_create()
270 video->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in vsp1_wpf_create()
271 video->vsp1 = vsp1; in vsp1_wpf_create()
272 video->ops = &wpf_vdev_ops; in vsp1_wpf_create()
[all …]
Dvsp1_rpf.c78 const struct vsp1_format_info *fmtinfo = rpf->video.fmtinfo; in rpf_s_stream()
79 const struct v4l2_pix_format_mplane *format = &rpf->video.format; in rpf_s_stream()
181 .video = &rpf_video_ops,
189 static void rpf_vdev_queue(struct vsp1_video *video, in rpf_vdev_queue() argument
192 struct vsp1_rwpf *rpf = container_of(video, struct vsp1_rwpf, video); in rpf_vdev_queue()
222 struct vsp1_video *video; in vsp1_rpf_create() local
268 video = &rpf->video; in vsp1_rpf_create()
270 video->type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in vsp1_rpf_create()
271 video->vsp1 = vsp1; in vsp1_rpf_create()
272 video->ops = &rpf_vdev_ops; in vsp1_rpf_create()
[all …]
Dvsp1_video.h111 void (*queue)(struct vsp1_video *video, struct vsp1_video_buffer *buf);
120 struct video_device video; member
140 return container_of(vdev, struct vsp1_video, video); in to_vsp1_video()
143 int vsp1_video_init(struct vsp1_video *video, struct vsp1_entity *rwpf);
144 void vsp1_video_cleanup(struct vsp1_video *video);
/drivers/acpi/
Dacpi_video.c207 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);
275 struct acpi_video_device *video = acpi_driver_data(device); in video_get_max_state() local
277 *state = video->brightness->count - 3; in video_get_max_state()
285 struct acpi_video_device *video = acpi_driver_data(device); in video_get_cur_state() local
289 if (acpi_video_device_lcd_get_level_current(video, &level, false)) in video_get_cur_state()
291 for (offset = 2; offset < video->brightness->count; offset++) in video_get_cur_state()
292 if (level == video->brightness->levels[offset]) { in video_get_cur_state()
[all …]
/drivers/media/platform/exynos4-is/
Dfimc-isp-video.c92 struct fimc_is_video *video = &isp->video_capture; in isp_video_capture_start_streaming() local
104 dma->buffer_number = video->reqbufs_count; in isp_video_capture_start_streaming()
105 dma->dma_out_mask = video->buf_mask; in isp_video_capture_start_streaming()
107 isp_dbg(2, &video->ve.vdev, in isp_video_capture_start_streaming()
109 video->buf_count, video->format->memplanes, in isp_video_capture_start_streaming()
121 ret = fimc_pipeline_call(&video->ve, set_stream, 1); in isp_video_capture_start_streaming()
164 struct fimc_is_video *video = &isp->video_capture; in isp_video_capture_buffer_prepare() local
167 if (video->format == NULL) in isp_video_capture_buffer_prepare()
170 for (i = 0; i < video->format->memplanes; i++) { in isp_video_capture_buffer_prepare()
171 unsigned long size = video->pixfmt.plane_fmt[i].sizeimage; in isp_video_capture_buffer_prepare()
[all …]
/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/
/drivers/media/platform/xilinx/
Dxilinx-dma.c109 entity = &dma->video.entity; in xvip_pipeline_start_stop()
123 ret = v4l2_subdev_call(subdev, video, s_stream, start); in xvip_pipeline_start_stop()
183 struct media_entity *entity = &start->video.entity; in xvip_pipeline_validate()
405 pipe = dma->video.entity.pipe in xvip_dma_start_streaming()
406 ? to_xvip_pipeline(&dma->video.entity) : &dma->pipe; in xvip_dma_start_streaming()
408 ret = media_entity_pipeline_start(&dma->video.entity, &pipe->pipe); in xvip_dma_start_streaming()
434 media_entity_pipeline_stop(&dma->video.entity); in xvip_dma_start_streaming()
451 struct xvip_pipeline *pipe = to_xvip_pipeline(&dma->video.entity); in xvip_dma_stop_streaming()
462 media_entity_pipeline_stop(&dma->video.entity); in xvip_dma_stop_streaming()
502 strlcpy(cap->card, dma->video.name, sizeof(cap->card)); in xvip_dma_querycap()
[all …]
/drivers/video/fbdev/matrox/
Dmatroxfb_crtc2.c179 pos += m2info->video.offbase; in matroxfb_dh_pan_var()
204 vramlen = m2info->video.len_usable; in matroxfb_dh_decode_var()
303 fix->smem_start = m2info->video.base; in matroxfb_dh_init_fix()
304 fix->smem_len = m2info->video.len_usable; in matroxfb_dh_init_fix()
336 m2info->fbcon.screen_base = vaddr_va(m2info->video.vbase); in matroxfb_dh_set_par()
354 pos += m2info->video.offbase; in matroxfb_dh_set_par()
616 if (minfo->video.len_usable + mem <= minfo->video.len) in matroxfb_dh_regit()
617 m2info->video.offbase = minfo->video.len - mem; in matroxfb_dh_regit()
618 else if (minfo->video.len < mem) { in matroxfb_dh_regit()
621 m2info->video.borrowed = mem; in matroxfb_dh_regit()
[all …]
/drivers/media/i2c/
DKconfig13 some video boards have the IR connected via I2C bus.
182 Support for the Analog Devices ADV7180 video decoder.
192 ADV7183 video decoder.
203 Support for the Analog Devices ADV7604 video decoder.
216 Support for the Analog Devices ADV7842 video decoder.
228 Support for BT819A video decoder.
237 Support for BT856 video decoder.
246 Support for BT866 video decoder.
252 tristate "KS0127 video decoder"
255 Support for KS0127 video decoder.
[all …]
/drivers/video/
DKconfig28 source "drivers/video/fbdev/Kconfig"
31 source "drivers/video/backlight/Kconfig"
32 source "drivers/video/adf/Kconfig"
45 source "drivers/video/console/Kconfig"
49 source "drivers/video/logo/Kconfig"
/drivers/gpu/drm/sti/
DNOTES4 - The High Quality Video Display Processor (HQVDP) gets video frames from a
5 video decoder and does high quality video processing, including scaling.
11 - The video plug (VID) connects to the HQVDP output.
14 - The HDMI / DVO / HD Analog / SD analog IP builds the video signals
41 - The Framebuffers and planes are mapped to the Compositor GDP (non video
42 buffers) and to HQVDP+VID (video buffers)
/drivers/video/fbdev/
Dpm3fb.c69 u32 video; /* video flags before blanking */ member
808 unsigned int video = par->video; in pm3fb_write_mode() local
810 video &= ~(PM3VideoControl_HSYNC_MASK | in pm3fb_write_mode()
812 video |= PM3VideoControl_HSYNC_ACTIVE_HIGH | in pm3fb_write_mode()
814 PM3_WRITE_REG(par, PM3VideoControl, video); in pm3fb_write_mode()
844 if ((par->video & PM3VideoControl_HSYNC_MASK) == in pm3fb_write_mode()
847 if ((par->video & PM3VideoControl_VSYNC_MASK) == in pm3fb_write_mode()
1021 par->video = 0; in pm3fb_set_par()
1024 par->video |= PM3VideoControl_HSYNC_ACTIVE_HIGH; in pm3fb_set_par()
1026 par->video |= PM3VideoControl_HSYNC_ACTIVE_LOW; in pm3fb_set_par()
[all …]
Dxen-fbfront.c62 static int video[KPARAM_CNT] = { 2, XENFB_WIDTH, XENFB_HEIGHT }; variable
63 module_param_array(video, int, NULL, 0);
64 MODULE_PARM_DESC(video,
287 if (var->xres == video[KPARAM_WIDTH] && in xenfb_check_var()
288 var->yres == video[KPARAM_HEIGHT] && in xenfb_check_var()
296 if (var->xres > video[KPARAM_WIDTH] || var->yres > video[KPARAM_HEIGHT]) in xenfb_check_var()
379 if (val < video[KPARAM_MEM]) in xenfb_probe()
380 video[KPARAM_MEM] = val; in xenfb_probe()
384 fb_size = video[KPARAM_MEM] * 1024 * 1024; in xenfb_probe()
385 if (video[KPARAM_WIDTH] * video[KPARAM_HEIGHT] * XENFB_DEPTH / 8 in xenfb_probe()
[all …]
/drivers/media/pci/saa7146/
Dmxb.c360 saa7111a_call(mxb, video, s_std, std); in mxb_init_done()
364 saa7111a_call(mxb, video, s_routing, SAA7115_COMPOSITE0, in mxb_init_done()
382 saa7111a_call(mxb, video, s_std, std); in mxb_init_done()
383 tuner_call(mxb, video, s_std, std); in mxb_init_done()
386 tea6415c_call(mxb, video, s_routing, 3, 17, 0); in mxb_init_done()
389 tea6415c_call(mxb, video, s_routing, 3, 13, 0); in mxb_init_done()
502 err = tea6415c_call(mxb, video, s_routing, 3, 17, 0); in vidioc_s_input()
506 err = tea6415c_call(mxb, video, s_routing, 3, 13, 0); in vidioc_s_input()
520 err = tea6415c_call(mxb, video, s_routing, 1, 17, 0); in vidioc_s_input()
528 if (saa7111a_call(mxb, video, s_routing, i, SAA7111_FMT_CCIR, 0)) in vidioc_s_input()
[all …]
/drivers/video/fbdev/omap2/
DKconfig6 source "drivers/video/fbdev/omap2/dss/Kconfig"
7 source "drivers/video/fbdev/omap2/omapfb/Kconfig"
8 source "drivers/video/fbdev/omap2/displays-new/Kconfig"

12345678910>>...13