mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
Fixed MV constraint condition in bipred
This commit is contained in:
parent
cdcbfb38aa
commit
83cf801664
|
@ -1517,8 +1517,8 @@ static void search_pu_inter(encoder_state_t * const state,
|
||||||
{
|
{
|
||||||
// Don't try merge candidates that don't satisfy mv constraints.
|
// Don't try merge candidates that don't satisfy mv constraints.
|
||||||
vector2d_t orig = { x, y };
|
vector2d_t orig = { x, y };
|
||||||
if (fracmv_within_tile(state, &orig, mv[0][0], mv[0][1], width, height, -1) ||
|
if (!fracmv_within_tile(state, &orig, mv[0][0], mv[0][1], width, height, -1) ||
|
||||||
fracmv_within_tile(state, &orig, mv[1][0], mv[1][1], width, height, -1))
|
!fracmv_within_tile(state, &orig, mv[1][0], mv[1][1], width, height, -1))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue