• 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
..
checkasm Loading commit data...
fate Loading commit data...
filtergraphs Loading commit data...
ref Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
audiogen.c Loading commit data...
base64.c Loading commit data...
fate-run.sh Loading commit data...
fate.sh Loading commit data...
lavf-regression.sh Loading commit data...
md5.sh Loading commit data...
reference.pnm Loading commit data...
regression-funcs.sh Loading commit data...
rotozoom.c Loading commit data...
tiny_psnr.c Loading commit data...
utils.c Loading commit data...
videogen.c Loading commit data...