[FFmpeg-devel] [PATCH] HAM6/HAM8 support for IFF demuxer/decoder
Thu May 6 23:23:20 CEST 2010
Sebastian Vater a ?crit :
> So, here's a new patch, which removes the call of ff_cmap_read_palette
> from libavformat/iff.c completely and also removed prototype declaration
> it from libavcodec/iff.h and made it static with the ff_ prefix removed
> in libavcodec/iff.c
> There's no CODEC_ID_RAWVIDEO anymore and decoding the chunky PBM file is
> done within decode_frame_ilbm now.
> I should notice, however, I investigated the ASH.LBM file (which is a
> PBM, but byterun1 compressed).
> Looking at the demuxer shows me that it normally uses the ILBM code line
> except that decode_frame_byterun1 handles this special case which showed
> me that it's the same as decodeplane8 stuff just without calling
> decodeplane8 at all (so I assume that it's just chunky pixel data).
> I implemented the same behaviour in decode_frame_ilbm by just memcpy'ing
> each line into the output buffer.
> Please review that carefully!
Damn, I just forgot to add HAM decoding for PBM files, too...again, I
have no files to test, but it should do much the same as the
decodeplane8 and HAM decoding afterwards...the PBM HAM decoders just
take the chunky data and interpret it as HAM encoding.
So here's an updated patch, just forget the previous one.
Big sorry @ all!
:-) Basty/CDGS (-:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 20989 bytes
Desc: not available
More information about the ffmpeg-devel