[FFmpeg-devel] [PATCH] QT RLE header parser refactoring
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel