Lines Matching defs:fmt
61 #define dprintk(level, fmt, arg...) do { \
63 printk(KERN_DEBUG pr_fmt("%s: video:" fmt), \
359 cx_write(MO_COLOR_CTRL, dev->fmt->cxformat | ColorFormatGamma);
428 sizes[0] = (dev->fmt->depth * core->width * core->height) >> 3;
441 buf->bpl = core->width * dev->fmt->depth >> 3;
483 core->width, core->height, dev->fmt->depth, dev->fmt->fourcc,
711 f->fmt.pix.width = core->width;
712 f->fmt.pix.height = core->height;
713 f->fmt.pix.field = core->field;
714 f->fmt.pix.pixelformat = dev->fmt->fourcc;
715 f->fmt.pix.bytesperline =
716 (f->fmt.pix.width * dev->fmt->depth) >> 3;
717 f->fmt.pix.sizeimage =
718 f->fmt.pix.height * f->fmt.pix.bytesperline;
719 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M;
728 const struct cx8800_fmt *fmt;
732 fmt = format_by_fourcc(f->fmt.pix.pixelformat);
733 if (!fmt)
739 field = f->fmt.pix.field;
749 field = (f->fmt.pix.height > maxh / 2)
757 v4l_bound_align_image(&f->fmt.pix.width, 48, maxw, 2,
758 &f->fmt.pix.height, 32, maxh, 0, 0);
759 f->fmt.pix.field = field;
760 f->fmt.pix.bytesperline =
761 (f->fmt.pix.width * fmt->depth) >> 3;
762 f->fmt.pix.sizeimage =
763 f->fmt.pix.height * f->fmt.pix.bytesperline;
764 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M;
782 dev->fmt = format_by_fourcc(f->fmt.pix.pixelformat);
783 core->width = f->fmt.pix.width;
784 core->height = f->fmt.pix.height;
785 core->field = f->fmt.pix.field;
1397 dev->fmt = format_by_fourcc(V4L2_PIX_FMT_BGR24);