[FFmpeg-devel] [PATCH] Fixed PNG decoding with Paeth filter for RGBA 64-bits.

Michael Niedermayer michaelni at gmx.at
Sun Dec 7 12:55:27 CET 2014


Hi

On Sun, Dec 07, 2014 at 05:39:16AM +0100, Michael Niedermayer wrote:
[...]
> >  Changelog                    |  1 +
> >  libavcodec/pngdec.c          | 16 ++++++++++++----
> >  libavcodec/pngdsp.c          |  7 +++++--
> >  libavcodec/pngdsp.h          |  5 +++++
> >  libavcodec/x86/pngdsp_init.c | 17 +++++++++++------
> >  5 files changed, 34 insertions(+), 12 deletions(-)
> 
> this is not correct
> iam a bit tired so i just quickly read your elaborate text but the asm
> works in steps of bpp not steps of 4 and writes 4 bytes at a time
> you seem to assume the asm is simpler and more systematic than it
> actually is, also theres are bugs in the asm i think
> ive a fix for some of this locally but id like to test it more before
> pushing

patchset posted, please take a look and review / check / confirm if
this fixes all issues you saw

Thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141207/e6fae483/attachment.asc>


More information about the ffmpeg-devel mailing list