Home
last modified time | relevance | path

Searched refs:SkRGBAf (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/utils/
DSkPatchUtils.cpp215 struct SkRGBAf { struct
218 static SkRGBAf From4f(const Sk4f& x) { in From4f() argument
219 SkRGBAf c; in From4f()
224 static SkRGBAf FromBGRA32(SkColor c) { in FromBGRA32() argument
238 SkRGBAf premul() const { in premul() argument
243 SkRGBAf unpremul() const { in unpremul() argument
250 static void skcolor_to_linear(SkRGBAf dst[], const SkColor src[], int count, SkColorSpace* cs, in skcolor_to_linear()
262 dst[i] = SkRGBAf::FromBGRA32(src[i]); in skcolor_to_linear()
270 static void linear_to_skcolor(SkColor dst[], const SkRGBAf src[], int count, SkColorSpace* cs) { in linear_to_skcolor()
284 static void unpremul(SkRGBAf array[], int count) { in unpremul()
[all …]
/external/skqp/src/utils/
DSkPatchUtils.cpp215 struct SkRGBAf { struct
218 static SkRGBAf From4f(const Sk4f& x) { in From4f() argument
219 SkRGBAf c; in From4f()
224 static SkRGBAf FromBGRA32(SkColor c) { in FromBGRA32() argument
238 SkRGBAf premul() const { in premul() argument
243 SkRGBAf unpremul() const { in unpremul() argument
250 static void skcolor_to_linear(SkRGBAf dst[], const SkColor src[], int count, SkColorSpace* cs, in skcolor_to_linear()
262 dst[i] = SkRGBAf::FromBGRA32(src[i]); in skcolor_to_linear()
270 static void linear_to_skcolor(SkColor dst[], const SkRGBAf src[], int count, SkColorSpace* cs) { in linear_to_skcolor()
284 static void unpremul(SkRGBAf array[], int count) { in unpremul()
[all …]