Commit bbeaae96 authored by Christophe Gisquet's avatar Christophe Gisquet Committed by Michael Niedermayer

hevc: derive partially amvp list

When the candidate has been found, no need to derive others.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7e7168b8
......@@ -720,6 +720,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment