37 (
int)(16 - strlen(desc->
name)),
"");
46 for (i = 0; i <
sizeof(
color); i++)
49 if (i ==
sizeof(color)) {
50 printf(
"fallback color\n");
const AVPixFmtDescriptor * av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
static const uint32_t color[16+AV_CLASS_CATEGORY_NB]
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...
int ff_draw_init(FFDrawContext *draw, enum AVPixelFormat format, unsigned flags)
Init a draw context.
int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
Put a description of the AVERROR code errnum in errbuf.
printf("static const uint8_t my_array[100] = {\n")
AVPixelFormat
Pixel format.