Lines Matching refs:U8CPU
33 static U8CPU computeLuminance(SkScalar gamma, SkColor c) { in computeLuminance()
55 template<U8CPU N> static inline U8CPU sk_t_scale255(U8CPU base) { in sk_t_scale255()
57 U8CPU lum = base; in sk_t_scale255()
63 template<> /*static*/ inline U8CPU sk_t_scale255<1>(U8CPU base) {
66 template<> /*static*/ inline U8CPU sk_t_scale255<2>(U8CPU base) {
69 template<> /*static*/ inline U8CPU sk_t_scale255<4>(U8CPU base) {
72 template<> /*static*/ inline U8CPU sk_t_scale255<8>(U8CPU base) {
79 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast,
113 for (U8CPU i = 0; i < (1 << MAX_LUM_BITS); ++i) { in SkTMaskGamma()
114 U8CPU lum = sk_t_scale255<MAX_LUM_BITS>(i); in SkTMaskGamma()
222 template<bool APPLY_LUT> static inline U8CPU sk_apply_lut_if(U8CPU component, const uint8_t*) { in sk_apply_lut_if()
225 template<> /*static*/ inline U8CPU sk_apply_lut_if<true>(U8CPU component, const uint8_t* lut) {