Home
last modified time | relevance | path

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

/drivers/gpu/drm/omapdrm/dss/
Dhdmi_wp.c131 const struct hdmi_video_format *video_fmt) in hdmi_wp_video_config_format() argument
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->x_res *= 2; in hdmi_wp_init_vid_fmt_timings()
Dhdmi.h306 const struct hdmi_video_format *video_fmt);
311 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_wp.c132 struct hdmi_video_format *video_fmt) in hdmi_wp_video_config_format() argument
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()
Dhdmi.h287 struct hdmi_video_format *video_fmt);
292 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
/drivers/media/common/saa7146/
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()
1050 if (vv->video_fmt.width < 48 || in buffer_prepare()
1051 vv->video_fmt.height < 32 || in buffer_prepare()
1052 vv->video_fmt.width > vv->standard->h_max_out || in buffer_prepare()
1053 vv->video_fmt.height > vv->standard->v_max_out) { in buffer_prepare()
1055 vv->video_fmt.width, vv->video_fmt.height); in buffer_prepare()
[all …]
Dsaa7146_fops.c538 fmt = &vv->video_fmt; in saa7146_vv_init()
/drivers/ps3/
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()