32 #define MT(...) (const char *const[]){ __VA_ARGS__, NULL } 85 .mime_types=
MT(
"image/jpeg"),
311 .name =
"interplayvideo",
395 .name =
"truemotion1",
468 .mime_types=
MT(
"image/png"),
504 .mime_types=
MT(
"image/x-portable-pixmap"),
581 .name =
"truemotion2",
591 .mime_types=
MT(
"image/x-ms-bmp"),
624 .name =
"smackvideo",
653 .long_name =
NULL_IF_CONFIG_SMALL(
"Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)"),
663 .mime_types=
MT(
"image/jp2"),
700 .mime_types=
MT(
"image/x-targa",
"image/x-tga"),
705 .name =
"dsicinvideo",
712 .name =
"tiertexseqvideo",
722 .mime_types=
MT(
"image/tiff"),
730 .mime_types=
MT(
"image/gif"),
771 .name =
"bethsoftvid",
816 .mime_types=
MT(
"image/x-pcx"),
884 .name =
"motionpixels",
975 .name =
"cdgraphics",
1045 .name =
"a64_multi",
1052 .name =
"a64_multi5",
1053 .long_name =
NULL_IF_CONFIG_SMALL(
"Multicolor charset for Commodore 64, extended with 5th color (colram)"),
1102 .name =
"wmv3image",
1123 .name =
"bmv_video",
1154 .mime_types=
MT(
"image/x-xwindowdump"),
1169 .mime_types=
MT(
"image/x-xbitmap"),
1174 .name =
"zerocodec",
1238 .name =
"escape130",
1256 .mime_types=
MT(
"image/webp"),
1261 .name =
"hnm4video",
1283 .name =
"alias_pix",
1290 .name =
"brender_pix",
1297 .name =
"paf_video",
1390 .name =
"screenpresso",
1446 .name =
"targa_y216",
1509 .mime_types=
MT(
"image/png"),
1528 .name =
"truemotion2rt",
1549 .name =
"sheervideo",
1598 .name =
"clearvideo",
1608 .mime_types=
MT(
"image/x-xpixmap"),
1621 .name =
"bitpacked",
1645 .mime_types=
MT(
"image/svg+xml"),
1785 .name =
"pcm_s16le",
1792 .name =
"pcm_s16be",
1799 .name =
"pcm_u16le",
1806 .name =
"pcm_u16be",
1827 .name =
"pcm_mulaw",
1841 .name =
"pcm_s32le",
1848 .name =
"pcm_s32be",
1855 .name =
"pcm_u32le",
1862 .name =
"pcm_u32be",
1869 .name =
"pcm_s24le",
1876 .name =
"pcm_s24be",
1883 .name =
"pcm_u24le",
1890 .name =
"pcm_u24be",
1897 .name =
"pcm_s24daud",
1904 .name =
"pcm_s16le_planar",
1918 .name =
"pcm_f32be",
1925 .name =
"pcm_f32le",
1932 .name =
"pcm_f64be",
1939 .name =
"pcm_f64le",
1946 .name =
"pcm_bluray",
1967 .name =
"pcm_s8_planar",
1974 .name =
"pcm_s24le_planar",
1981 .name =
"pcm_s32le_planar",
1988 .name =
"pcm_s16be_planar",
1995 .name =
"pcm_s64le",
2002 .name =
"pcm_s64be",
2009 .name =
"pcm_f16le",
2016 .name =
"pcm_f24le",
2032 .name =
"adpcm_ima_qt",
2039 .name =
"adpcm_ima_wav",
2046 .name =
"adpcm_ima_dk3",
2053 .name =
"adpcm_ima_dk4",
2060 .name =
"adpcm_ima_ws",
2067 .name =
"adpcm_ima_smjpeg",
2081 .name =
"adpcm_4xm",
2095 .name =
"adpcm_adx",
2109 .name =
"adpcm_g726",
2123 .name =
"adpcm_swf",
2130 .name =
"adpcm_yamaha",
2137 .name =
"adpcm_sbpro_4",
2144 .name =
"adpcm_sbpro_3",
2151 .name =
"adpcm_sbpro_2",
2158 .name =
"adpcm_thp",
2165 .name =
"adpcm_ima_amv",
2172 .name =
"adpcm_ea_r1",
2179 .name =
"adpcm_ea_r3",
2186 .name =
"adpcm_ea_r2",
2193 .name =
"adpcm_ima_ea_sead",
2200 .name =
"adpcm_ima_ea_eacs",
2207 .name =
"adpcm_ea_xas",
2214 .name =
"adpcm_ea_maxis_xa",
2221 .name =
"adpcm_ima_iss",
2228 .name =
"adpcm_g722",
2235 .name =
"adpcm_ima_apc",
2242 .name =
"adpcm_vima",
2249 .name =
"adpcm_afc",
2256 .name =
"adpcm_ima_oki",
2263 .name =
"adpcm_dtk",
2270 .name =
"adpcm_ima_rad",
2277 .name =
"adpcm_g726le",
2284 .name =
"adpcm_thp_le",
2291 .name =
"adpcm_psx",
2298 .name =
"adpcm_aica",
2305 .name =
"adpcm_ima_dat4",
2312 .name =
"adpcm_mtaf",
2319 .name =
"adpcm_agm",
2326 .name =
"adpcm_argo",
2333 .name =
"adpcm_ima_ssi",
2340 .name =
"adpcm_zork",
2347 .name =
"adpcm_ima_apm",
2354 .name =
"adpcm_ima_alp",
2361 .name =
"adpcm_ima_mtf",
2368 .name =
"adpcm_ima_cunning",
2416 .name =
"interplay_dpcm",
2437 .name =
"sdx2_dpcm",
2444 .name =
"gremlin_dpcm",
2451 .name =
"derf_dpcm",
2581 .name =
"westwood_snd1",
2609 .name =
"truespeech",
2623 .name =
"smackaudio",
2645 .name =
"dsicinaudio",
2659 .name =
"musepack7",
2694 .name =
"nellymoser",
2701 .name =
"musepack8",
2729 .name =
"wmalossless",
2792 .name =
"binkaudio_rdft",
2799 .name =
"binkaudio_dct",
2856 .name =
"bmv_audio",
2891 .name =
"comfortnoise",
2905 .name =
"metasound",
2912 .name =
"paf_audio",
2940 .name =
"wavesynth",
2989 .name =
"dsd_lsbf_planar",
2990 .long_name =
NULL_IF_CONFIG_SMALL(
"DSD (Direct Stream Digital), least significant bit first, planar"),
2996 .name =
"dsd_msbf_planar",
2997 .long_name =
NULL_IF_CONFIG_SMALL(
"DSD (Direct Stream Digital), most significant bit first, planar"),
3010 .name =
"interplayacm",
3039 .long_name =
NULL_IF_CONFIG_SMALL(
"ATRAC3 AL (Adaptive TRansform Acoustic Coding 3 Advanced Lossless)"),
3045 .name =
"atrac3pal",
3046 .long_name =
NULL_IF_CONFIG_SMALL(
"ATRAC3+ AL (Adaptive TRansform Acoustic Coding 3+ Advanced Lossless)"),
3094 .name =
"acelp.kelvin",
3101 .name =
"mpegh_3d_audio",
3124 .name =
"dvd_subtitle",
3131 .name =
"dvb_subtitle",
3166 .name =
"hdmv_pgs_subtitle",
3173 .name =
"dvb_teletext",
3228 .name =
"subviewer1",
3235 .name =
"subviewer",
3284 .name =
"hdmv_text_subtitle",
3298 .name =
"arib_caption",
3310 .mime_types=
MT(
"application/x-truetype-font",
"application/x-font"),
3350 .mime_types=
MT(
"application/vnd.ms-opentype"),
3361 .name =
"dvd_nav_packet",
3367 .name =
"timed_id3",
3375 .mime_types=
MT(
"application/octet-stream"),
3380 .name =
"wrapped_avframe",
3391 return id - desc->
id;
3396 return bsearch(&
id, codec_descriptors,
FF_ARRAY_ELEMS(codec_descriptors),
3403 return &codec_descriptors[0];
3404 if (prev - codec_descriptors <
FF_ARRAY_ELEMS(codec_descriptors) - 1)
3414 if (!strcmp(desc->
name, name))
#define AV_CODEC_PROP_REORDER
Codec supports frame reordering.
#define AV_CODEC_PROP_INTRA_ONLY
Codec uses only intra compression.
#define AV_CODEC_PROP_LOSSY
Codec supports lossy compression.
const AVProfile ff_aac_profiles[]
#define AV_CODEC_PROP_TEXT_SUB
Subtitle codec is text based.
Contain timestamp estimated through PCR of program stream.
const AVProfile ff_mpeg4_video_profiles[]
const AVProfile ff_arib_caption_profiles[]
Opaque data information usually continuous.
const AVProfile ff_dnxhd_profiles[]
#define AV_CODEC_PROP_LOSSLESS
Codec supports lossless compression.
const AVProfile ff_prores_profiles[]
const AVProfile ff_hevc_profiles[]
Libavcodec version macros.
AVCodecID
Identify the syntax and semantics of the bitstream.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
preferred ID for decoding MPEG audio layer 1, 2 or 3
common internal API header
const AVProfile ff_mpeg2_video_profiles[]
Usually treated as AVMEDIA_TYPE_DATA.
Passthrough codec, AVFrames wrapped in AVPacket.
preferred ID for MPEG-1/2 video decoding
#define FF_ARRAY_ELEMS(a)
const AVCodecDescriptor * avcodec_descriptor_next(const AVCodecDescriptor *prev)
Iterate over all codec descriptors known to libavcodec.
const AVProfile ff_av1_profiles[]
#define AV_CODEC_PROP_BITMAP_SUB
Subtitle codec is bitmap based Decoded AVSubtitle data can be read from the AVSubtitleRect->pict fiel...
const char * name
Name of the codec described by this descriptor.
This struct describes the properties of a single codec described by an AVCodecID. ...
static const AVCodecDescriptor codec_descriptors[]
const AVProfile ff_dca_profiles[]
const AVProfile ff_mjpeg_profiles[]
const AVProfile ff_vc1_profiles[]
common internal and external API header
const AVProfile ff_h264_profiles[]
static int descriptor_compare(const void *key, const void *member)
as in Berlin toast format
const AVCodecDescriptor * avcodec_descriptor_get(enum AVCodecID id)
enum AVMediaType avcodec_get_type(enum AVCodecID codec_id)
Get the type of the given codec.
const AVProfile ff_vp9_profiles[]
const AVCodecDescriptor * avcodec_descriptor_get_by_name(const char *name)
const AVProfile ff_jpeg2000_profiles[]