[FFmpeg-devel] Is it really this easy to thread PNG encodes?

Michael Niedermayer michaelni at gmx.at
Mon Sep 10 15:49:06 CEST 2012


On Mon, Sep 10, 2012 at 07:21:54AM +0000, Paul B Mahol wrote:
> On 9/10/12, Ben Jackson <ben at ben.com> wrote:
> > I'm working on VP6A (video with alpha) so I'm doing lots of exports to
> > PNG stacks.  I looked into what it would take to thread the PNG encoder
> > (when using -f image2) and it seems utterly trivial since it's an Intra
> > CODEC.
> >
> > The attached patch (which just sets CODEC_CAP_FRAME_THREADS / INTRA_ONLY)
> > seems to work, but it's almost too easy!
> 
> If nobody care fore CorePNG than patch is fine if it works.....

patch applied, we can think about corepng when someone wants to
support encoding it ...

thanks

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

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120910/c47fc9fc/attachment.asc>


More information about the ffmpeg-devel mailing list