mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +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
|
||||
|
||||
// Fill with (0,0)
|
||||
/*
|
||||
while (candidates < MRG_MAX_NUM_CANDS) {
|
||||
// Add (0,0) prediction
|
||||
if (candidates != 5) {
|
||||
mv_cand[candidates][0] = 0;
|
||||
mv_cand[candidates][1] = 0;
|
||||
candidates++;
|
||||
}
|
||||
*/
|
||||
|
||||
return candidates;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue