hevc: derive partially amvp list
When the candidate has been found, no need to derive others. Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
09182b3224
commit
3505b19652
@ -722,6 +722,11 @@ void ff_hevc_luma_mv_mvp_mode(HEVCContext *s, int x0, int y0, int nPbW,
|
||||
availableFlagLXA0 = MP_MX_LT(A1, pred_flag_index_l1, mxA);
|
||||
}
|
||||
|
||||
if (availableFlagLXA0 && !mvp_lx_flag) {
|
||||
mv->mv[LX] = mxA;
|
||||
return;
|
||||
}
|
||||
|
||||
// B candidates
|
||||
// above right spatial merge candidate
|
||||
xB0 = x0 + nPbW;
|
||||
|
Loading…
Reference in New Issue
Block a user