diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-09-22 02:32:22 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-09-22 02:32:22 +0000 |
commit | 48e025e5b6abf462d62a3d7cd8ce84d0ceeb4e46 (patch) | |
tree | 83eb81284f0ea750a5cf9ab4ed1ad0df3a27fada /libavcodec/mpegvideo.h | |
parent | 471341a7f3ba48ed62897d9b935342ec3f4761cb (diff) | |
download | ffmpeg-48e025e5b6abf462d62a3d7cd8ce84d0ceeb4e46.tar.gz |
Fix ref_shift so that it is correct for more/all? MBAFF/PAFF mixes.
Fixes at least MR9_BT_B.
Originally committed as revision 15380 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 86247c2ce1..0477d443d2 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -120,6 +120,7 @@ typedef struct Picture{ int long_ref; ///< 1->long term reference 0->short term reference int ref_poc[2][2][16]; ///< h264 POCs of the frames used as reference (FIXME need per slice) int ref_count[2][2]; ///< number of entries in ref_poc (FIXME need per slice) + int mbaff; ///< h264 1 -> MBAFF frame 0-> not MBAFF int mb_var_sum; ///< sum of MB variance for current frame int mc_mb_var_sum; ///< motion compensated MB variance for current frame |