/* vpfe_lookup_pix_format() lookup an entry in the vpfe pix format table based on pix_format  */
static const struct vpfe_pixel_format* vpfe_lookup_pix_format(u32 pix_format)
/* vpfe_lookup_pix_format() lookup an entry in the vpfe pix format table based on pix_format  */
static const struct vpfe_pixel_format* vpfe_lookup_pix_format(u32 pix_format)
{
	int i;
	for (i = 0; i < ARRAY_SIZE(vpfe_pix_fmts); i++) {
		if (pix_format == vpfe_pix_fmts[i].fmtdesc.pixelformat)
			return &vpfe_pix_fmts[i];
	}
	return NULL;
}