Re: [FFmpeg-devel] [PATCH 09/12] avcodec/sanm: codec4/5/33/34 decoder

2025-03-14 Thread Manuel Lauss
Servus Andreas, On Fri, Mar 14, 2025 at 1:08 AM Andreas Rheinhardt wrote: > > +static int old_codec4(SANMVideoContext *ctx, int left, int top, int w, int > > h, > > + uint8_t param, uint16_t param2, int codec) > > +{ > > +const uint16_t p = ctx->pitch; > > +const ui

Re: [FFmpeg-devel] [PATCH 09/12] avcodec/sanm: codec4/5/33/34 decoder

2025-03-13 Thread Andreas Rheinhardt
Manuel Lauss: > This codec works on 4x4 pixel tiles, which can be generated and read > from the datastream. They're both identical, codec5 misses a tile > index to skip the current tile. > Codecs33/34 are the same as 4/5 but with a different tileset generator. > Used only in Rebel Assault 1. > >

[FFmpeg-devel] [PATCH 09/12] avcodec/sanm: codec4/5/33/34 decoder

2025-03-13 Thread Manuel Lauss
This codec works on 4x4 pixel tiles, which can be generated and read from the datastream. They're both identical, codec5 misses a tile index to skip the current tile. Codecs33/34 are the same as 4/5 but with a different tileset generator. Used only in Rebel Assault 1. Signed-off-by: Manuel Lauss