36 printf(
"Testing %s...%*s",
desc->name,
37 (
int)(16 - strlen(
desc->name)),
"");
42 printf(
"no: %s\n", buf);
50 printf(
"fallback color\n");
int ff_draw_init(FFDrawContext *draw, enum AVPixelFormat format, unsigned flags)
Init a draw context.
void ff_draw_color(FFDrawContext *draw, FFDrawColor *color, const uint8_t rgba[4])
Prepare a color.
int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
Put a description of the AVERROR code errnum in errbuf.
static const uint32_t color[16+AV_CLASS_CATEGORY_NB]
const AVPixFmtDescriptor * av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
AVPixelFormat
Pixel format.
Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes...