Home
last modified time | relevance | path

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

12345678910>>...104

/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Duvc_video.c25 static bool uvc_using_zero_copy(struct uvc_video *video) in uvc_using_zero_copy() argument
27 struct uvc_device *uvc = container_of(video, struct uvc_device, video); in uvc_using_zero_copy()
30 if (opts && opts->uvc_zero_copy && video->fcc != V4L2_PIX_FMT_YUYV) in uvc_using_zero_copy()
36 static void uvc_wait_req_complete(struct uvc_video *video, struct uvc_request *ureq) in uvc_wait_req_complete() argument
42 spin_lock_irqsave(&video->req_lock, flags); in uvc_wait_req_complete()
44 list_for_each_entry(req, &video->req_free, list) { in uvc_wait_req_complete()
52 spin_unlock_irqrestore(&video->req_lock, flags); in uvc_wait_req_complete()
56 uvcg_warn(&video->uvc->func, in uvc_wait_req_complete()
61 spin_unlock_irqrestore(&video->req_lock, flags); in uvc_wait_req_complete()
64 static inline bool uvc_using_zero_copy(struct uvc_video *video) in uvc_using_zero_copy() argument
[all …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/media/platform/
H A Daspeed-video.c427 static void aspeed_video_update(struct aspeed_video *video, u32 reg, u32 clear, in aspeed_video_update() argument
430 u32 t = readl(video->base + reg); in aspeed_video_update()
435 writel(t, video->base + reg); in aspeed_video_update()
436 dev_dbg(video->dev, "update %03x[%08x -> %08x]\n", reg, before, in aspeed_video_update()
437 readl(video->base + reg)); in aspeed_video_update()
440 static u32 aspeed_video_read(struct aspeed_video *video, u32 reg) in aspeed_video_read() argument
442 u32 t = readl(video->base + reg); in aspeed_video_read()
444 dev_dbg(video->dev, "read %03x[%08x]\n", reg, t); in aspeed_video_read()
448 static void aspeed_video_write(struct aspeed_video *video, u32 reg, u32 val) in aspeed_video_write() argument
450 writel(val, video->base + reg); in aspeed_video_write()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/omap3isp/
H A Dispvideo.c139 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_entity_remote_pad(&video->pad); in isp_video_remote_subdev()
221 static int isp_video_get_graph_data(struct isp_video *video, in isp_video_get_graph_data() argument
225 struct media_entity *entity = &video->video.entity; in isp_video_get_graph_data()
247 if (entity == &video->video.entity) in isp_video_get_graph_data()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/media/omap4iss/
H A Diss_video.c116 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 …]
/OK3568_Linux_fs/kernel/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_video.c76 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 …]
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Danalogix_dp_reg.su
H A Ddw_hdmi.su
H A Drockchip_vop2.su
H A Ddrm_mipi_dsi.su
H A D.built-in.o.cmd
H A Drockchip_display.su
H A Drockchip_rgb.su
H A Ddw_mipi_dsi.su
H A Drockchip_connector.su
/OK3568_Linux_fs/kernel/drivers/media/platform/vsp1/
H A Dvsp1_video.c63 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 …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/dvb/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/media/platform/qcom/camss/
H A Dcamss-video.c275 static struct v4l2_subdev *video_remote_subdev(struct camss_video *video, in video_remote_subdev() argument
280 remote = media_entity_remote_pad(&video->pad); in video_remote_subdev()
291 static int video_get_subdev_format(struct camss_video *video, in video_get_subdev_format() argument
299 subdev = video_remote_subdev(video, &pad); in video_get_subdev_format()
312 video->formats, video->nformats); in video_get_subdev_format()
316 format->type = video->type; in video_get_subdev_format()
319 &video->formats[ret], video->bpl_alignment); in video_get_subdev_format()
330 struct camss_video *video = vb2_get_drv_priv(q); in video_queue_setup() local
332 &video->active_fmt.fmt.pix_mp; in video_queue_setup()
357 struct camss_video *video = vb2_get_drv_priv(vb->vb2_queue); in video_buf_init() local
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Dacpi_video.c207 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 …]
/OK3568_Linux_fs/u-boot/drivers/video/
H A Dvideo-uclass.su
/OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/grub/files/
H A Dvideo-Remove-trailing-whitespaces.patch4 Subject: [PATCH] video: Remove trailing whitespaces
16 grub-core/video/bochs.c | 2 +-
17 grub-core/video/capture.c | 2 +-
18 grub-core/video/cirrus.c | 4 ++--
19 grub-core/video/coreboot/cbfb.c | 2 +-
20 grub-core/video/efi_gop.c | 22 +++++++++----------
21 grub-core/video/fb/fbblit.c | 8 +++----
22 grub-core/video/fb/video_fb.c | 10 ++++-----
23 grub-core/video/i386/pc/vbe.c | 34 ++++++++++++++---------------
24 grub-core/video/i386/pc/vga.c | 6 ++---
[all …]
/OK3568_Linux_fs/app/qfm/
H A Dmimeapps.list109 video/3gp=qplayer.desktop
110 video/3gpp=qplayer.desktop
111 video/3gpp2=qplayer.desktop
112 video/avi=qplayer.desktop
113 video/divx=qplayer.desktop
114 video/dv=qplayer.desktop
115 video/fli=qplayer.desktop
116 video/flv=qplayer.desktop
117 video/mp2t=qplayer.desktop
118 video/mp4=qplayer.desktop
[all …]
/OK3568_Linux_fs/debian/overlay/etc/udev/rules.d/
H A D99-rockchip-permissions.rules4 KERNEL=="avsd", MODE="0660", GROUP="video"
5 KERNEL=="vepu", MODE="0660", GROUP="video"
6 KERNEL=="h265e", MODE="0660", GROUP="video"
7 KERNEL=="rkvdec", MODE="0660", GROUP="video"
8 KERNEL=="rkvenc", MODE="0660", GROUP="video"
9 KERNEL=="mpp_service", MODE="0660", GROUP="video"
10 KERNEL=="vpu[_-]service", MODE="0660", GROUP="video"
11 KERNEL=="hevc[_-]service", MODE="0660", GROUP="video"
14 KERNEL=="rga", MODE="0660", GROUP="video"
17 KERNEL=="mali*", MODE="0660", GROUP="video"
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-core/udev/files/
H A D99-rockchip-permissions.rules4 KERNEL=="avsd", MODE="0660", GROUP="video"
5 KERNEL=="vepu", MODE="0660", GROUP="video"
6 KERNEL=="h265e", MODE="0660", GROUP="video"
7 KERNEL=="rkvdec", MODE="0660", GROUP="video"
8 KERNEL=="rkvenc", MODE="0660", GROUP="video"
9 KERNEL=="mpp_service", MODE="0660", GROUP="video"
10 KERNEL=="vpu[_-]service", MODE="0660", GROUP="video"
11 KERNEL=="hevc[_-]service", MODE="0660", GROUP="video"
14 KERNEL=="rga", MODE="0660", GROUP="video"
17 KERNEL=="mali*", MODE="0660", GROUP="video"
[all …]
/OK3568_Linux_fs/external/rkscript/
H A D99-rockchip-permissions.rules4 KERNEL=="avsd", MODE="0660", GROUP="video"
5 KERNEL=="vepu", MODE="0660", GROUP="video"
6 KERNEL=="h265e", MODE="0660", GROUP="video"
7 KERNEL=="rkvdec", MODE="0660", GROUP="video"
8 KERNEL=="rkvenc", MODE="0660", GROUP="video"
9 KERNEL=="mpp_service", MODE="0660", GROUP="video"
10 KERNEL=="vpu[_-]service", MODE="0660", GROUP="video"
11 KERNEL=="hevc[_-]service", MODE="0660", GROUP="video"
14 KERNEL=="rga", MODE="0660", GROUP="video"
17 KERNEL=="mali*", MODE="0660", GROUP="video"
[all …]

12345678910>>...104