Mercurial > libavcodec.hg
diff mpegvideo.h @ 915:75ee49a4a516 libavcodec
fixing 2pass assert failure
better dynamic b frame selection, still not very good though allthough it works fine without 2pass now
author | michaelni |
---|---|
date | Fri, 06 Dec 2002 13:30:13 +0000 |
parents | 8ae1e4c24e91 |
children | 3814e9115672 |
line wrap: on
line diff
--- a/mpegvideo.h Fri Dec 06 11:56:49 2002 +0000 +++ b/mpegvideo.h Fri Dec 06 13:30:13 2002 +0000 @@ -38,7 +38,7 @@ #define MAX_FCODE 7 #define MAX_MV 2048 -#define MAX_PICTURE_COUNT 7 +#define MAX_PICTURE_COUNT 15 #define ME_MAP_SIZE 64 #define ME_MAP_SHIFT 3 @@ -117,6 +117,7 @@ uint16_t *mb_var; /* Table for MB variances */ uint16_t *mc_mb_var; /* Table for motion compensated MB variances */ uint8_t *mb_mean; /* Table for MB luminance */ + int b_frame_score; /* */ } Picture; typedef struct ParseContext{