Flutter Engine
The Flutter Engine
Functions
SkSwizzle.h File Reference
#include "include/private/base/SkAPI.h"
#include <cstdint>

Go to the source code of this file.

Functions

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

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)

Definition at line 12 of file SkSwizzle.cpp.

12 {
14}
int count
Definition: FontMgrTest.cpp:50
Swizzle_8888_u32 RGBA_to_BGRA
dest
Definition: zip.py:79