Flutter Engine
The Flutter Engine
SkSwizzle.h
Go to the documentation of this file.
1/*
2 * Copyright 2016 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkSwizzle_DEFINED
9#define SkSwizzle_DEFINED
10
12
13#include <cstdint>
14
15/**
16 Swizzles byte order of |count| 32-bit pixels, swapping R and B.
17 (RGBA <-> BGRA)
18*/
19SK_API void SkSwapRB(uint32_t* dest, const uint32_t* src, int count);
20
21#endif
int count
Definition: FontMgrTest.cpp:50
#define SK_API
Definition: SkAPI.h:35
SK_API void SkSwapRB(uint32_t *dest, const uint32_t *src, int count)
Definition: SkSwizzle.cpp:12
dest
Definition: zip.py:79