You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
avfilter/vf_atadenoise: compensate for small overall brightness loss
This is very hard to spot.
This commit is contained in:
@@ -169,7 +169,7 @@ static void filter_row##name(const uint8_t *ssrc, uint8_t *ddst, \
|
|||||||
sum += srcix; \
|
sum += srcix; \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
dst[x] = sum / (r + l + 1); \
|
dst[x] = (sum + ((r + l + 1) >> 1)) / (r + l + 1); \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user