vp9: extend loopfilter workaround for vp9 h/v mix-up to work for 422.
This commit is contained in:
parent
29045fbfd4
commit
3e634e3e98
@ -3108,9 +3108,13 @@ static av_always_inline void mask_edges(uint8_t (*mask)[8][4], int ss_h, int ss_
|
|||||||
}
|
}
|
||||||
if (!ss_h)
|
if (!ss_h)
|
||||||
mask[0][y][3] |= m_col;
|
mask[0][y][3] |= m_col;
|
||||||
if (!ss_v)
|
if (!ss_v) {
|
||||||
|
if (ss_h && (col_end & 1))
|
||||||
|
mask[1][y][3] |= (t << (w - 1)) - t;
|
||||||
|
else
|
||||||
mask[1][y][3] |= m_col;
|
mask[1][y][3] |= m_col;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
int y, t = 1 << col_and_7, m_col = (t << w) - t;
|
int y, t = 1 << col_and_7, m_col = (t << w) - t;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user