You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/vc1: correct ff_vc1_mbmode_intfrp
According to VC-1 spec 10.7.3.4, FIELDTX shall be set to the same type as the motion vector for zero-coded blocks. Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
This commit is contained in:
committed by
Paul B Mahol
parent
79f8074cc4
commit
dd1e717f5b
@@ -61,7 +61,7 @@ const uint8_t ff_vc1_mbmode_intfrp[2][15][4] = {
|
|||||||
{ MV_PMODE_INTFR_1MV , 1, 0, 1 },
|
{ MV_PMODE_INTFR_1MV , 1, 0, 1 },
|
||||||
{ MV_PMODE_INTFR_2MV_FIELD, 0, 0, 1 },
|
{ MV_PMODE_INTFR_2MV_FIELD, 0, 0, 1 },
|
||||||
{ MV_PMODE_INTFR_2MV_FIELD, 1, 0, 1 },
|
{ MV_PMODE_INTFR_2MV_FIELD, 1, 0, 1 },
|
||||||
{ MV_PMODE_INTFR_2MV_FIELD, 0, 0, 0 },
|
{ MV_PMODE_INTFR_2MV_FIELD, 1, 0, 0 },
|
||||||
{ MV_PMODE_INTFR_INTRA , 0, 0, 0 }
|
{ MV_PMODE_INTFR_INTRA , 0, 0, 0 }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -73,13 +73,13 @@ const uint8_t ff_vc1_mbmode_intfrp[2][15][4] = {
|
|||||||
{ MV_PMODE_INTFR_1MV , 1, 0, 1 },
|
{ MV_PMODE_INTFR_1MV , 1, 0, 1 },
|
||||||
{ MV_PMODE_INTFR_2MV_FIELD, 0, 0, 1 },
|
{ MV_PMODE_INTFR_2MV_FIELD, 0, 0, 1 },
|
||||||
{ MV_PMODE_INTFR_2MV_FIELD, 1, 0, 1 },
|
{ MV_PMODE_INTFR_2MV_FIELD, 1, 0, 1 },
|
||||||
{ MV_PMODE_INTFR_2MV_FIELD, 0, 0, 0 },
|
{ MV_PMODE_INTFR_2MV_FIELD, 1, 0, 0 },
|
||||||
{ MV_PMODE_INTFR_4MV , 0, 0, 1 },
|
{ MV_PMODE_INTFR_4MV , 0, 0, 1 },
|
||||||
{ MV_PMODE_INTFR_4MV , 1, 0, 1 },
|
{ MV_PMODE_INTFR_4MV , 1, 0, 1 },
|
||||||
{ MV_PMODE_INTFR_4MV , 0, 0, 0 },
|
{ MV_PMODE_INTFR_4MV , 0, 0, 0 },
|
||||||
{ MV_PMODE_INTFR_4MV_FIELD, 0, 0, 1 },
|
{ MV_PMODE_INTFR_4MV_FIELD, 0, 0, 1 },
|
||||||
{ MV_PMODE_INTFR_4MV_FIELD, 1, 0, 1 },
|
{ MV_PMODE_INTFR_4MV_FIELD, 1, 0, 1 },
|
||||||
{ MV_PMODE_INTFR_4MV_FIELD, 0, 0, 0 },
|
{ MV_PMODE_INTFR_4MV_FIELD, 1, 0, 0 },
|
||||||
{ MV_PMODE_INTFR_INTRA , 0, 0, 0 }
|
{ MV_PMODE_INTFR_INTRA , 0, 0, 0 }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user