summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2006-04-03 07:52:24 +0000
committerLoren Merritt <lorenm@u.washington.edu>2006-04-03 07:52:24 +0000
commit841f65f25a14cfd7020567ae106e9c7ee60de785 (patch)
tree1091111f6276b760d808fcf8027ecada852af67c /libavcodec/mpegvideo.h
parentf760b70fbee4ddcb7a177ebe0beb423700e6c817 (diff)
2x faster ff_mpeg4_set_direct_mv
Originally committed as revision 5264 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index c5b1fc0c6b..c08ccec668 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -430,6 +430,7 @@ typedef struct MpegEncContext {
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;