Browse Source

avfilter/vf_atadenoise: compensate for small overall brightness loss

This is very hard to spot.
tags/n4.3
Paul B Mahol 5 years ago
parent
commit
c3985c0ea8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_atadenoise.c

+ 1
- 1
libavfilter/vf_atadenoise.c View File

@@ -169,7 +169,7 @@ static void filter_row##name(const uint8_t *ssrc, uint8_t *ddst, \
sum += srcix; \
} \
\
dst[x] = sum / (r + l + 1); \
dst[x] = (sum + ((r + l + 1) >> 1)) / (r + l + 1); \
} \
}



Loading…
Cancel
Save