Lines Matching defs:fmt
744 const struct vivid_fmt *fmt;
748 fmt = &vivid_formats[k];
749 if (fmt->fourcc == pixelformat)
750 if (fmt->buffers == 1 || dev->multiplanar)
751 return fmt;
809 struct v4l2_pix_format_mplane *mp = &mp_fmt->fmt.pix_mp;
811 const struct v4l2_pix_format *pix = &sp_fmt->fmt.pix;
836 struct v4l2_format fmt;
837 struct v4l2_pix_format_mplane *mp = &fmt.fmt.pix_mp;
839 struct v4l2_pix_format *pix = &f->fmt.pix;
843 fmt_sp2mp(f, &fmt);
845 ret = func(file, priv, &fmt);
914 const struct vivid_fmt *fmt;
920 fmt = &vivid_formats[f->index];
922 f->pixelformat = fmt->fourcc;
939 if (fmt->color_enc == TGP_COLOR_ENC_YCBCR) {
942 } else if (fmt->color_enc == TGP_COLOR_ENC_HSV) {
944 } else if (fmt->color_enc == TGP_COLOR_ENC_RGB) {