Merge commit '09182b3224'
* commit '09182b3224': hevc: simplify rounding Conflicts: libavcodec/hevc_mvs.c See:2e471e4703Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
e6ffe7bcfc
1 changed files with 4 additions and 4 deletions
|
|
@ -241,8 +241,8 @@ static int temporal_luma_motion_vector(HEVCContext *s, int x0, int y0,
|
|||
(y0 >> s->sps->log2_ctb_size) == (y >> s->sps->log2_ctb_size) &&
|
||||
y < s->sps->height &&
|
||||
x < s->sps->width) {
|
||||
x &= -16;
|
||||
y &= -16;
|
||||
x &= ~15;
|
||||
y &= ~15;
|
||||
if (s->threads_type == FF_THREAD_FRAME)
|
||||
ff_thread_await_progress(&ref->tf, y, 0);
|
||||
x_pu = x >> s->sps->log2_min_pu_size;
|
||||
|
|
@ -255,8 +255,8 @@ static int temporal_luma_motion_vector(HEVCContext *s, int x0, int y0,
|
|||
if (tab_mvf && !availableFlagLXCol) {
|
||||
x = x0 + (nPbW >> 1);
|
||||
y = y0 + (nPbH >> 1);
|
||||
x &= -16;
|
||||
y &= -16;
|
||||
x &= ~15;
|
||||
y &= ~15;
|
||||
if (s->threads_type == FF_THREAD_FRAME)
|
||||
ff_thread_await_progress(&ref->tf, y, 0);
|
||||
x_pu = x >> s->sps->log2_min_pu_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue