Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/skia/include/core/
DSkPostConfig.h45 #ifdef SK_A32_SHIFT
161 # ifndef SK_A32_SHIFT
162 # define SK_A32_SHIFT 24 macro
188 #ifndef SK_A32_SHIFT
193 # define SK_A32_SHIFT 0 macro
198 # define SK_A32_SHIFT 24 macro
208 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
DSkColorPriv.h62 (SK_A32_SHIFT == SK_RGBA_A32_SHIFT && \
68 (SK_A32_SHIFT == SK_BGRA_A32_SHIFT && \
338 #define SkGetPackedA32(packed) ((uint32_t)((packed) << (24 - SK_A32_SHIFT)) >> 24)
372 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()
507 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32NoCheck()
847 uint32_t d = (SkGetPackedA4444(c) << SK_A32_SHIFT) | in SkPixel4444ToPixel32()
855 return (((c >> (SK_A32_SHIFT + 4)) & 0xF) << SK_A4444_SHIFT) | in SkPixel32ToPixel4444()
891 (((c >> SK_A32_SHIFT) & 0xFF) << 0); in SkExpand_8888()
901 (((c >> 0) & 0xFF) << SK_A32_SHIFT); in SkCompact_8888()
912 (((c >> (SK_A32_SHIFT + 4)) & 0xF) << 0); in SkExpand32_4444()
/external/skia/include/core/
DSkPostConfig.h45 #ifdef SK_A32_SHIFT
161 # ifndef SK_A32_SHIFT
162 # define SK_A32_SHIFT 24 macro
188 #ifndef SK_A32_SHIFT
193 # define SK_A32_SHIFT 0 macro
198 # define SK_A32_SHIFT 24 macro
208 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
DSkColorPriv.h62 (SK_A32_SHIFT == SK_RGBA_A32_SHIFT && \
68 (SK_A32_SHIFT == SK_BGRA_A32_SHIFT && \
337 #define SkGetPackedA32(packed) ((uint32_t)((packed) << (24 - SK_A32_SHIFT)) >> 24)
373 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()
508 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32NoCheck()
876 uint32_t d = (SkGetPackedA4444(c) << SK_A32_SHIFT) | in SkPixel4444ToPixel32()
884 return (((c >> (SK_A32_SHIFT + 4)) & 0xF) << SK_A4444_SHIFT) | in SkPixel32ToPixel4444()
920 (((c >> SK_A32_SHIFT) & 0xFF) << 0); in SkExpand_8888()
930 (((c >> 0) & 0xFF) << SK_A32_SHIFT); in SkCompact_8888()
941 (((c >> (SK_A32_SHIFT + 4)) & 0xF) << 0); in SkExpand32_4444()
DSkUserConfig.h158 #define SK_A32_SHIFT 24 macro
/external/chromium_org/media/base/simd/
Dconvert_yuv_to_rgb_c.cc22 #define SK_A32_SHIFT 24 macro
31 #define SK_A32_SHIFT 24
66 (packuswb(a) << SK_A32_SHIFT); in ConvertYUVToRGB32_C()
98 (a << SK_A32_SHIFT); in ConvertYUVAToARGB_C()
/external/chromium_org/ui/snapshot/
Dsnapshot_async.cc41 #if SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 in EncodeBitmap()
43 #elif SK_A32_SHIFT == 24 && SK_B32_SHIFT == 16 && SK_G32_SHIFT == 8 in EncodeBitmap()
/external/chromium_org/third_party/skia/include/config/
DSkUserConfig.h148 #define SK_A32_SHIFT 24 macro
/external/skia/src/effects/
DSkPixelXorXfermode.cpp20 res |= (SK_A32_MASK << SK_A32_SHIFT); // force it to be opaque in xferColor()
/external/chromium_org/third_party/skia/src/effects/
DSkPixelXorXfermode.cpp20 res |= (SK_A32_MASK << SK_A32_SHIFT); // force it to be opaque in xferColor()
/external/skia/src/core/
DSkShader.cpp149 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha()
168 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha()
185 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha()
/external/chromium_org/third_party/skia/src/core/
DSkShader.cpp158 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha()
177 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha()
194 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha()
/external/chromium_org/media/filters/
Dskcanvas_video_renderer.cc18 SK_A32_SHIFT == 24
22 SK_A32_SHIFT == 24
181 SK_A32_SHIFT == 24 in ConvertVideoFrameToRGBPixels()
/external/chromium_org/skia/config/
DSkUserConfig.h182 #define SK_A32_SHIFT 24 macro
/external/chromium_org/third_party/skia/tools/
Dpicture_utils.cpp28 *bitmap.getAddr32(x, y) |= (SK_A32_MASK << SK_A32_SHIFT); in force_all_opaque()
/external/skia/tools/
Dpicture_utils.cpp28 *bitmap.getAddr32(x, y) |= (SK_A32_MASK << SK_A32_SHIFT); in force_all_opaque()
/external/skia/src/opts/
DSkColor_opts_SSE2.h65 __m128i a = _mm_slli_epi32(src, (24 - SK_A32_SHIFT)); in SkGetPackedA32_SSE2()
106 __m128i da = _mm_slli_epi32(a, SK_A32_SHIFT); in SkPackARGB32_SSE2()
DSkColor_opts_neon.h9 #define NEON_A (SK_A32_SHIFT / 8)
DSkBlitRow_opts_SSE2.cpp710 _mm_set1_epi32(SK_A32_MASK << SK_A32_SHIFT)); in SkBlendLCD16Opaque_SSE2()
983 __m128i sa1 = _mm_slli_epi32(src_pixel1, (24 - SK_A32_SHIFT)); in S32A_D565_Opaque_SSE2()
985 __m128i sa2 = _mm_slli_epi32(src_pixel2, (24 - SK_A32_SHIFT)); in S32A_D565_Opaque_SSE2()
1242 __m128i sa1 = _mm_slli_epi32(src_pixel1, (24 - SK_A32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()
1244 __m128i sa2 = _mm_slli_epi32(src_pixel2, (24 - SK_A32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()
/external/chromium_org/third_party/skia/src/opts/
DSkColor_opts_SSE2.h65 __m128i a = _mm_slli_epi32(src, (24 - SK_A32_SHIFT)); in SkGetPackedA32_SSE2()
106 __m128i da = _mm_slli_epi32(a, SK_A32_SHIFT); in SkPackARGB32_SSE2()
DSkColor_opts_neon.h9 #define NEON_A (SK_A32_SHIFT / 8)
DSkBlitRow_opts_SSE2.cpp710 _mm_set1_epi32(SK_A32_MASK << SK_A32_SHIFT)); in SkBlendLCD16Opaque_SSE2()
983 __m128i sa1 = _mm_slli_epi32(src_pixel1, (24 - SK_A32_SHIFT)); in S32A_D565_Opaque_SSE2()
985 __m128i sa2 = _mm_slli_epi32(src_pixel2, (24 - SK_A32_SHIFT)); in S32A_D565_Opaque_SSE2()
1242 __m128i sa1 = _mm_slli_epi32(src_pixel1, (24 - SK_A32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()
1244 __m128i sa2 = _mm_slli_epi32(src_pixel2, (24 - SK_A32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()
/external/chromium_org/skia/ext/
Dskia_utils_ios.mm29 (SK_A32_SHIFT == (a) && SK_R32_SHIFT == (r) \
/external/chromium_org/cc/test/
Dlayer_tree_pixel_test.cc285 out_pixels[dest_y + x + SK_A32_SHIFT/8] = pixels.get()[src_y + x + 3]; in CopyTextureMailboxToBitmap()
342 gl_pixels.get()[y + x + 3] = bitmap_pixels[src_y + x + SK_A32_SHIFT/8]; in CopyBitmapToTextureMailboxAsTexture()
/external/chromium_org/third_party/skia/src/views/sdl/
DSkOSWindow_SDL.cpp52 uint32_t amask = SK_A32_MASK << SK_A32_SHIFT; in SkOSWindow()

123