logicvc_layer_formats
static struct logicvc_layer_formats *logicvc_layer_formats_lookup(struct logicvc_layer *layer)
while (logicvc_layer_formats[i].formats) {
if (logicvc_layer_formats[i].colorspace == layer->config.colorspace &&
logicvc_layer_formats[i].depth == layer->config.depth &&
logicvc_layer_formats[i].alpha == alpha)
return &logicvc_layer_formats[i];
static unsigned int logicvc_layer_formats_count(struct logicvc_layer_formats *formats)
struct logicvc_layer_formats *formats;
static struct logicvc_layer_formats logicvc_layer_formats[] = {
struct logicvc_layer_formats *formats;