[FFmpeg-devel] Merging AV_CODEC_ID_IFF_ILBM and AV_CODEC_ID_IFF_BYTERUN1

Peter Ross pross at xvid.org
Wed Nov 21 07:42:15 CET 2012


Currently the IFF bitmap decoder is split across two AV_CODEC_IDs.
Bitmaps with compression type 0 got to AV_CODEC_ID_IFF_ILBM, and
compression type 1 goes to AV_CODEC_ID_BYTERUN1.

The compression type value is passed to the decoder via an extra-data
structure, so the separate AV_CODEC_IDs are not required. (Early
on this wasn't the case).

How could the decoders be merged without breaking API compatibility.
There is at least one more compression type that I would like to add to
the IFF bitmap. Adding yet another AV_CODEC_ID for this would seem silly.

Cheers,

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


More information about the ffmpeg-devel mailing list