avfilter: split negate filter from lut filter

Multimedia / FFmpeg - Paul B Mahol [gmail.com] - 27 October 2021 09:29 UTC

Using luts for negating is suboptimal.

FATE test changes because filter no longer clips values into limited color range.

97b5b9dbea avfilter: split negate filter from lut filter
doc/filters.texi | 13 ++
libavfilter/Makefile | 2 +-
libavfilter/vf_lut.c | 28 ----
libavfilter/vf_negate.c | 375 +++++++++++++++++++++++++++++++++++++++++++
tests/ref/fate/filter-negate | 100 ++++++------
5 files changed, 439 insertions(+), 79 deletions(-)

  • Share