Flutter Engine
The Flutter Engine
Functions
SkSwizzle.cpp File Reference
#include "include/core/SkSwizzle.h"
#include "src/core/SkSwizzlePriv.h"

Go to the source code of this file.

Functions

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

Function Documentation

◆ SkSwapRB()

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