[FFmpeg-devel] [PATCH 4/4] zmbvenc: use unsigned values for score calculations
tjoppen at acc.umu.se
Thu Dec 20 18:30:24 EET 2018
ons 2018-12-19 klockan 22:00 +0000 skrev matthew.w.fearnley at gmail.com:
> > From: Matthew Fearnley <matthew.w.fearnley at gmail.com>
> All the values in score_tab are positive or 0, and so should be the sum
> returned by block_cmp().
> The logic in zmbv_me() assumes that all 'bv' values will be non-negative,
> in order to guarantee an early return if ever bv==0.
> libavcodec/zmbvenc.c | 7 ++++---
Trivial enough. You could probably roll many or even all of these
More information about the ffmpeg-devel