summaryrefslogtreecommitdiff
path: root/libavcodec/vc1.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-24 13:16:27 +0200
committerMartin Storsjö <martin@martin.st>2013-05-28 13:55:46 +0300
commit93b1281264b87961f53c3e9c134cc2727ecd91ed (patch)
tree166eb567b498ce5f3d59077ac5ab7bf9298e54b3 /libavcodec/vc1.h
parent851bc1d6be0c7485609e0208d188f3edbc4ade13 (diff)
downloadffmpeg-93b1281264b87961f53c3e9c134cc2727ecd91ed.tar.gz
vc1dec: Shuffle field MVs after decoding, not before
This simplifies the code since copying MVs to the reference is not needed anymore (and maybe something about fixing artifacts). Also remove the unused mv_f_last. Fixes a small number of artifacts in black_screen_VC-1.mkv and several more artifacts in other videos. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/vc1.h')
-rw-r--r--libavcodec/vc1.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/vc1.h b/libavcodec/vc1.h
index 88980d49a6..9d7743a9fd 100644
--- a/libavcodec/vc1.h
+++ b/libavcodec/vc1.h
@@ -354,7 +354,6 @@ typedef struct VC1Context{
int8_t zzi_8x8[64];
uint8_t *blk_mv_type_base, *blk_mv_type; ///< 0: frame MV, 1: field MV (interlaced frame)
uint8_t *mv_f_base, *mv_f[2]; ///< 0: MV obtained from same field, 1: opposite field
- uint8_t *mv_f_last_base, *mv_f_last[2];
uint8_t *mv_f_next_base, *mv_f_next[2];
int field_mode; ///< 1 for interlaced field pictures
int fptype;