• Vittorio Giovara's avatar
    pixlet: Fix architecture-dependent code and values · b44bd7ee
    Vittorio Giovara authored
    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: 's avatarVittorio Giovara <vittorio.giovara@gmail.com>
    b44bd7ee
Name
Last commit
Last update
avbuild Loading commit data...
avtools Loading commit data...
compat Loading commit data...
doc Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...