Home
last modified time | relevance | path

Searched refs:SK_G32_SHIFT (Results 1 – 10 of 10) sorted by relevance

/external/skia/include/core/
DSkPostConfig.h47 # if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT)
51 # if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT)
133 # define SK_G32_SHIFT 8 macro
165 # define SK_G32_SHIFT 16 macro
170 # define SK_G32_SHIFT 8 macro
182 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
DSkColorPriv.h64 SK_G32_SHIFT == SK_RGBA_G32_SHIFT && \
70 SK_G32_SHIFT == SK_BGRA_G32_SHIFT && \
76 #define SK_G_INDEX (SK_G32_SHIFT/8)
359 #define SkGetPackedG32(packed) ((uint32_t)((packed) << (24 - SK_G32_SHIFT)) >> 24)
404 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32()
539 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32NoCheck()
607 #define SkPacked32ToG16(c) (((unsigned)(c) >> (SK_G32_SHIFT + SK_G32_BITS - SK_G16_BITS)) & SK_G16…
612 unsigned g = ((c >> (SK_G32_SHIFT + (8 - SK_G16_BITS))) & SK_G16_MASK) << SK_G16_SHIFT; in SkPixel32ToPixel16()
880 (SkGetPackedG4444(c) << SK_G32_SHIFT) | in SkPixel4444ToPixel32()
888 (((c >> (SK_G32_SHIFT + 4)) & 0xF) << SK_G4444_SHIFT) | in SkPixel32ToPixel4444()
[all …]
DSkUserConfig.h134 #define SK_G32_SHIFT 8 macro
/external/skia/src/opts/
DSkColor_opts_SSE2.h98 __m128i g = _mm_slli_epi32(src, (24 - SK_G32_SHIFT)); in SkGetPackedG32_SSE2()
131 __m128i dg = _mm_slli_epi32(g, SK_G32_SHIFT); in SkPackARGB32_SSE2()
187 SK_G32_SHIFT + (8 - SK_G16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2()
190 SK_G32_SHIFT + (8 - SK_G16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2()
DSkBlitRow_opts_SSE2.cpp311 #define SK_G16x5_G32x5_SHIFT (SK_G32_SHIFT - SK_G16_SHIFT - SK_G16_BITS + 5)
363 _mm_set1_epi32(0x1F << SK_G32_SHIFT)); in SkBlendLCD16_SSE2()
449 _mm_set1_epi32(0x1F << SK_G32_SHIFT)); in SkBlendLCD16Opaque_SSE2()
758 __m128i sg1 = _mm_slli_epi32(src_pixel1, (24 - SK_G32_SHIFT)); in S32A_D565_Opaque_SSE2()
760 __m128i sg2 = _mm_slli_epi32(src_pixel2, (24 - SK_G32_SHIFT)); in S32A_D565_Opaque_SSE2()
878 __m128i sg1 = _mm_slli_epi32(src_pixel1, (24 - SK_G32_SHIFT)); in S32_D565_Opaque_Dither_SSE2()
880 __m128i sg2 = _mm_slli_epi32(src_pixel2, (24 - SK_G32_SHIFT)); in S32_D565_Opaque_Dither_SSE2()
1030 __m128i sg1 = _mm_slli_epi32(src_pixel1, (24 - SK_G32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()
1032 __m128i sg2 = _mm_slli_epi32(src_pixel2, (24 - SK_G32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()
DSkColor_opts_neon.h18 #define NEON_G (SK_G32_SHIFT / 8)
/external/skia/src/core/
DSkPM4f.h20 G = SK_G32_SHIFT/8,
DSkColorMatrixFilterRowMajor255.cpp19 #define SK_PMORDER_INDEX_G (SK_G32_SHIFT / 8)
112 Sk4f g4 = srcf[SK_G32_SHIFT/8]; in filter_span()
/external/skia/third_party/ktx/
Dktx.cpp540 dstPixel[1] = pixel >> SK_G32_SHIFT; in WriteBitmapToKTX()
/external/skia/src/effects/
DSkTableColorFilter.cpp583 #define SK_G32_INDEX (3 - (SK_G32_SHIFT >> 3))