[libpng15] Optimized png_combine_row() when rows are aligned This gains a

small percentage for 16-bit and 32-bit pixels in the typical case where the
output row buffers are appropriately aligned. The optimization was not
previously possible because the png_struct buffer was always misaligned.
This commit is contained in:
John Bowler
2011-10-07 18:36:37 -05:00
committed by Glenn Randers-Pehrson
parent ac8375d000
commit 8be28e3eb6
3 changed files with 24 additions and 11 deletions

View File

@@ -64,6 +64,10 @@ Version 1.5.6beta05 [October 7, 2011]
a bug in the code that attempted to align it; the code needs to subtract
one from the pointer to take account of the filter byte prepended to
each row.
Optimized png_combine_row() when rows are aligned This gains a small
percentage for 16-bit and 32-bit pixels in the typical case where the
output row buffers are appropriately aligned. The optimization was not
previously possible because the png_struct buffer was always misaligned.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit