Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 {
13 SkOpts::RGBA_to_BGRA(dest, src, count);
14}
int count
Swizzle_8888_u32 RGBA_to_BGRA