summaryrefslogtreecommitdiff
path: root/libavcodec/pngdsp.h
Commit message (Collapse)AuthorAge
* Merge commit 'f00f6d538dcbaa122eb5e2784f41f4a299296b7b'Hendrik Leppkes2015-09-12
|\ | | | | | | | | | | | | * commit 'f00f6d538dcbaa122eb5e2784f41f4a299296b7b': lavc: Sanitize header inclusion guards Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * lavc: Sanitize header inclusion guardsVittorio Giovara2015-09-12
| | | | | | | | | | | | Fix typos, add missing comments, and remove stray lines. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | pngdsp x86: use unaligned accessChristophe Gisquet2014-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Christophe Gisquet <christophe.gisquet@gmail.com> Tested-by: Benoit Fouet <benoit.fouet@free.fr> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pngdsp: Fix license headerMichael Niedermayer2012-06-29
| | | | | | | | | | | | Libav did not exist in 2008 thus this file cannot have originated from there Reviewed-by: Paul B Mahol <onemda@gmail.com>
* | Partially revert "Fix png decoding on x86."Reimar Döffinger2012-02-10
| | | | | | | | | | | | This partially reverts commit 58dabf7bf2fdd08f79173da0df613127ff783028. It is no longer necessary to use unaligned mov. The swapped mov argument fix remains though.
* | Fix png decoding on x86.Reimar Döffinger2012-02-03
|/ | | | | | | | | | | Line sizes are only 8-byte aligned, so use unaliged loads for add_bytes_l2 pointers. Increasing the alignment requirement to 16 seemed a bit extreme (png may be used for rather small sizes). Also fix a mov that had its arguments swapped, leading add_bytes_l2 being applied on up to 8 bytes too few. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* png: move DSP functions to their own DSP context.Ronald S. Bultje2012-01-29