Lines Matching refs:mxc_formats
66 static const struct mxc_jpeg_fmt mxc_formats[] = {
264 #define MXC_JPEG_NUM_FORMATS ARRAY_SIZE(mxc_formats)
620 static int enum_fmt(const struct mxc_jpeg_fmt *mxc_formats, int n,
626 if (mxc_formats[i].flags == type) {
641 f->pixelformat = mxc_formats[i].fourcc;
651 const struct mxc_jpeg_fmt *fmt = &mxc_formats[k];
870 /* Should be impossible given mxc_formats. */
1304 if (mxc_formats[i].subsampling == fmt->subsampling &&
1305 mxc_formats[i].nc == fmt->nc &&
1306 mxc_formats[i].precision == fmt->precision &&
1307 mxc_formats[i].is_rgb == fmt->is_rgb &&
1308 mxc_formats[i].fourcc != fmt->fourcc)
1309 return &mxc_formats[i];
1739 if (mxc_jpeg_match_image_format(&mxc_formats[i], header)) {
1740 fourcc = mxc_formats[i].fourcc;
2163 return enum_fmt(mxc_formats, MXC_JPEG_NUM_FORMATS, f,
2166 return enum_fmt(mxc_formats, MXC_JPEG_NUM_FORMATS, f,
2204 ret = enum_fmt(mxc_formats, MXC_JPEG_NUM_FORMATS, f, type);