Lines Matching refs:U8CPU
34 static U8CPU computeLuminance(SkScalar gamma, SkColor c) { in computeLuminance()
56 template<U8CPU N> static inline U8CPU sk_t_scale255(U8CPU base) { in sk_t_scale255()
58 U8CPU lum = base; in sk_t_scale255()
64 template<> /*static*/ inline U8CPU sk_t_scale255<1>(U8CPU base) {
67 template<> /*static*/ inline U8CPU sk_t_scale255<2>(U8CPU base) {
70 template<> /*static*/ inline U8CPU sk_t_scale255<4>(U8CPU base) {
73 template<> /*static*/ inline U8CPU sk_t_scale255<8>(U8CPU base) {
80 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast,
114 for (U8CPU i = 0; i < (1 << MAX_LUM_BITS); ++i) { in SkTMaskGamma()
115 U8CPU lum = sk_t_scale255<MAX_LUM_BITS>(i); in SkTMaskGamma()
224 template<bool APPLY_LUT> static inline U8CPU sk_apply_lut_if(U8CPU component, const uint8_t*) { in sk_apply_lut_if()
227 template<> /*static*/ inline U8CPU sk_apply_lut_if<true>(U8CPU component, const uint8_t* lut) {