Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
3246:219afc0c4a80 | 3247:ac7bfc9bf1a4 |
---|---|
428 */ | 428 */ |
429 int mv[2][4][2]; | 429 int mv[2][4][2]; |
430 int field_select[2][2]; | 430 int field_select[2][2]; |
431 int last_mv[2][2][2]; ///< last MV, used for MV prediction in MPEG1 & B-frame MPEG4 | 431 int last_mv[2][2][2]; ///< last MV, used for MV prediction in MPEG1 & B-frame MPEG4 |
432 uint8_t *fcode_tab; ///< smallest fcode needed for each MV | 432 uint8_t *fcode_tab; ///< smallest fcode needed for each MV |
433 int16_t direct_scale_mv[2][64]; ///< precomputed to avoid divisions in ff_mpeg4_set_direct_mv | |
433 | 434 |
434 MotionEstContext me; | 435 MotionEstContext me; |
435 | 436 |
436 int no_rounding; /**< apply no rounding to motion compensation (MPEG4, msmpeg4, ...) | 437 int no_rounding; /**< apply no rounding to motion compensation (MPEG4, msmpeg4, ...) |
437 for b-frames rounding mode is allways 0 */ | 438 for b-frames rounding mode is allways 0 */ |