Home | History | Annotate | Download | only in opts

Lines Matching full:has_alpha

111 // by alpha when has_alpha is true.
116 template<bool has_alpha, int scale>
122 if (has_alpha) {
137 // @param alpha when has_alpha is true, scale all resulting components by this
141 // (Ra0 * (16 - x0) + Ra1 * x0) * alpha) (when has_alpha is true)
146 template<bool has_alpha>
155 return ScaleFourPixels<has_alpha, 4>(&sum, alpha);
163 template<bool has_alpha>
177 return ScaleFourPixels<has_alpha, 4>(&sum, alpha);
217 // the results by, when has_alpha is true.
224 // With the factor alpha removed when has_alpha is false.
227 template<bool has_alpha>
252 return ScaleFourPixels<has_alpha, 8>(&sum0, alpha);
299 template<bool has_alpha>
306 if (has_alpha) {
335 if (has_alpha)
357 __m128i sum0 = ProcessPixelPairZeroSubY<has_alpha>(
365 __m128i sum1 = ProcessPixelPairZeroSubY<has_alpha>(
392 __m128i sum = ProcessOnePixelZeroSubY<has_alpha>(
429 __m128i sum0 = ProcessTwoPixelPairs<has_alpha>(
437 __m128i sum1 = ProcessTwoPixelPairs<has_alpha>(
475 sum0 = ScaleFourPixels<has_alpha, 8>(&sum0, alpha);