Home
last modified time | relevance | path

Searched refs:SK_A32_SHIFT (Results 1 – 21 of 21) sorted by relevance

/external/skqp/include/core/
DSkPostConfig.h52 #ifdef SK_A32_SHIFT
107 # ifndef SK_A32_SHIFT
108 # define SK_A32_SHIFT 24 macro
148 #ifndef SK_A32_SHIFT
153 # define SK_A32_SHIFT 0 macro
158 # define SK_A32_SHIFT 24 macro
168 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
DSkColorPriv.h87 #if (SK_A32_SHIFT == SK_RGBA_A32_SHIFT && \
92 #elif (SK_A32_SHIFT == SK_BGRA_A32_SHIFT && \
101 #define SkGetPackedA32(packed) ((uint32_t)((packed) << (24 - SK_A32_SHIFT)) >> 24)
121 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()
130 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32NoCheck()
/external/skia/include/core/
DSkPostConfig.h52 #ifdef SK_A32_SHIFT
107 # ifndef SK_A32_SHIFT
108 # define SK_A32_SHIFT 24 macro
148 #ifndef SK_A32_SHIFT
153 # define SK_A32_SHIFT 0 macro
158 # define SK_A32_SHIFT 24 macro
168 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
DSkColorPriv.h87 #if (SK_A32_SHIFT == SK_RGBA_A32_SHIFT && \
92 #elif (SK_A32_SHIFT == SK_BGRA_A32_SHIFT && \
101 #define SkGetPackedA32(packed) ((uint32_t)((packed) << (24 - SK_A32_SHIFT)) >> 24)
121 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()
130 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32NoCheck()
/external/skia/src/opts/
DSk4px_SSE2.h38 static_assert(SK_A32_SHIFT == 24, "Intel's always little-endian."); in alphas()
51 static_assert(SK_A32_SHIFT == 24, "Intel's always little-endian."); in alphas()
DSkBlitMask_opts.h19 #define NEON_A (SK_A32_SHIFT / 8)
148 *device = (aa << SK_A32_SHIFT) in blit_mask_d32_a8_black()
DSk4px_none.h38 static_assert(SK_A32_SHIFT == 24, "This method assumes little-endian."); in alphas()
DSk4px_NEON.h33 auto as = vshrq_n_u32((uint32x4_t)fVec, SK_A32_SHIFT); // ___3 ___2 ___1 ___0 in alphas()
/external/skqp/src/opts/
DSk4px_SSE2.h38 static_assert(SK_A32_SHIFT == 24, "Intel's always little-endian."); in alphas()
51 static_assert(SK_A32_SHIFT == 24, "Intel's always little-endian."); in alphas()
DSkBlitMask_opts.h19 #define NEON_A (SK_A32_SHIFT / 8)
148 *device = (aa << SK_A32_SHIFT) in blit_mask_d32_a8_black()
DSk4px_none.h38 static_assert(SK_A32_SHIFT == 24, "This method assumes little-endian."); in alphas()
DSk4px_NEON.h33 auto as = vshrq_n_u32((uint32x4_t)fVec, SK_A32_SHIFT); // ___3 ___2 ___1 ___0 in alphas()
/external/pdfium/skia/config/
DSkUserConfig.h155 #define SK_A32_SHIFT 24 macro
/external/skia/src/core/
DSkBlitter_ARGB32.cpp296 _mm_set1_epi32(SK_A32_MASK << SK_A32_SHIFT)); in blend_lcd16_opaque_sse2()
440 #define NEON_A (SK_A32_SHIFT / 8)
902 SkPMColor black = (SkPMColor)(SK_A32_MASK << SK_A32_SHIFT); in blitAntiH()
915 SkPMColor src = aa << SK_A32_SHIFT; in blitAntiH()
934 device[0] = (a0 << SK_A32_SHIFT) + SkAlphaMulQ(device[0], 256 - a0); in blitAntiH2()
935 device[1] = (a1 << SK_A32_SHIFT) + SkAlphaMulQ(device[1], 256 - a1); in blitAntiH2()
942 device[0] = (a0 << SK_A32_SHIFT) + SkAlphaMulQ(device[0], 256 - a0); in blitAntiV2()
944 device[0] = (a1 << SK_A32_SHIFT) + SkAlphaMulQ(device[0], 256 - a1); in blitAntiV2()
/external/skqp/src/core/
DSkBlitter_ARGB32.cpp296 _mm_set1_epi32(SK_A32_MASK << SK_A32_SHIFT)); in blend_lcd16_opaque_sse2()
440 #define NEON_A (SK_A32_SHIFT / 8)
902 SkPMColor black = (SkPMColor)(SK_A32_MASK << SK_A32_SHIFT); in blitAntiH()
915 SkPMColor src = aa << SK_A32_SHIFT; in blitAntiH()
934 device[0] = (a0 << SK_A32_SHIFT) + SkAlphaMulQ(device[0], 256 - a0); in blitAntiH2()
935 device[1] = (a1 << SK_A32_SHIFT) + SkAlphaMulQ(device[1], 256 - a1); in blitAntiH2()
942 device[0] = (a0 << SK_A32_SHIFT) + SkAlphaMulQ(device[0], 256 - a0); in blitAntiV2()
944 device[0] = (a1 << SK_A32_SHIFT) + SkAlphaMulQ(device[0], 256 - a1); in blitAntiV2()
/external/skia/samplecode/
DSampleClip.cpp28 paint.setColor((SK_A32_MASK << SK_A32_SHIFT) | rand.nextU()); in show_text()
/external/skqp/samplecode/
DSampleClip.cpp28 paint.setColor((SK_A32_MASK << SK_A32_SHIFT) | rand.nextU()); in show_text()
/external/skqp/tools/skdiff/
Dskdiff_utils.cpp88 *bitmap.getAddr32(x, y) |= (SK_A32_MASK << SK_A32_SHIFT); in force_all_opaque()
/external/skia/tools/skdiff/
Dskdiff_utils.cpp88 *bitmap.getAddr32(x, y) |= (SK_A32_MASK << SK_A32_SHIFT); in force_all_opaque()
/external/skia/include/private/
DSkColorData.h395 uint32_t d = (SkGetPackedA4444(c) << SK_A32_SHIFT) | in SkPixel4444ToPixel32()
/external/skqp/include/private/
DSkColorData.h395 uint32_t d = (SkGetPackedA4444(c) << SK_A32_SHIFT) | in SkPixel4444ToPixel32()