• 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
pixlet 70 Bytes