Skip to content
Snippets Groups Projects
Commit 9fa056ba authored by Christophe Gisquet's avatar Christophe Gisquet Committed by Michael Niedermayer
Browse files

pngdsp x86: use unaligned access


For test images manually generated to contain only up prediction,
timing results:
         8380x3032    255x185
before:   138635       1992
after:    139232       1996

Actually jumping to the proper version depending on the alignment:
8380x3032: 138767

A 0.5% speed improvement for gigantic images is not worth the code
duplication.

Fixes ticket #4148

Signed-off-by: default avatarChristophe Gisquet <christophe.gisquet@gmail.com>
Tested-by: default avatarBenoit Fouet <benoit.fouet@free.fr>
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 242f1152
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment