[FFmpeg-devel] [PATCH] QT RLE header parser refactoring

Mike Melanson mike
Tue Mar 11 05:01:32 CET 2008

Mike Melanson wrote:
> Yeah. I didn't like the idea either, to be honest. :) I have better
> ideas for refactoring I'll try next.

Here's my next idea. This is not a final draft; it's just a prototype to 
see if I'm going in the right direction. For the 8-bit decoding case, I 
moved the header parsing code into the main decode function and passed 3 
extra parameters into the 8-bit decoding function. There's a lot of 
cruft in this one but that would go away in the final draft.

It still correctly decodes the 8-bit samples, including 
Animation-256Greys.mov at http://samples.mplayerhq.hu/V-codecs/QTRLE/ (I 
have others).

	-Mike Melanson
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qtrle-refactor2.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080310/fa62e156/attachment.txt>

More information about the ffmpeg-devel mailing list