Lines Matching refs:formats
37 * corresponding in-memory formats to the table below!!!
39 static struct isp_format_info formats[] = {
119 for (i = 0; i < ARRAY_SIZE(formats); ++i) {
120 if (formats[i].code == code)
121 return &formats[i];
151 for (i = 0; i < ARRAY_SIZE(formats); ++i) {
152 if (formats[i].code == mbus->code)
156 if (WARN_ON(i == ARRAY_SIZE(formats)))
159 min_bpl = pix->width * formats[i].bpp;
173 pix->pixelformat = formats[i].pixelformat;
194 for (i = 0; i < ARRAY_SIZE(formats) - 1; ++i) {
195 if (formats[i].pixelformat == pix->pixelformat)
199 mbus->code = formats[i].code;