Mercurial > libavcodec.hg
comparison avcodec.h @ 6628:2bcbd8ff242c libavcodec
Add descriptive long_name to AVCodec
Patch by: stefano sabatini-lala poste it
| author | andoma |
|---|---|
| date | Thu, 17 Apr 2008 06:07:27 +0000 |
| parents | 372ad1fe174d |
| children | 74bbf65fd0cd |
comparison
equal
deleted
inserted
replaced
| 6627:33a41b13fbfe | 6628:2bcbd8ff242c |
|---|---|
| 28 | 28 |
| 29 | 29 |
| 30 #include "libavutil/avutil.h" | 30 #include "libavutil/avutil.h" |
| 31 | 31 |
| 32 #define LIBAVCODEC_VERSION_MAJOR 51 | 32 #define LIBAVCODEC_VERSION_MAJOR 51 |
| 33 #define LIBAVCODEC_VERSION_MINOR 54 | 33 #define LIBAVCODEC_VERSION_MINOR 55 |
| 34 #define LIBAVCODEC_VERSION_MICRO 0 | 34 #define LIBAVCODEC_VERSION_MICRO 0 |
| 35 | 35 |
| 36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ | 36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ |
| 37 LIBAVCODEC_VERSION_MINOR, \ | 37 LIBAVCODEC_VERSION_MINOR, \ |
| 38 LIBAVCODEC_VERSION_MICRO) | 38 LIBAVCODEC_VERSION_MICRO) |
| 2238 * Will be called when seeking | 2238 * Will be called when seeking |
| 2239 */ | 2239 */ |
| 2240 void (*flush)(AVCodecContext *); | 2240 void (*flush)(AVCodecContext *); |
| 2241 const AVRational *supported_framerates; ///array of supported framerates, or NULL if any, array is terminated by {0,0} | 2241 const AVRational *supported_framerates; ///array of supported framerates, or NULL if any, array is terminated by {0,0} |
| 2242 const enum PixelFormat *pix_fmts; ///array of supported pixel formats, or NULL if unknown, array is terminanted by -1 | 2242 const enum PixelFormat *pix_fmts; ///array of supported pixel formats, or NULL if unknown, array is terminanted by -1 |
| 2243 const char *long_name; ///< descriptive name for the codec, meant to be more human readable than \p name | |
| 2243 } AVCodec; | 2244 } AVCodec; |
| 2244 | 2245 |
| 2245 /** | 2246 /** |
| 2246 * four components are given, that's all. | 2247 * four components are given, that's all. |
| 2247 * the last component is alpha | 2248 * the last component is alpha |
