Home
last modified time | relevance | path

Searched refs:video_fmt (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Dhdmi_wp.c134 struct hdmi_video_format *video_fmt) in hdmi_wp_video_config_format() argument
138 REG_FLD_MOD(wp->base, HDMI_WP_VIDEO_CFG, video_fmt->packing_mode, in hdmi_wp_video_config_format()
141 l |= FLD_VAL(video_fmt->y_res, 31, 16); in hdmi_wp_video_config_format()
142 l |= FLD_VAL(video_fmt->x_res, 15, 0); in hdmi_wp_video_config_format()
195 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt, in hdmi_wp_init_vid_fmt_timings() argument
200 video_fmt->packing_mode = HDMI_PACK_10b_RGB_YUV444; in hdmi_wp_init_vid_fmt_timings()
201 video_fmt->y_res = param->vm.vactive; in hdmi_wp_init_vid_fmt_timings()
202 video_fmt->x_res = param->vm.hactive; in hdmi_wp_init_vid_fmt_timings()
214 video_fmt->y_res /= 2; in hdmi_wp_init_vid_fmt_timings()
221 video_fmt->x_res *= 2; in hdmi_wp_init_vid_fmt_timings()
Dhdmi.h316 struct hdmi_video_format *video_fmt);
321 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_wp.c135 struct hdmi_video_format *video_fmt) in hdmi_wp_video_config_format() argument
139 REG_FLD_MOD(wp->base, HDMI_WP_VIDEO_CFG, video_fmt->packing_mode, in hdmi_wp_video_config_format()
142 l |= FLD_VAL(video_fmt->y_res, 31, 16); in hdmi_wp_video_config_format()
143 l |= FLD_VAL(video_fmt->x_res, 15, 0); in hdmi_wp_video_config_format()
184 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt, in hdmi_wp_init_vid_fmt_timings() argument
189 video_fmt->packing_mode = HDMI_PACK_10b_RGB_YUV444; in hdmi_wp_init_vid_fmt_timings()
190 video_fmt->y_res = param->timings.y_res; in hdmi_wp_init_vid_fmt_timings()
191 video_fmt->x_res = param->timings.x_res; in hdmi_wp_init_vid_fmt_timings()
193 video_fmt->y_res /= 2; in hdmi_wp_init_vid_fmt_timings()
Dhdmi.h298 struct hdmi_video_format *video_fmt);
303 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
/Linux-v4.19/drivers/media/common/saa7146/
Dsaa7146_video.c356 fmt = saa7146_format_by_fourcc(dev, vv->video_fmt.pixelformat); in video_begin()
409 fmt = saa7146_format_by_fourcc(dev, vv->video_fmt.pixelformat); in video_end()
611 f->fmt.pix = vv->video_fmt; in vidioc_g_fmt_vid_cap()
773 vv->video_fmt = f->fmt.pix; in vidioc_s_fmt_vid_cap()
775 (char *)&vv->video_fmt.pixelformat); in vidioc_s_fmt_vid_cap()
1073 if (vv->video_fmt.width < 48 || in buffer_prepare()
1074 vv->video_fmt.height < 32 || in buffer_prepare()
1075 vv->video_fmt.width > vv->standard->h_max_out || in buffer_prepare()
1076 vv->video_fmt.height > vv->standard->v_max_out) { in buffer_prepare()
1078 vv->video_fmt.width, vv->video_fmt.height); in buffer_prepare()
[all …]
Dsaa7146_fops.c541 fmt = &vv->video_fmt; in saa7146_vv_init()
/Linux-v4.19/drivers/ps3/
Dps3av_cmd.c31 static const struct video_fmt { struct
378 u32 ps3av_cmd_set_video_mode(void *p, u32 head, int video_vid, int video_fmt, in ps3av_cmd_set_video_mode() argument
387 if (video_fmt == -1) in ps3av_cmd_set_video_mode()
388 video_fmt = PS3AV_CMD_VIDEO_FMT_X8R8G8B8; in ps3av_cmd_set_video_mode()
407 video_mode->video_format = ps3av_video_fmt_table[video_fmt].format; in ps3av_cmd_set_video_mode()
412 video_mode->video_order = ps3av_video_fmt_table[video_fmt].order; in ps3av_cmd_set_video_mode()
421 int ps3av_cmd_video_format_black(u32 head, u32 video_fmt, u32 mute) in ps3av_cmd_video_format_black() argument
432 ps3av_video_fmt_table[video_fmt].format; in ps3av_cmd_video_format_black()
433 video_format.video_order = ps3av_video_fmt_table[video_fmt].order; in ps3av_cmd_video_format_black()
/Linux-v4.19/include/media/drv-intf/
Dsaa7146_vv.h128 struct v4l2_pix_format video_fmt; member