summaryrefslogtreecommitdiff
path: root/libavcodec/pixlet.c
Commit message (Collapse)AuthorAge
* pixlet: Fix architecture-dependent code and valuesVittorio Giovara2017-03-06
| | | | | | | | | | | | | | | The constants used in the decoder used floating point precision, and this caused different values to be generated on different architectures. Additionally on big endian machines, the fate test would output bytes in native order, which is different from the one hardcoded in the test. So, eradicate floating point numbers and use fixed point (32.32) arithmetics everywhere, replacing constants with precomputed integer values, and force the pixel format output to be the same in the fate test. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Add Apple Pixlet decoderPaul B Mahol2017-03-01
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>