Lines Matching defs:formats
71 * @swap: Flag to swap R & B for RGB formats, and U & V for YUV formats
95 * @formats: Array of supported formats
96 * @num_formats: Number of formats in @formats array
100 const struct zynqmp_disp_format *formats;
187 /* List of video layer formats */
292 /* List of graphics layer formats */
868 if (layer->info->formats[i].drm_fmt == drm_fmt)
869 return &layer->info->formats[i];
876 * zynqmp_disp_layer_drm_formats - Return the DRM formats supported by the layer
878 * @num_formats: Pointer to the returned number of formats
880 * Return: A newly allocated u32 array that stores all the DRM formats
881 * supported by the layer. The number of formats in the array is returned
888 u32 *formats;
890 formats = kcalloc(layer->info->num_formats, sizeof(*formats),
892 if (!formats)
896 formats[i] = layer->info->formats[i].drm_fmt;
899 return formats;
1117 .formats = avbuf_vid_fmts,
1122 .formats = avbuf_gfx_fmts,