Go to the documentation of this file.
37 (
int)(16 - strlen(
desc->name)),
"");
47 if (((uint8_t *)&
color)[
i] != 128)
50 printf(
"fallback color\n");
AVPixelFormat
Pixel format.
const AVPixFmtDescriptor * av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
Put a description of the AVERROR code errnum in errbuf.
int ff_draw_init(FFDrawContext *draw, enum AVPixelFormat format, unsigned flags)
static const uint32_t color[16+AV_CLASS_CATEGORY_NB]
printf("static const uint8_t my_array[100] = {\n")
#define i(width, name, range_min, range_max)
void ff_draw_color(FFDrawContext *draw, FFDrawColor *color, const uint8_t rgba[4])
Prepare a color.
Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes...