On Thu, Apr 03, 2025 at 02:36:36AM +0200, Michael Niedermayer wrote: > This also means that if a plane*slice has only 1 color nothing > is stored after the remap table > > This improves compression, but more tests are needed > > This also corrects the RCT offset to the exact value after remap > not a fixed 65536 > > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> > --- > libavcodec/ffv1.c | 37 +++++++++++++++++++++++++++++++++++ > libavcodec/ffv1.h | 2 ++ > libavcodec/ffv1dec.c | 17 +++++++++++++--- > libavcodec/ffv1dec_template.c | 32 ++++++++++++++++++------------ > libavcodec/ffv1enc.c | 15 +++++++++----- > libavcodec/ffv1enc_template.c | 12 ++++++++---- > 6 files changed, 91 insertions(+), 24 deletions(-) will apply [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No great genius has ever existed without some touch of madness. -- Aristotle