diff mpegvideo.h @ 3247:ac7bfc9bf1a4 libavcodec

2x faster ff_mpeg4_set_direct_mv
author lorenm
date Mon, 03 Apr 2006 07:52:24 +0000
parents 5fc631919a98
children ecc93139021c
line wrap: on
line diff
--- a/mpegvideo.h	Mon Apr 03 00:51:09 2006 +0000
+++ b/mpegvideo.h	Mon Apr 03 07:52:24 2006 +0000
@@ -430,6 +430,7 @@
     int field_select[2][2];
     int last_mv[2][2][2];             ///< last MV, used for MV prediction in MPEG1 & B-frame MPEG4
     uint8_t *fcode_tab;               ///< smallest fcode needed for each MV
+    int16_t direct_scale_mv[2][64];   ///< precomputed to avoid divisions in ff_mpeg4_set_direct_mv
 
     MotionEstContext me;