Mercurial > libavcodec.hg
comparison mpegvideo.h @ 909:8ae1e4c24e91 libavcodec
new PSNR code (now works with chroma, b frames, ...)
rename *_TYPE to FF_*_TYPE for the external API
allow user specified pict_type
author | michaelni |
---|---|
date | Wed, 04 Dec 2002 21:13:02 +0000 |
parents | 22ee74da2cd3 |
children | 75ee49a4a516 |
comparison
equal
deleted
inserted
replaced
908:2ac4caad5ca6 | 909:8ae1e4c24e91 |
---|---|
45 #define ME_MAP_MV_BITS 11 | 45 #define ME_MAP_MV_BITS 11 |
46 | 46 |
47 /* run length table */ | 47 /* run length table */ |
48 #define MAX_RUN 64 | 48 #define MAX_RUN 64 |
49 #define MAX_LEVEL 64 | 49 #define MAX_LEVEL 64 |
50 | |
51 #define I_TYPE FF_I_TYPE // Intra | |
52 #define P_TYPE FF_P_TYPE // Predicted | |
53 #define B_TYPE FF_B_TYPE // Bi-dir predicted | |
54 #define S_TYPE FF_S_TYPE // S(GMC)-VOP MPEG4 | |
50 | 55 |
51 typedef struct Predictor{ | 56 typedef struct Predictor{ |
52 double coeff; | 57 double coeff; |
53 double count; | 58 double count; |
54 double decay; | 59 double decay; |