mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-28 03:34:06 +00:00
Added missing (0,0) merge/skip candidate to search
This commit is contained in:
parent
93f2b75df7
commit
2c61286326
|
@ -417,14 +417,13 @@ uint8_t inter_get_merge_cand(encoder_control *encoder, int32_t x_cu, int32_t y_c
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Fill with (0,0)
|
// Add (0,0) prediction
|
||||||
/*
|
if (candidates != 5) {
|
||||||
while (candidates < MRG_MAX_NUM_CANDS) {
|
|
||||||
mv_cand[candidates][0] = 0;
|
mv_cand[candidates][0] = 0;
|
||||||
mv_cand[candidates][1] = 0;
|
mv_cand[candidates][1] = 0;
|
||||||
candidates++;
|
candidates++;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
return candidates;
|
return candidates;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue