Searched refs:video_fmt (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | hdmi_wp.c | 131 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()
|
H A D | hdmi.h | 306 const struct hdmi_video_format *video_fmt); 311 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | hdmi_wp.c | 132 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()
|
H A D | hdmi.h | 287 struct hdmi_video_format *video_fmt); 292 void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt,
|
/openbmc/linux/drivers/ps3/ |
H A D | ps3av_cmd.c | 19 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()
|
/openbmc/linux/drivers/media/common/saa7146/ |
H A D | saa7146_video.c | 93 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 D | saa7146_fops.c | 89 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 D | saa7146_hlp.c | 410 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()
|
/openbmc/linux/include/media/drv-intf/ |
H A D | saa7146_vv.h | 91 struct v4l2_pix_format video_fmt; member
|