Home
last modified time | relevance | path

Searched refs:video_fmt (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi_wp.c131 const struct hdmi_video_format *video_fmt) in hdmi_wp_video_config_format()
135 REG_FLD_MOD(wp->base, HDMI_WP_VIDEO_CFG, video_fmt->packing_mode, in hdmi_wp_video_config_format()
138 l |= FLD_VAL(video_fmt->y_res, 31, 16); in hdmi_wp_video_config_format()
139 l |= FLD_VAL(video_fmt->x_res, 15, 0); in hdmi_wp_video_config_format()
192 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt, in hdmi_wp_init_vid_fmt_timings() argument
197 video_fmt->packing_mode = HDMI_PACK_10b_RGB_YUV444; in hdmi_wp_init_vid_fmt_timings()
198 video_fmt->y_res = param->vm.vactive; in hdmi_wp_init_vid_fmt_timings()
199 video_fmt->x_res = param->vm.hactive; in hdmi_wp_init_vid_fmt_timings()
211 video_fmt->y_res /= 2; in hdmi_wp_init_vid_fmt_timings()
218 video_fmt in hdmi_wp_init_vid_fmt_timings()
130 hdmi_wp_video_config_format(struct hdmi_wp_data *wp, const struct hdmi_video_format *video_fmt) hdmi_wp_video_config_format() argument
[all...]
H A Dhdmi.h306 const struct hdmi_video_format *video_fmt);
311 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi_wp.c131 const struct hdmi_video_format *video_fmt) in hdmi_wp_video_config_format()
135 REG_FLD_MOD(wp->base, HDMI_WP_VIDEO_CFG, video_fmt->packing_mode, in hdmi_wp_video_config_format()
138 l |= FLD_VAL(video_fmt->y_res, 31, 16); in hdmi_wp_video_config_format()
139 l |= FLD_VAL(video_fmt->x_res, 15, 0); in hdmi_wp_video_config_format()
192 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt, in hdmi_wp_init_vid_fmt_timings() argument
197 video_fmt->packing_mode = HDMI_PACK_10b_RGB_YUV444; in hdmi_wp_init_vid_fmt_timings()
198 video_fmt->y_res = param->vm.vactive; in hdmi_wp_init_vid_fmt_timings()
199 video_fmt->x_res = param->vm.hactive; in hdmi_wp_init_vid_fmt_timings()
211 video_fmt->y_res /= 2; in hdmi_wp_init_vid_fmt_timings()
218 video_fmt in hdmi_wp_init_vid_fmt_timings()
130 hdmi_wp_video_config_format(struct hdmi_wp_data *wp, const struct hdmi_video_format *video_fmt) hdmi_wp_video_config_format() argument
[all...]
H A Dhdmi.h306 const struct hdmi_video_format *video_fmt);
311 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi_wp.c132 struct hdmi_video_format *video_fmt) in hdmi_wp_video_config_format()
136 REG_FLD_MOD(wp->base, HDMI_WP_VIDEO_CFG, video_fmt->packing_mode, in hdmi_wp_video_config_format()
139 l |= FLD_VAL(video_fmt->y_res, 31, 16); in hdmi_wp_video_config_format()
140 l |= FLD_VAL(video_fmt->x_res, 15, 0); in hdmi_wp_video_config_format()
181 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt, in hdmi_wp_init_vid_fmt_timings() argument
186 video_fmt->packing_mode = HDMI_PACK_10b_RGB_YUV444; in hdmi_wp_init_vid_fmt_timings()
187 video_fmt->y_res = param->timings.y_res; in hdmi_wp_init_vid_fmt_timings()
188 video_fmt->x_res = param->timings.x_res; in hdmi_wp_init_vid_fmt_timings()
190 video_fmt->y_res /= 2; in hdmi_wp_init_vid_fmt_timings()
131 hdmi_wp_video_config_format(struct hdmi_wp_data *wp, struct hdmi_video_format *video_fmt) hdmi_wp_video_config_format() argument
H A Dhdmi.h287 struct hdmi_video_format *video_fmt);
292 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi_wp.c132 struct hdmi_video_format *video_fmt) in hdmi_wp_video_config_format()
136 REG_FLD_MOD(wp->base, HDMI_WP_VIDEO_CFG, video_fmt->packing_mode, in hdmi_wp_video_config_format()
139 l |= FLD_VAL(video_fmt->y_res, 31, 16); in hdmi_wp_video_config_format()
140 l |= FLD_VAL(video_fmt->x_res, 15, 0); in hdmi_wp_video_config_format()
181 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt, in hdmi_wp_init_vid_fmt_timings() argument
186 video_fmt->packing_mode = HDMI_PACK_10b_RGB_YUV444; in hdmi_wp_init_vid_fmt_timings()
187 video_fmt->y_res = param->timings.y_res; in hdmi_wp_init_vid_fmt_timings()
188 video_fmt->x_res = param->timings.x_res; in hdmi_wp_init_vid_fmt_timings()
190 video_fmt->y_res /= 2; in hdmi_wp_init_vid_fmt_timings()
131 hdmi_wp_video_config_format(struct hdmi_wp_data *wp, struct hdmi_video_format *video_fmt) hdmi_wp_video_config_format() argument
H A Dhdmi.h287 struct hdmi_video_format *video_fmt);
292 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
H A Dsaa7146_video.c345 fmt = saa7146_format_by_fourcc(dev, vv->video_fmt.pixelformat); in video_begin()
399 fmt = saa7146_format_by_fourcc(dev, vv->video_fmt.pixelformat); in video_end()
590 f->fmt.pix = vv->video_fmt; in vidioc_g_fmt_vid_cap()
752 vv->video_fmt = f->fmt.pix; in vidioc_s_fmt_vid_cap()
754 (char *)&vv->video_fmt.pixelformat); in vidioc_s_fmt_vid_cap()
1052 if (vv->video_fmt.width < 48 || in buffer_prepare()
1053 vv->video_fmt.height < 32 || in buffer_prepare()
1054 vv->video_fmt.width > vv->standard->h_max_out || in buffer_prepare()
1055 vv->video_fmt.height > vv->standard->v_max_out) { in buffer_prepare()
1057 vv->video_fmt in buffer_prepare()
[all...]
H A Dsaa7146_fops.c540 fmt = &vv->video_fmt; in saa7146_vv_init()
/kernel/linux/linux-5.10/drivers/ps3/
H A Dps3av_cmd.c19 static const struct video_fmt { struct
366 u32 ps3av_cmd_set_video_mode(void *p, u32 head, int video_vid, int video_fmt, in ps3av_cmd_set_video_mode() argument
375 if (video_fmt == -1) in ps3av_cmd_set_video_mode()
376 video_fmt = PS3AV_CMD_VIDEO_FMT_X8R8G8B8; in ps3av_cmd_set_video_mode()
395 video_mode->video_format = ps3av_video_fmt_table[video_fmt].format; in ps3av_cmd_set_video_mode()
400 video_mode->video_order = ps3av_video_fmt_table[video_fmt].order; in ps3av_cmd_set_video_mode()
409 int ps3av_cmd_video_format_black(u32 head, u32 video_fmt, u32 mute) in ps3av_cmd_video_format_black() argument
420 ps3av_video_fmt_table[video_fmt].format; in ps3av_cmd_video_format_black()
421 video_format.video_order = ps3av_video_fmt_table[video_fmt].order; in ps3av_cmd_video_format_black()
/kernel/linux/linux-6.6/drivers/ps3/
H A Dps3av_cmd.c19 static const struct video_fmt { struct
366 u32 ps3av_cmd_set_video_mode(void *p, u32 head, int video_vid, int video_fmt, in ps3av_cmd_set_video_mode() argument
375 if (video_fmt == -1) in ps3av_cmd_set_video_mode()
376 video_fmt = PS3AV_CMD_VIDEO_FMT_X8R8G8B8; in ps3av_cmd_set_video_mode()
395 video_mode->video_format = ps3av_video_fmt_table[video_fmt].format; in ps3av_cmd_set_video_mode()
400 video_mode->video_order = ps3av_video_fmt_table[video_fmt].order; in ps3av_cmd_set_video_mode()
409 int ps3av_cmd_video_format_black(u32 head, u32 video_fmt, u32 mute) in ps3av_cmd_video_format_black() argument
420 ps3av_video_fmt_table[video_fmt].format; in ps3av_cmd_video_format_black()
421 video_format.video_order = ps3av_video_fmt_table[video_fmt].order; in ps3av_cmd_video_format_black()
/kernel/linux/linux-6.6/drivers/media/common/saa7146/
H A Dsaa7146_video.c93 struct v4l2_pix_format *pix = &vv->video_fmt; in saa7146_pgtable_build()
191 fmt = saa7146_format_by_fourcc(dev, vv->video_fmt.pixelformat); in video_begin()
226 fmt = saa7146_format_by_fourcc(dev, vv->video_fmt.pixelformat); in video_end()
345 f->fmt.pix = vv->video_fmt; in vidioc_g_fmt_vid_cap()
442 vv->video_fmt = f->fmt.pix; in vidioc_s_fmt_vid_cap()
444 (char *)&vv->video_fmt.pixelformat); in vidioc_s_fmt_vid_cap()
561 unsigned int size = dev->vv_data->video_fmt.sizeimage; in queue_setup()
596 sfmt = saa7146_format_by_fourcc(dev, vv->video_fmt.pixelformat); in buf_init()
617 unsigned int size = vv->video_fmt.sizeimage; in buf_prepare()
H A Dsaa7146_fops.c89 if (vv->video_fmt.field == V4L2_FIELD_ALTERNATE) in saa7146_buffer_finish()
91 else if (vv->video_fmt.field == V4L2_FIELD_ANY) in saa7146_buffer_finish()
92 buf->vb.field = (vv->video_fmt.height > vv->standard->v_max_out / 2) in saa7146_buffer_finish()
96 buf->vb.field = vv->video_fmt.field; in saa7146_buffer_finish()
297 fmt = &vv->video_fmt; in saa7146_vv_init()
H A Dsaa7146_hlp.c410 struct v4l2_pix_format *pix = &vv->video_fmt; in calculate_video_dma_grab_packed()
472 struct v4l2_pix_format *pix = &vv->video_fmt; in calc_planar_422()
504 struct v4l2_pix_format *pix = &vv->video_fmt; in calc_planar_420()
535 struct v4l2_pix_format *pix = &vv->video_fmt; in calculate_video_dma_grab_planar()
724 struct v4l2_pix_format *pix = &vv->video_fmt; in saa7146_set_capture()
/kernel/linux/linux-6.6/include/media/drv-intf/
H A Dsaa7146_vv.h91 struct v4l2_pix_format video_fmt; member
/kernel/linux/linux-5.10/include/media/drv-intf/
H A Dsaa7146_vv.h127 struct v4l2_pix_format video_fmt; member

Completed in 14 milliseconds