comparison avcodec.h @ 1492:3518325146fc libavcodec

ac prediction cleanup rate distorted optimal ac prediction for mpeg4
author michaelni
date Wed, 01 Oct 2003 15:41:36 +0000
parents 222643544cf1
children 3ee63c12ea30
comparison
equal deleted inserted replaced
1491:222643544cf1 1492:3518325146fc
13 13
14 #include "common.h" 14 #include "common.h"
15 15
16 #define FFMPEG_VERSION_INT 0x000408 16 #define FFMPEG_VERSION_INT 0x000408
17 #define FFMPEG_VERSION "0.4.8" 17 #define FFMPEG_VERSION "0.4.8"
18 #define LIBAVCODEC_BUILD 4681 18 #define LIBAVCODEC_BUILD 4682
19 19
20 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT 20 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
21 #define LIBAVCODEC_VERSION FFMPEG_VERSION 21 #define LIBAVCODEC_VERSION FFMPEG_VERSION
22 22
23 #define AV_STRINGIFY(s) AV_TOSTRING(s) 23 #define AV_STRINGIFY(s) AV_TOSTRING(s)
197 197
198 /* only for ME compatiblity with old apps */ 198 /* only for ME compatiblity with old apps */
199 extern int motion_estimation_method; 199 extern int motion_estimation_method;
200 200
201 /* ME algos sorted by quality */ 201 /* ME algos sorted by quality */
202 //FIXME remove IMHO
202 static const int Motion_Est_QTab[] = { ME_ZERO, ME_PHODS, ME_LOG, 203 static const int Motion_Est_QTab[] = { ME_ZERO, ME_PHODS, ME_LOG,
203 ME_X1, ME_EPZS, ME_FULL }; 204 ME_X1, ME_EPZS, ME_FULL };
204 205
205 206
206 #define FF_MAX_B_FRAMES 8 207 #define FF_MAX_B_FRAMES 8
232 #define CODEC_FLAG_ALT_SCAN 0x00100000 ///< use alternate scan 233 #define CODEC_FLAG_ALT_SCAN 0x00100000 ///< use alternate scan
233 #define CODEC_FLAG_TRELLIS_QUANT 0x00200000 ///< use trellis quantization 234 #define CODEC_FLAG_TRELLIS_QUANT 0x00200000 ///< use trellis quantization
234 #define CODEC_FLAG_GLOBAL_HEADER 0x00400000 ///< place global headers in extradata instead of every keyframe 235 #define CODEC_FLAG_GLOBAL_HEADER 0x00400000 ///< place global headers in extradata instead of every keyframe
235 #define CODEC_FLAG_BITEXACT 0x00800000 ///< use only bitexact stuff (except (i)dct) 236 #define CODEC_FLAG_BITEXACT 0x00800000 ///< use only bitexact stuff (except (i)dct)
236 /* Fx : Flag for h263+ extra options */ 237 /* Fx : Flag for h263+ extra options */
237 #define CODEC_FLAG_H263P_AIC 0x01000000 ///< Advanced intra coding 238 #define CODEC_FLAG_H263P_AIC 0x01000000 ///< H263 Advanced intra coding / MPEG4 AC prediction (remove this)
239 #define CODEC_FLAG_AC_PRED 0x01000000 ///< H263 Advanced intra coding / MPEG4 AC prediction
238 #define CODEC_FLAG_H263P_UMV 0x02000000 ///< Unlimited motion vector 240 #define CODEC_FLAG_H263P_UMV 0x02000000 ///< Unlimited motion vector
239 #define CODEC_FLAG_CBP_RD 0x04000000 ///< use rate distortion optimization for cbp 241 #define CODEC_FLAG_CBP_RD 0x04000000 ///< use rate distortion optimization for cbp
240 /* For advanced prediction mode, we reuse the 4MV flag */ 242 /* For advanced prediction mode, we reuse the 4MV flag */
241 /* Unsupported options : 243 /* Unsupported options :
242 * Syntax Arithmetic coding (SAC) 244 * Syntax Arithmetic coding (SAC)