comparison mpegvideo.h @ 6481:493dc59d469a libavcodec

add FF_ prefix to all (frame)_TYPE usage
author aurel
date Sun, 09 Mar 2008 23:31:02 +0000
parents 208074826b34
children 167bd4bec8d1
comparison
equal deleted inserted replaced
6480:6f01a499e785 6481:493dc59d469a
58 #define MAX_PICTURE_COUNT 32 58 #define MAX_PICTURE_COUNT 32
59 59
60 #define ME_MAP_SIZE 64 60 #define ME_MAP_SIZE 64
61 #define ME_MAP_SHIFT 3 61 #define ME_MAP_SHIFT 3
62 #define ME_MAP_MV_BITS 11 62 #define ME_MAP_MV_BITS 11
63
64 #define I_TYPE FF_I_TYPE ///< Intra
65 #define P_TYPE FF_P_TYPE ///< Predicted
66 #define B_TYPE FF_B_TYPE ///< Bi-dir predicted
67 #define S_TYPE FF_S_TYPE ///< S(GMC)-VOP MPEG4
68 #define SI_TYPE FF_SI_TYPE ///< Switching Intra
69 #define SP_TYPE FF_SP_TYPE ///< Switching Predicted
70 63
71 #define MAX_MB_BYTES (30*16*16*3/8 + 120) 64 #define MAX_MB_BYTES (30*16*16*3/8 + 120)
72 65
73 #define INPLACE_OFFSET 16 66 #define INPLACE_OFFSET 16
74 67
314 unsigned int lambda; ///< lagrange multipler used in rate distortion 307 unsigned int lambda; ///< lagrange multipler used in rate distortion
315 unsigned int lambda2; ///< (lambda*lambda) >> FF_LAMBDA_SHIFT 308 unsigned int lambda2; ///< (lambda*lambda) >> FF_LAMBDA_SHIFT
316 int *lambda_table; 309 int *lambda_table;
317 int adaptive_quant; ///< use adaptive quantization 310 int adaptive_quant; ///< use adaptive quantization
318 int dquant; ///< qscale difference to prev qscale 311 int dquant; ///< qscale difference to prev qscale
319 int pict_type; ///< I_TYPE, P_TYPE, B_TYPE, ... 312 int pict_type; ///< FF_I_TYPE, FF_P_TYPE, FF_B_TYPE, ...
320 int last_pict_type; //FIXME removes 313 int last_pict_type; //FIXME removes
321 int last_non_b_pict_type; ///< used for mpeg4 gmc b-frames & ratecontrol 314 int last_non_b_pict_type; ///< used for mpeg4 gmc b-frames & ratecontrol
322 int dropable; 315 int dropable;
323 int frame_rate_index; 316 int frame_rate_index;
324 int last_lambda_for[5]; ///< last lambda for a specific pict type 317 int last_lambda_for[5]; ///< last lambda for a specific pict type