[Ffmpeg-devel] tiff encoder (qualification task for GSoC)

Michael Niedermayer michaelni
Fri Mar 23 19:52:04 CET 2007


Hi

On Fri, Mar 23, 2007 at 08:39:18AM +0200, Kostya wrote:
> On Thu, Mar 22, 2007 at 09:28:32PM +0100, Michael Niedermayer wrote:
> [...] 
> > i think this encodes 1 0 0 1 to
> > 0  1 -1  0  0  1
> > while the following would be shorter
> > 3  1  0  0  1
> > 
> > also this should rather use targa_encode_rle() (if needed with extending
> > targa_encode_rle() to support any differences tiff requires)
> 
> It will be nice to have general RLE engine for all encoders, for example
> there could be just one function ff_rle(uint8_t *src, int size, int *type)
> which will return length of recognized serie and type (0=raw, 1=run)

the sign of the return could indicate raw/run ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070323/28f31a66/attachment.pgp>



More information about the ffmpeg-devel mailing list