Mercurial > libavcodec.hg
comparison avcodec.h @ 5576:1a92e129a679 libavcodec
Add request_channels member to AVCodecContext so we now have a proper
way to tell the decoder how many output channels we would like.
| author | reimar |
|---|---|
| date | Thu, 23 Aug 2007 20:28:28 +0000 |
| parents | bee74f94dafe |
| children | 027c48595fa1 |
comparison
equal
deleted
inserted
replaced
| 5575:a6f5ed050335 | 5576:1a92e129a679 |
|---|---|
| 31 #include <sys/types.h> /* size_t */ | 31 #include <sys/types.h> /* size_t */ |
| 32 | 32 |
| 33 #define AV_STRINGIFY(s) AV_TOSTRING(s) | 33 #define AV_STRINGIFY(s) AV_TOSTRING(s) |
| 34 #define AV_TOSTRING(s) #s | 34 #define AV_TOSTRING(s) #s |
| 35 | 35 |
| 36 #define LIBAVCODEC_VERSION_INT ((51<<16)+(41<<8)+0) | 36 #define LIBAVCODEC_VERSION_INT ((51<<16)+(42<<8)+0) |
| 37 #define LIBAVCODEC_VERSION 51.41.0 | 37 #define LIBAVCODEC_VERSION 51.42.0 |
| 38 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT | 38 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT |
| 39 | 39 |
| 40 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) | 40 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) |
| 41 | 41 |
| 42 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000) | 42 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000) |
| 2121 * GOP timecode frame start number, in non drop frame format | 2121 * GOP timecode frame start number, in non drop frame format |
| 2122 * - encoding: Set by user. | 2122 * - encoding: Set by user. |
| 2123 * - decoding: unused | 2123 * - decoding: unused |
| 2124 */ | 2124 */ |
| 2125 int64_t timecode_frame_start; | 2125 int64_t timecode_frame_start; |
| 2126 | |
| 2127 /** | |
| 2128 * Decoder should decode to this many channels if it can (0 for default) | |
| 2129 * - encoding: unused | |
| 2130 * - decoding: Set by user. | |
| 2131 */ | |
| 2132 int request_channels; | |
| 2126 } AVCodecContext; | 2133 } AVCodecContext; |
| 2127 | 2134 |
| 2128 /** | 2135 /** |
| 2129 * AVCodec. | 2136 * AVCodec. |
| 2130 */ | 2137 */ |
