Mercurial > libavcodec.hg
diff avcodec.h @ 6346:11a44fc273a5 libavcodec
Add 'reservoir' flag to lavc's flags2 controlling whether or not codes may
utilize a bit reservoir. Also, make the lame encoder utilize this flag.
patch by Paul Kelly, paul a stjohnspoint d co d uk
author | andoma |
---|---|
date | Mon, 11 Feb 2008 08:01:07 +0000 |
parents | ac94f0de338e |
children | 0809b40d9b65 |
line wrap: on
line diff
--- a/avcodec.h Sun Feb 10 01:45:42 2008 +0000 +++ b/avcodec.h Mon Feb 11 08:01:07 2008 +0000 @@ -33,8 +33,8 @@ #define AV_STRINGIFY(s) AV_TOSTRING(s) #define AV_TOSTRING(s) #s -#define LIBAVCODEC_VERSION_INT ((51<<16)+(50<<8)+0) -#define LIBAVCODEC_VERSION 51.50.0 +#define LIBAVCODEC_VERSION_INT ((51<<16)+(50<<8)+1) +#define LIBAVCODEC_VERSION 51.50.1 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) @@ -439,6 +439,7 @@ #define CODEC_FLAG2_SKIP_RD 0x00004000 ///< RD optimal MB level residual skipping #define CODEC_FLAG2_CHUNKS 0x00008000 ///< Input bitstream might be truncated at a packet boundaries instead of only at frame boundaries. #define CODEC_FLAG2_NON_LINEAR_QUANT 0x00010000 ///< Use MPEG-2 nonlinear quantizer. +#define CODEC_FLAG2_BIT_RESERVOIR 0x00020000 ///< Use a bit reservoir when encoding if possible /* Unsupported options : * Syntax Arithmetic coding (SAC)