diff options
author | Manuel Lauss <manuel.lauss@gmail.com> | 2025-03-14 22:26:46 +0100 |
---|---|---|
committer | Manuel Lauss <manuel.lauss@gmail.com> | 2025-03-19 21:02:54 +0100 |
commit | fd6bfaab55148a7e016fb77f31cf177d31e5568f (patch) | |
tree | a398db58d277691329959b54e18c391ecab7cfa3 /tests/api/api-h264-slice-test.c | |
parent | b48bd23321d8eee916dbe7afce96a749d29333f4 (diff) | |
download | ffmpeg-fd6bfaab55148a7e016fb77f31cf177d31e5568f.tar.gz |
avcodec/sanm: ignore codec45
Codec45 is used in some RA2 videos on top of codec37.
It consists of 2 tables (768 and 32768 bytes), and datapackets
like codec2 (delta-x, delta-y) with a pixel counter instead of a color value.
It then reads the 4 surrounding pixels, looks up 3 separate values
for each in table1, adds them together to form an index into
table2 for a new pixel value, in a row.
The data coming in gets the x/y coordinates out of the visible
area very quickly (2-3 iterations); I don't see any visual
difference between the ffmpeg-produced frames and ones captured
with dosbox from rebel assault 2, which leads me to believe this
codec never worked as intended.
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