[FFmpeg-devel] [PATCH] [RFC] Second try at pixdesc.h:write_line()

Stefano Sabatini stefano.sabatini-lala
Sat Apr 18 16:59:21 CEST 2009


On date Tuesday 2009-04-14 15:10:58 +0200, Michael Niedermayer encoded:
> On Tue, Apr 14, 2009 at 02:44:53PM +0200, Stefano Sabatini wrote:
[...]
> anyway as you seem to be confused:
> for(){
>     *buf |= *pixel++ << s;
>     s-= C;
>     buf -= s>>8;
>     s&=7;
> }
> 
> is one of many startpoints

In attachment a new try, unfortunately this is rather slow with the
only case I can try (that is monowhite/monoblack), maybe Michael or
someone else may suggest a better approach.

Regards.
-- 
FFmpeg = Foolish & Faboulous Mournful Ponderous Energized Gymnast
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pixdesc-write-line.patch
Type: text/x-diff
Size: 2280 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090418/e284d328/attachment.patch>



More information about the ffmpeg-devel mailing list