[FFmpeg-devel] [PATCH v2 00/13] avcodec/sanm: various improvements

Manuel Lauss manuel.lauss at gmail.com
Sat Mar 15 11:32:07 EET 2025


This patchset improves especially support for SMUSHv1 (Rebel Assault 1),
adds missing codecs and functions and improves reliability of SMUSHv1/v2.

Changes in v2:
- reordered first 3 patches as some regressed things without the following
  patch applied.
- fixed codec4 left/top being swapped, resulting in weird visuals in L5PLAY.ANM
- additional handling for unaligned objects in file (see #4)
- reimplement ANIMv1 store/fetch handling (see #11)
- added codec45 to ignore (see #12 for an explanation)
- add myself as sanm.c/smush.c Maintainer, as requested by Michael (#13)

There are still a few palette issues in RA1: when the first FRME does not
contain any video data, the palette seems to be all-black until the first
NPAL (=new palette) chunk is encountered, although every ANM and SAN file
have a full palette in their header.

Manuel Lauss (13):
  avcodec/sanm: disable left/top for fullscreen codecs
  avcodec/sanm: FOBJ left/top are signed values
  avcodec/sanm: better frame size detection for old codecs
  avcodec/sanm: better ANIMv1 engine support
  avcodec/sanm: fix codec3
  avcodec/sanm: codec2 decoder
  avcodec/sanm: codec23 decoder
  avcodec/sanm: codec21 decoder
  avcodec/sanm: codec4/5/33/34 decoder
  avcodec/sanm: codec37: reimplement comp4
  avcodec/sanm: implement STOR/FTCH for ANIMv1
  avcodec/sanm: ignore codec45
  MAINTAINERS: add Manuel Lauss as sanm.c/smush.c Maintainer

 MAINTAINERS       |   2 +
 libavcodec/sanm.c | 687 ++++++++++++++++++++++++++++++++++++++++------
 2 files changed, 598 insertions(+), 91 deletions(-)

-- 
2.48.1



More information about the ffmpeg-devel mailing list