[FFmpeg-devel] [PATCH 1/2] libavcodec/zmbvenc: block scoring improvements/bug fixes

Tomas Härdin tjoppen at acc.umu.se
Sun Feb 10 17:42:08 EET 2019


lör 2019-02-09 klockan 13:10 +0000 skrev Matthew Fearnley:
> - Improve block choices by counting 0-bytes in the entropy score
> - Make histogram use uint16_t type, to allow byte counts from 16*16
> (current block size) up to 255*255 (maximum allowed 8bpp block size)
> - Make sure score table is big enough for a full block's worth of bytes
> - Calculate *xored without using code in inner loop
> ---
>  libavcodec/zmbvenc.c | 22 ++++++++++++++++------
>  1 file changed, 16 insertions(+), 6 deletions(-)

Passes FATE, looks good to me

/Tomas


More information about the ffmpeg-devel mailing list