Lines Matching defs:formats
270 const struct camss_format_info *formats,
276 if (formats[i].code == code &&
277 formats[i].pixelformat == pixelformat)
282 if (formats[i].code == code)
294 * @f: a pointer to formats array element to be used for the conversion
364 video->formats, video->nformats);
371 &video->formats[ret], video->bpl_alignment);
614 * Find index "i" of "k"th unique pixelformat in formats array.
618 * pixel formats that can be produced from that media bus code.
619 * This is implemented by skipping video->formats[] entries with
623 * If f->mbus_code is zero, all the pixel formats are enumerated.
627 if (mcode != 0 && video->formats[i].code != mcode)
631 if (mcode != 0 && video->formats[j].code != mcode)
633 if (video->formats[i].pixelformat ==
634 video->formats[j].pixelformat)
647 * All the unique pixel formats matching the arguments
649 * no pixel formats match the non-zero f->mbus_code (k == -1).
653 f->pixelformat = video->formats[i].pixelformat;
667 /* Only accept pixel format present in the formats[] table */
669 if (video->formats[i].pixelformat == fsize->pixel_format)
721 if (pix_mp->pixelformat == video->formats[j].pixelformat)
727 fi = &video->formats[j];
946 .pixelformat = video->formats[0].pixelformat,
1012 video->formats = formats_pix_8x16;
1015 video->formats = formats_rdi_8x16;
1022 video->formats = formats_pix_8x96;
1025 video->formats = formats_rdi_8x96;
1032 video->formats = formats_rdi_845;