/external/skia/src/core/ |
SkFilterProc.cpp | 24 static unsigned bilerp00(unsigned a00, unsigned a01, unsigned a10, unsigned a11) { return a00; } 25 static unsigned bilerp01(unsigned a00, unsigned a01, unsigned a10, unsigned a11) { return (3 * a00 + a01) >> 2; } 26 static unsigned bilerp02(unsigned a00, unsigned a01, unsigned a10, unsigned a11) { return (a00 + a01) >> 1; } 27 static unsigned bilerp03(unsigned a00, unsigned a01, unsigned a10, unsigned a11) { return (a00 + 3 * a01) >> 2; } 29 static unsigned bilerp10(unsigned a00, unsigned a01, unsigned a10, unsigned a11) { return (3 * a00 + a10) >> 2; } 30 static unsigned bilerp11(unsigned a00, unsigned a01, unsigned a10, unsigned a11) { return (9 * a00 + 3 * (a01 + a10) + a11) >> 4; [all...] |
SkBitmapProcState_filter.h | 36 SkPMColor a00, SkPMColor a01, 46 "vmov.32 d4[1], %[a01] \n\t" // set top of d4 to a01 49 "vmull.u8 q3, d4, d1 \n\t" // q3 = [a01|a00] * (16-y) 56 "vmul.i16 d4, d7, d5 \n\t" // d4 = a01 * x 63 : [x] "r" (x), [y] "r" (y), [a00] "r" (a00), [a01] "r" (a01), [a10] "r" (a10), [a11] "r" (a11), [dst] "r" (dst) 69 SkPMColor a00, SkPMColor a01, 79 "vmov.32 d4[1], %[a01] \n\t" // set top of d4 to a01 [all...] |
SkBitmapProcState.cpp | 10 uint32_t a00, uint32_t a01, 16 a01 = SkExpand_rgb_16(a01); 22 a01 * (2*x - xy) + 38 uint32_t a00, uint32_t a01, 44 a01 = SkExpand_4444(a01); 50 a01 * (x - xy) + 58 U8CPU a00, U8CPU a01, 65 a01 * (16*x - xy) [all...] |
/external/skia/src/opts/ |
SkBitmapProcState_opts_SSE2.cpp | 80 __m128i a01 = _mm_cvtsi32_si128(row0[x1]); local 96 // (0, 0, a01, a10) 97 __m128i a01a11 = _mm_unpacklo_epi32(a11, a01); 102 // (a01 * (16-y)), (a11 * y) 105 // (a01 * (16-y) * x), (a11 * y * x) 108 // (a00*w00 + a01*w01, a10*w10 + a11*w11) 111 // (DC, a00*w00 + a01*w01) 114 // (DC, a00*w00 + a01*w01 + a10*w10 + a11*w11) 190 __m128i a01 = _mm_cvtsi32_si128(row0[x1]); local 206 // (0, 0, a01, a10 [all...] |
/frameworks/base/opengl/libagl/ |
dxt.cpp | 482 int a01 = alpha0 + alpha1 - 1; local 492 a[3] = a01 - a[6]; 493 a[5] = a01 - a[4]; 494 a[7] = a01 - a[2]; 498 a[3] = a01 - a[4]; 499 a[5] = a01 - a[2];
|