colorLookup2Bit

Converts a 2 Bit indexed image into an unindexed type of U (eg. Pixel16Bit, Pixel32Bit). Word order is: 0: 0b11_00_00_00 1: 0b00_11_00_00 2: 0b00_00_11_00 3: 0b00_00_00_11

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

Meta