21 static const int K = 1023;
24 if (fFn_u32) { fFn_u32(
dst,
src,
K); }
25 if (fFn_u8) { fFn_u8 (
dst, (
const uint8_t*)
src,
K); }
DEF_BENCH(return new SwizzleBench("SkOpts::RGBA_to_rgbA", SkOpts::RGBA_to_rgbA))
void onDraw(int loops, SkCanvas *) override
SwizzleBench(const char *name, SkOpts::Swizzle_8888_u32 fn)
bool isSuitableFor(Backend backend) override
SwizzleBench(const char *name, SkOpts::Swizzle_8888_u8 fn)
const char * onGetName() override
void(*)(uint32_t *, const uint8_t *, int) Swizzle_8888_u8
void(*)(uint32_t *, const uint32_t *, int) Swizzle_8888_u32
Swizzle_8888_u8 gray_to_RGB1
Swizzle_8888_u32 RGBA_to_rgbA
Swizzle_8888_u8 RGB_to_RGB1
Swizzle_8888_u8 grayA_to_rgbA
Swizzle_8888_u8 RGB_to_BGR1
Swizzle_8888_u8 grayA_to_RGBA
Swizzle_8888_u32 RGBA_to_BGRA
Swizzle_8888_u32 RGBA_to_bgrA
Swizzle_8888_u32 inverted_CMYK_to_BGR1
Swizzle_8888_u32 inverted_CMYK_to_RGB1
DEF_SWITCHES_START aot vmservice shared library name