Horizontal scaling and color lookup using nearest integer algorithm for per-line operations.
Works with most datatypes. Use a separate one for 4 bit.
Lenght determines the source's length.
trfmParam describes how the transformation is done. 1024 results in the same exact line. Larger values cause shrinkage, smaller omes growth. Negative values cause reflections.
voidhorizontalScaleNearestAndCLU(T* src, U* dest, U* palette, sizediff_t length, int trfmParam)
Horizontal scaling and color lookup using nearest integer algorithm for per-line operations. Works with most datatypes. Use a separate one for 4 bit. Lenght determines the source's length. trfmParam describes how the transformation is done. 1024 results in the same exact line. Larger values cause shrinkage, smaller omes growth. Negative values cause reflections.