Mercurial > libavcodec.hg
diff avcodec.h @ 1389:da0b3a50d209 libavcodec
rate distortion mb decision support
fix decoding of old %16!=0 divx
fix assertion failure in motion_est.c
author | michaelni |
---|---|
date | Tue, 29 Jul 2003 02:09:12 +0000 |
parents | a16990d50fce |
children | f662e9c86cf2 |
line wrap: on
line diff
--- a/avcodec.h Tue Jul 29 01:45:19 2003 +0000 +++ b/avcodec.h Tue Jul 29 02:09:12 2003 +0000 @@ -15,8 +15,8 @@ #define LIBAVCODEC_VERSION_INT 0x000406 #define LIBAVCODEC_VERSION "0.4.6" -#define LIBAVCODEC_BUILD 4672 -#define LIBAVCODEC_BUILD_STR "4672" +#define LIBAVCODEC_BUILD 4673 +#define LIBAVCODEC_BUILD_STR "4673" #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR @@ -169,7 +169,6 @@ Note: note not everything is supported yet */ -#define CODEC_FLAG_HQ 0x0001 ///< brute force MB-type decission mode (slow) #define CODEC_FLAG_QSCALE 0x0002 ///< use fixed qscale #define CODEC_FLAG_4MV 0x0004 ///< 4 MV per MB allowed #define CODEC_FLAG_QPEL 0x0010 ///< use qpel MC @@ -1173,7 +1172,17 @@ * - decoding: set by decoder */ int xvmc_acceleration; - + + /** + * macroblock decision mode + * - encoding: set by user. + * - decoding: unused + */ + int mb_decision; +#define FF_MB_DECISION_SIMPLE 0 ///< uses mb_cmp +#define FF_MB_DECISION_BITS 1 ///< chooses the one which needs the fewest bits +#define FF_MB_DECISION_RD 2 ///< rate distoration + } AVCodecContext;