diff options
author | Manuel Lauss <manuel.lauss@gmail.com> | 2025-03-11 13:26:08 +0100 |
---|---|---|
committer | Manuel Lauss <manuel.lauss@gmail.com> | 2025-03-19 20:58:46 +0100 |
commit | fd9b92b216308f5d5c2722d497fb4d7661dd63cd (patch) | |
tree | 7d1318c4347e54b1328181417c4888c176ddae01 /tests/api/api-h264-slice-test.c | |
parent | 93b0ca26acb912b8f080f221f6165542806bceb3 (diff) | |
download | ffmpeg-fd9b92b216308f5d5c2722d497fb4d7661dd63cd.tar.gz |
avcodec/sanm: better ANIMv1 engine support
- clear the front buffer with color 0 on the first FOBJ.
Fixes a lot of Rebel Assault 1 videos and Rebel Assault 2 space
scenes (e.g. 08PLAY.SAN which consists only of codec1/2/21 objects
which only ever touch parts of the buffer).
- for ANIMv1 (Rebel Assault 1): set palette index 0 to all zeroes.
This fixes a lot of stray colors in e.g L1HANGAR.ANM, L2INTRO.ANM,
space scenes.
- Esp in RA1, there are a lot of FRME objects which don't contain
any video data (prebuffering some audio only). Account for that.
- In RA1 L2PLAY.ANM there are a few unaligned FOBJs, handle this
in a generic way.
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Diffstat (limited to 'tests/api/api-h264-slice-test.c')
0 files changed, 0 insertions, 0 deletions