Files
ffmpeg/libavcodec
Manuel Lauss b6a9c4671a avcodec/sanm: reimplement XPAL algorithm identical to DOS smush engine
This implements XPAL the same way the DOS/Windows players do, with an
additional 768-entry table holding the palette left-shifted by 7 bits,
and adding the deltapal values to this.

This results in a perfectly smooth day-to-night transition in the last
30 seconds of the Outlaws RAE.SAN (ending) video, while before there
were visible brightness "pulses" when a new palette was loaded.
It also fixes color banding in the The Dig Intro (sq1.san), in the
scene showing the shuttle launch pad and the night sky.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
2025-10-09 10:29:01 +02:00
..
2025-09-03 06:48:02 +00:00
2025-09-22 23:46:29 +00:00
2025-09-22 23:46:29 +00:00
2025-10-08 20:40:08 +02:00
2025-09-02 17:06:25 +02:00
2025-08-11 20:31:09 +02:00
2025-09-22 23:46:29 +00:00
2025-09-02 17:06:25 +02:00
2025-08-11 11:54:31 +02:00
2025-09-26 06:20:30 +02:00
2025-09-22 23:46:29 +00:00
2025-08-20 11:20:14 +02:00