[FFmpeg-devel] [PATCH 0/3] Quram Qmage image decoder

Peter Ross pross at xvid.org
Thu Nov 21 07:44:47 EET 2024


This patch set adds decoding support for the Quram Qmage image format,
a Korean image compressor used in Samsung phones for startup/shutdown
animations and static pictures.

Internally the image format uses RGB 565 with an optional alpha plane.
The ffmpeg decoder currently ignores the alpha plane.

Samples: https://www.mediafire.com/folder/sa1r8iprkckm7/Bootanimations

Peter Ross (3):
  avcodec/qmagedec: Quram Qmage decoder
  avformat/qmagedec: Quram Qmage demuxer
  fate/qmage: add tests

 libavcodec/Makefile                |   1 +
 libavcodec/allcodecs.c             |   1 +
 libavcodec/codec_desc.c            |   7 +
 libavcodec/codec_id.h              |   1 +
 libavcodec/qmagedata.h             | 133 +++++
 libavcodec/qmagedec.c              | 836 +++++++++++++++++++++++++++++
 libavformat/Makefile               |   1 +
 libavformat/allformats.c           |   1 +
 libavformat/qmagedec.c             | 244 +++++++++
 tests/fate/video.mak               |  11 +
 tests/ref/fate/qmage-ani_alpha     |  10 +
 tests/ref/fate/qmage-dynamic_table |  15 +
 tests/ref/fate/qmage-w2_pass       |   6 +
 13 files changed, 1267 insertions(+)
 create mode 100644 libavcodec/qmagedata.h
 create mode 100644 libavcodec/qmagedec.c
 create mode 100644 libavformat/qmagedec.c
 create mode 100644 tests/ref/fate/qmage-ani_alpha
 create mode 100644 tests/ref/fate/qmage-dynamic_table
 create mode 100644 tests/ref/fate/qmage-w2_pass

-- 
2.45.2

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241121/19119433/attachment.sig>


More information about the ffmpeg-devel mailing list