Mercurial > libavcodec.hg
comparison avcodec.h @ 4743:6797f7088d00 libavcodec
codec id addition guidlines
author | michael |
---|---|
date | Tue, 27 Mar 2007 11:18:24 +0000 |
parents | 7bec6dd03317 |
children | 4effe3bde31b |
comparison
equal
deleted
inserted
replaced
4742:184d33cce3b6 | 4743:6797f7088d00 |
---|---|
45 | 45 |
46 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000) | 46 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000) |
47 #define AV_TIME_BASE 1000000 | 47 #define AV_TIME_BASE 1000000 |
48 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE} | 48 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE} |
49 | 49 |
50 /** | |
51 * | |
52 * if you add a codec id to this list add it so that | |
53 * 1. no value of a existing codec id changes (that would break ABI) | |
54 * 2. closest to similar codecs | |
55 */ | |
50 enum CodecID { | 56 enum CodecID { |
51 CODEC_ID_NONE, | 57 CODEC_ID_NONE, |
52 CODEC_ID_MPEG1VIDEO, | 58 CODEC_ID_MPEG1VIDEO, |
53 CODEC_ID_MPEG2VIDEO, /* prefered ID for MPEG Video 1 or 2 decoding */ | 59 CODEC_ID_MPEG2VIDEO, /* prefered ID for MPEG Video 1 or 2 decoding */ |
54 CODEC_ID_MPEG2VIDEO_XVMC, | 60 CODEC_ID_MPEG2VIDEO_XVMC, |