Skia
2D Graphics Library
SkSwizzle.h File Reference
Include dependency graph for SkSwizzle.h:

Go to the source code of this file.

Functions

SK_API void SkSwapRB (uint32_t *dest, const uint32_t *src, int count)
 Swizzles byte order of |count| 32-bit pixels, swapping R and B. More...
 

Function Documentation

◆ SkSwapRB()

SK_API void SkSwapRB ( uint32_t *  dest,
const uint32_t *  src,
int  count 
)

Swizzles byte order of |count| 32-bit pixels, swapping R and B.

(RGBA <-> BGRA)