Searched refs:video_fmt (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/omapdrm/dss/ |
D | hdmi_wp.c | 134 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->timings.y_res; in hdmi_wp_init_vid_fmt_timings() 202 video_fmt->x_res = param->timings.x_res; in hdmi_wp_init_vid_fmt_timings() 217 video_fmt->y_res /= 2; in hdmi_wp_init_vid_fmt_timings() 224 video_fmt->x_res *= 2; in hdmi_wp_init_vid_fmt_timings()
|
D | hdmi.h | 299 struct hdmi_video_format *video_fmt); 304 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | hdmi_wp.c | 133 struct hdmi_video_format *video_fmt) in hdmi_wp_video_config_format() argument 137 REG_FLD_MOD(wp->base, HDMI_WP_VIDEO_CFG, video_fmt->packing_mode, in hdmi_wp_video_config_format() 140 l |= FLD_VAL(video_fmt->y_res, 31, 16); in hdmi_wp_video_config_format() 141 l |= FLD_VAL(video_fmt->x_res, 15, 0); in hdmi_wp_video_config_format() 182 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt, in hdmi_wp_init_vid_fmt_timings() argument 187 video_fmt->packing_mode = HDMI_PACK_10b_RGB_YUV444; in hdmi_wp_init_vid_fmt_timings() 188 video_fmt->y_res = param->timings.y_res; in hdmi_wp_init_vid_fmt_timings() 189 video_fmt->x_res = param->timings.x_res; in hdmi_wp_init_vid_fmt_timings() 191 video_fmt->y_res /= 2; in hdmi_wp_init_vid_fmt_timings()
|
D | hdmi.h | 298 struct hdmi_video_format *video_fmt); 303 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
|
/drivers/media/common/saa7146/ |
D | saa7146_video.c | 357 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() 608 f->fmt.pix = vv->video_fmt; in vidioc_g_fmt_vid_cap() 770 vv->video_fmt = f->fmt.pix; in vidioc_s_fmt_vid_cap() 772 (char *)&vv->video_fmt.pixelformat); in vidioc_s_fmt_vid_cap() 1070 if (vv->video_fmt.width < 48 || in buffer_prepare() 1071 vv->video_fmt.height < 32 || in buffer_prepare() 1072 vv->video_fmt.width > vv->standard->h_max_out || in buffer_prepare() 1073 vv->video_fmt.height > vv->standard->v_max_out) { in buffer_prepare() 1075 vv->video_fmt.width, vv->video_fmt.height); in buffer_prepare() [all …]
|
D | saa7146_fops.c | 541 fmt = &vv->video_fmt; in saa7146_vv_init()
|
/drivers/ps3/ |
D | ps3av_cmd.c | 31 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()
|