[FFmpeg-devel] [PATCH 09/15] avfilter/palettegen: average color in linear space

Paul B Mahol onemda at gmail.com
Sat Nov 5 17:39:26 EET 2022


On 11/5/22, Clément Bœsch <u at pkh.me> wrote:
> sRGB colors are gamma encoded, averaging them naively is incorrect.
> ---
>  libavfilter/vf_palettegen.c        | 18 ++++++++++--------
>  tests/ref/fate/filter-palettegen-1 |  2 +-
>  tests/ref/fate/filter-palettegen-2 |  2 +-
>  3 files changed, 12 insertions(+), 10 deletions(-)
>

Compared speed of processing of before and after?


More information about the ffmpeg-devel mailing list