Skip to content
Snippets Groups Projects
Commit bbeaae96 authored by Christophe Gisquet's avatar Christophe Gisquet Committed by Michael Niedermayer
Browse files

hevc: derive partially amvp list


When the candidate has been found, no need to derive others.

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 7e7168b8
No related branches found
No related tags found
No related merge requests found
...@@ -720,6 +720,11 @@ void ff_hevc_luma_mv_mvp_mode(HEVCContext *s, int x0, int y0, int nPbW, ...@@ -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); availableFlagLXA0 = MP_MX_LT(A1, pred_flag_index_l1, mxA);
} }
if(availableFlagLXA0 && !mvp_lx_flag) {
mv->mv[LX] = mxA;
return;
}
// B candidates // B candidates
// above right spatial merge candidate // above right spatial merge candidate
xB0 = x0 + nPbW; xB0 = x0 + nPbW;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment