#ifndef SkSwizzlePriv_DEFINED
#define SkSwizzlePriv_DEFINED
#include "include/private/SkColorData.h"
#include "src/base/SkVx.h"
#include <cstdint>
namespace SkOpts {
Swizzle_8888_u32;
extern Swizzle_8888_u32 RGBA_to_BGRA,
RGBA_to_rgbA,
RGBA_to_bgrA,
rgbA_to_RGBA,
rgbA_to_BGRA,
inverted_CMYK_to_RGB1,
inverted_CMYK_to_BGR1;
Swizzle_8888_u8;
extern Swizzle_8888_u8 RGB_to_RGB1,
RGB_to_BGR1,
gray_to_RGB1,
grayA_to_RGBA,
grayA_to_rgbA;
void Init_Swizzler();
}
static inline skvx::float4 swizzle_rb(const skvx::float4& x) { … }
static inline skvx::float4 swizzle_rb_if_bgra(const skvx::float4& x) { … }
static inline skvx::float4 Sk4f_fromL32(uint32_t px) { … }
static inline uint32_t Sk4f_toL32(const skvx::float4& px) { … }
#endif