summaryrefslogtreecommitdiff
path: root/powerpc/filter_vsx_intrinsics.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the "last changed" version information from source commentsCosmin Truta2018-09-041-1/+2
|
* Remove top-level const from function-scope variablesCosmin Truta2018-08-181-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | As per the const correctness rules, top-level const-ness of data in automatic scopes does not propagate outside of these scopes (unlike const-ness at lower levels, such as pointers to const data). Previously, const was used liberally, but inconsistently across the libpng codebase. Using const wherever applicable is not incorrect. However, _consistent_ use of const is difficult to maintain in such conditions. In conclusion, we shall continue to use const only where doing so is strictly necessary: 1. If a function guarantees that it will not modify an argument passed by pointer, the corresponding function parameter should be a pointer-to-const (const T *). 2. Static data should not be modified, therefore it should be const. Reference: Google C++ Style Guide https://google.github.io/styleguide/cppguide.html#Use_of_const
* [libpng16] Replace the remaining uses of png_size_t with size_tCosmin Truta2018-06-171-2/+2
| | | | | | In v1.6.0, size_t became a required type. It should be used consistently. To maintain backwards compatibility, png_size_t is still maintained in deprecated form.
* [libpng16] Fix "last changed" dates in powerpc/*.cGlenn Randers-Pehrson2017-03-211-1/+1
|
* [libpng16] Bump version to 1.6.30beta01Glenn Randers-Pehrson2017-03-161-1/+1
|
* [libpng16] Imported from libpng-1.6.29.tarv1.6.29libpng-1.6.29-signedGlenn Randers-Pehrson2017-03-161-1/+1
|
* [libpng16] Update credits and copyright information about powerpc-vsx codeGlenn Randers-Pehrson2017-02-221-2/+2
|
* Made VSX code pedantic strict C90 compliantVadim Barkov2017-02-111-55/+64
| | | | | Fixed signed/unsigned comparations, png_byte and summations. Also fixed combound literals which are permited by C90.
* Changed minimum supported PowerPC CPU commentVadim Barkov2017-02-101-1/+1
| | | | | Changed it from POWER8 to POWER7 due to the last one supports VSX too.
* RefactoringVadim Barkov2017-02-101-116/+109
| | | | | Now all defines in filter VSX file are prefixed with VSX and have more clear names
* Added support for ppc64 big endian for filter_paeth VSXVadim Barkov2017-02-091-3/+20
|
* Fixed filter_paeth for PowerPC VSXVadim Barkov2017-02-091-109/+161
| | | | Now all tests are fine for ppc64le
* Fixed multiple bugs in VSX filter functionsVadim Barkov2017-02-081-290/+307
| | | | Now up,sub and avg filter VSX functions pass tests
* RefactoringVadim Barkov2017-02-021-49/+31
|
* Small bugfixVadim Barkov2017-02-021-1/+1
|
* Implemented filter_paeth PowerPC VSX variantVadim Barkov2017-01-311-92/+272
|
* Implemented filter_avg for PowerPC VXSVadim Barkov2017-01-291-35/+178
|
* Fixed potential align errors for PowerPC VSX filter functionsVadim Barkov2017-01-291-3/+10
| | | | | The problem is that row and prev_row may not be aligned to the same byte count. This situation leaded to undefined behaviour.
* Fixed missing defines for VSX filter_subVadim Barkov2017-01-191-2/+12
|
* Implemented filter_sub optimisation for PowerPC VSXVadim Barkov2017-01-191-5/+109
|
* Fixed potential bug on align calculation for VSX filter_upVadim Barkov2017-01-191-1/+1
|
* Fixed bug with unaligned input on VSX filter_upVadim Barkov2017-01-161-30/+25
|
* Implemented png_read_filter_up_vsxVadim Barkov2017-01-151-16/+41
|
* Added initial code for PowerPC VSX optimisationVadim Barkov2017-01-141-0/+233