29#define IMG_TAGS(TAG) \
42 TAG(PGMYUV, pgmyuv ) \
48 TAG(ALIAS_PIX, pix ) \
50 TAG(MPEG1VIDEO, mpg1-img ) \
51 TAG(MPEG2VIDEO, mpg2-img ) \
52 TAG(MPEG4, mpg4-img ) \
74 TAG(SUNRAST, sunras ) \
97 TAG(RADIANCE_HDR, hdr ) \
101#define LENGTH_CHECK(CODECID, STR) \
102 static_assert(sizeof(#STR) <= sizeof(ff_img_tags->str), #STR " does not fit into IdStrMap.str\n");
106#define TAG(CODECID, STR) { AV_CODEC_ID_ ## CODECID, #STR },
112 str = strrchr(str,
'.');
AVCodecID
Identify the syntax and semantics of the bitstream.
int av_strcasecmp(const char *a, const char *b)
Locale-independent case-insensitive compare.
#define LENGTH_CHECK(CODECID, STR)
enum AVCodecID ff_guess_image2_codec(const char *filename)
#define TAG(CODECID, STR)
static enum AVCodecID str2id(const IdStrMap *tags, const char *str)
const IdStrMap ff_img_tags[]