Lines Matching refs:fmt
1 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
470 struct v4l2_pix_format *fmt; in saa7146_vv_init() local
534 vv->ov_fb.fmt.width = vv->standard->h_max_out; in saa7146_vv_init()
535 vv->ov_fb.fmt.height = vv->standard->v_max_out; in saa7146_vv_init()
536 vv->ov_fb.fmt.pixelformat = V4L2_PIX_FMT_RGB565; in saa7146_vv_init()
537 vv->ov_fb.fmt.bytesperline = 2 * vv->ov_fb.fmt.width; in saa7146_vv_init()
538 vv->ov_fb.fmt.sizeimage = vv->ov_fb.fmt.bytesperline * vv->ov_fb.fmt.height; in saa7146_vv_init()
539 vv->ov_fb.fmt.colorspace = V4L2_COLORSPACE_SRGB; in saa7146_vv_init()
541 fmt = &vv->video_fmt; in saa7146_vv_init()
542 fmt->width = 384; in saa7146_vv_init()
543 fmt->height = 288; in saa7146_vv_init()
544 fmt->pixelformat = V4L2_PIX_FMT_BGR24; in saa7146_vv_init()
545 fmt->field = V4L2_FIELD_ANY; in saa7146_vv_init()
546 fmt->colorspace = V4L2_COLORSPACE_SMPTE170M; in saa7146_vv_init()
547 fmt->bytesperline = 3 * fmt->width; in saa7146_vv_init()
548 fmt->sizeimage = fmt->bytesperline * fmt->height; in saa7146_vv_init()