Lines Matching defs:fmt
759 const struct vivid_fmt *fmt;
763 fmt = &vivid_formats[k];
764 if (fmt->fourcc == pixelformat)
765 if (fmt->buffers == 1 || dev->multiplanar)
766 return fmt;
824 struct v4l2_pix_format_mplane *mp = &mp_fmt->fmt.pix_mp;
826 const struct v4l2_pix_format *pix = &sp_fmt->fmt.pix;
851 struct v4l2_format fmt;
852 struct v4l2_pix_format_mplane *mp = &fmt.fmt.pix_mp;
854 struct v4l2_pix_format *pix = &f->fmt.pix;
858 fmt_sp2mp(f, &fmt);
860 ret = func(file, priv, &fmt);
929 const struct vivid_fmt *fmt;
935 fmt = &vivid_formats[f->index];
937 f->pixelformat = fmt->fourcc;
954 if (fmt->color_enc == TGP_COLOR_ENC_YCBCR) {
957 } else if (fmt->color_enc == TGP_COLOR_ENC_HSV) {
959 } else if (fmt->color_enc == TGP_COLOR_ENC_RGB) {