/** * dpu_find_format - validate if the pixel format is supported * @format: dpu format * @supported_formats: supported formats by dpu HW * @num_formatss: total number of formats * * Return: false if not valid format, true on success
*/ staticinlinebool dpu_find_format(u32 format, const u32 *supported_formats,
size_t num_formats)
{ int i;
for (i = 0; i < num_formats; i++) { /* check for valid formats supported */ if (format == supported_formats[i]) returntrue;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.