horizontalScaleNearest4Bit

Horizontal scaling using nearest integer algorithm for per-line operations. Works with 4 bit datatypes. 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.

@nogc pure nothrow
void
horizontalScaleNearest4Bit
(
ubyte* src
,
ubyte* dest
,
sizediff_t length
,
sizediff_t offset
,
const int trfmParam
)

Meta