xref: /aosp_15_r20/external/skia/src/core/SkSwizzle.cpp (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
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 #include "include/core/SkSwizzle.h"
9 
10 #include "src/core/SkSwizzlePriv.h"
11 
SkSwapRB(uint32_t * dest,const uint32_t * src,int count)12 void SkSwapRB(uint32_t* dest, const uint32_t* src, int count) {
13     SkOpts::RGBA_to_BGRA(dest, src, count);
14 }
15