[FFmpeg-cvslog] r16332 - in trunk/libavcodec: faxcompr.c faxcompr.h

Kostya kostya.shishkov
Fri Dec 26 17:29:50 CET 2008


On Fri, Dec 26, 2008 at 04:05:12PM +0100, michael wrote:
> Author: michael
> Date: Fri Dec 26 16:05:12 2008
> New Revision: 16332
> 
> Log:
> Merge ff_ccitt_unpack_1d and 2d.
 
I suspect that using enum TiffCompr is not such a good idea.
We can also use those functions in other decoders, such as raw
fax files (and maybe PDF in a veeeeery distant future).

Also looks like I've mistaken compression schemes a bit, it should
be:
CCITT_RLE: 1D RLE data without EOLs
G3 - may be pure 1D RLE with EOLs or 2D with EOLs
G4 - pure 2D data with two EOLs at the very end of coded data
     (indicating data end)

And TIFF uses store options to distinguish between pure 1D and 2D
modes of G3, you can't distinguish them otherwise (only by decoding
errors).




More information about the ffmpeg-cvslog mailing list