1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avcodec/vvcdec: misc, reindent inter.c

This commit is contained in:
Nuo Mi 2024-06-04 20:04:10 +08:00
parent a4013e748a
commit 685174069f

View File

@ -574,6 +574,7 @@ static void pred_gpm_blk(VVCLocalContext *lc)
const MvField *mv = pu->gpm_mv + i;
const int lx = mv->pred_flag - PF_L0;
VVCRefPic *refp = lc->sc->rpl[lx].refs + mv->ref_idx[lx];
if (!refp->ref)
return;
if (refp->is_scaled)
@ -596,7 +597,6 @@ static int ciip_derive_intra_weight(const VVCLocalContext *lc, const int x0, con
const int available_l = lc->ctb_left_flag || x0b;
const int available_u = lc->ctb_up_flag || y0b;
const int min_pu_width = fc->ps.pps->min_pu_width;
int w = 1;
if (available_u &&fc->tab.mvf[((y0 - 1) >> MIN_PU_LOG2) * min_pu_width + ((x0 - 1 + width)>> MIN_PU_LOG2)].pred_flag == PF_INTRA)