[FFmpeg-cvslog] r18421 - trunk/libavcodec/pngdec.c

Reimar Döffinger Reimar.Doeffinger
Fri Apr 10 21:51:52 CEST 2009


On Fri, Apr 10, 2009 at 07:16:19PM +0200, stefano wrote:
> +            for(j=0; j < s->height; j++) {
> +                for(i=0; i < s->width * s->bpp; i++) {
> +                    pd[i] += pd_last[i];
> +                }
> +                pd += s->image_linesize;
> +                pd_last += s->image_linesize;
> +            }

I suspect that except possibly for some borders it should be possible to
use dsputil functions for this?
Should be a good bit faster...



More information about the ffmpeg-cvslog mailing list