engine/dlib/src/dlib/webp.cpp
// Compose WebP 32-bit color RGBA into L8A8 data.
Compose WebP 32-bit color RGBA into L8A8 data.
Compose WebP 32 - bit color RGBA into L8A8 data .
static inline void ComposeL8A8(uint8_t* dest, uint8_t* src, uint32_t elements)
    {
        for(uint32_t i = 0; i < elements; ++i)
        {
            *(dest++) = *src;
            src += 3;
            *(dest++) = *(src++);
        }
    }
static inline void ComposeL8A8 ( uint8_t * dest , uint8_t * src , uint32_t elements ) { for ( uint32_t i = 0 ; i < elements ; ++ i ) { * ( dest ++ ) = * src ; src += 3 ; * ( dest ++ ) = * ( src ++ ) ; } }
Compose WebP 32-bit color RGBA into L8A8 data.
Compose WebP 32 - bit color RGBA into L8A8 data .