colorLookup2Bit

Converts a 2 Bit indexed image into an unindexed type of U (eg. Pixel16Bit, Pixel32Bit). Uses a QuadArray as a backend.

  1. void colorLookup2Bit(ubyte* src, U* dest, U* palette, size_t length, int offset)
  2. void colorLookup2Bit(T src, U* dest, U* palette, int offset)
    @nogc pure nothrow
    void
    colorLookup2Bit
    (
    T
    U
    )
    (
    T src
    ,
    U* dest
    ,,
    int offset = 0
    )
    if (
    T.mangleof == QuadArray.mangleof ||
    T.mangleof == QuadArrayR.mangleof
    )

Meta