/external/chromium_org/third_party/skia/include/core/ |
D | SkPostConfig.h | 46 # if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT) 50 # if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT) 165 # define SK_B32_SHIFT 0 macro 192 # define SK_B32_SHIFT 8 macro 197 # define SK_B32_SHIFT 16 macro 208 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
|
D | SkColorPriv.h | 65 SK_B32_SHIFT == SK_RGBA_B32_SHIFT) 71 SK_B32_SHIFT == SK_BGRA_B32_SHIFT) 104 static const uint32_t kRBMask = (0xFF << SK_R32_SHIFT) | (0xFF << SK_B32_SHIFT); in SkSwizzle_RB() 107 unsigned c1 = (c >> SK_B32_SHIFT) & 0xFF; in SkSwizzle_RB() 108 return (c & ~kRBMask) | (c0 << SK_B32_SHIFT) | (c1 << SK_R32_SHIFT); in SkSwizzle_RB() 341 #define SkGetPackedB32(packed) ((uint32_t)((packed) << (24 - SK_B32_SHIFT)) >> 24) 373 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32() 508 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32NoCheck() 577 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16… 582 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16() [all …]
|
/external/skia/include/core/ |
D | SkPostConfig.h | 46 # if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT) 50 # if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT) 165 # define SK_B32_SHIFT 0 macro 192 # define SK_B32_SHIFT 8 macro 197 # define SK_B32_SHIFT 16 macro 208 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
|
D | SkColorPriv.h | 65 SK_B32_SHIFT == SK_RGBA_B32_SHIFT) 71 SK_B32_SHIFT == SK_BGRA_B32_SHIFT) 104 static const uint32_t kRBMask = (0xFF << SK_R32_SHIFT) | (0xFF << SK_B32_SHIFT); in SkSwizzle_RB() 107 unsigned c1 = (c >> SK_B32_SHIFT) & 0xFF; in SkSwizzle_RB() 108 return (c & ~kRBMask) | (c0 << SK_B32_SHIFT) | (c1 << SK_R32_SHIFT); in SkSwizzle_RB() 340 #define SkGetPackedB32(packed) ((uint32_t)((packed) << (24 - SK_B32_SHIFT)) >> 24) 374 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32() 509 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32NoCheck() 578 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16… 583 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16() [all …]
|
D | SkUserConfig.h | 157 #define SK_B32_SHIFT 0 macro
|
/external/skia/src/opts/ |
D | SkColor_opts_SSE2.h | 80 __m128i b = _mm_slli_epi32(src, (24 - SK_B32_SHIFT)); in SkGetPackedB32_SSE2() 109 __m128i db = _mm_slli_epi32(b, SK_B32_SHIFT); in SkPackARGB32_SSE2() 173 SK_B32_SHIFT + (8 - SK_B16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2() 176 SK_B32_SHIFT + (8 - SK_B16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2()
|
D | SkBlitRow_opts_SSE2.cpp | 520 #define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5) 575 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16_SSE2() 661 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16Opaque_SSE2() 906 SK_B32_SHIFT + (8 - SK_B16_BITS)); in S32_D565_Opaque_SSE2() 909 SK_B32_SHIFT + (8 - SK_B16_BITS)); in S32_D565_Opaque_SSE2() 1004 __m128i sb1 = _mm_slli_epi32(src_pixel1, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_SSE2() 1006 __m128i sb2 = _mm_slli_epi32(src_pixel2, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_SSE2() 1130 __m128i sb1 = _mm_slli_epi32(src_pixel1, (24 - SK_B32_SHIFT)); in S32_D565_Opaque_Dither_SSE2() 1132 __m128i sb2 = _mm_slli_epi32(src_pixel2, (24 - SK_B32_SHIFT)); in S32_D565_Opaque_Dither_SSE2() 1284 __m128i sb1 = _mm_slli_epi32(src_pixel1, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2() [all …]
|
D | SkColor_opts_neon.h | 12 #define NEON_B (SK_B32_SHIFT / 8)
|
/external/chromium_org/third_party/skia/src/opts/ |
D | SkColor_opts_SSE2.h | 80 __m128i b = _mm_slli_epi32(src, (24 - SK_B32_SHIFT)); in SkGetPackedB32_SSE2() 109 __m128i db = _mm_slli_epi32(b, SK_B32_SHIFT); in SkPackARGB32_SSE2() 173 SK_B32_SHIFT + (8 - SK_B16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2() 176 SK_B32_SHIFT + (8 - SK_B16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2()
|
D | SkBlitRow_opts_SSE2.cpp | 520 #define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5) 575 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16_SSE2() 661 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16Opaque_SSE2() 906 SK_B32_SHIFT + (8 - SK_B16_BITS)); in S32_D565_Opaque_SSE2() 909 SK_B32_SHIFT + (8 - SK_B16_BITS)); in S32_D565_Opaque_SSE2() 1004 __m128i sb1 = _mm_slli_epi32(src_pixel1, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_SSE2() 1006 __m128i sb2 = _mm_slli_epi32(src_pixel2, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_SSE2() 1130 __m128i sb1 = _mm_slli_epi32(src_pixel1, (24 - SK_B32_SHIFT)); in S32_D565_Opaque_Dither_SSE2() 1132 __m128i sb2 = _mm_slli_epi32(src_pixel2, (24 - SK_B32_SHIFT)); in S32_D565_Opaque_Dither_SSE2() 1284 __m128i sb1 = _mm_slli_epi32(src_pixel1, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2() [all …]
|
D | SkColor_opts_neon.h | 12 #define NEON_B (SK_B32_SHIFT / 8)
|
/external/chromium_org/media/base/simd/ |
D | convert_yuv_to_rgb_c.cc | 21 #define SK_B32_SHIFT 16 macro 28 #define SK_B32_SHIFT 0 63 *reinterpret_cast<uint32*>(rgb_buf) = (packuswb(b) << SK_B32_SHIFT) | in ConvertYUVToRGB32_C() 95 *reinterpret_cast<uint32*>(rgb_buf) = (b << SK_B32_SHIFT) | in ConvertYUVAToARGB_C()
|
/external/chromium_org/third_party/skia/include/config/ |
D | SkUserConfig.h | 147 #define SK_B32_SHIFT 0 macro
|
/external/chromium_org/ui/gfx/codec/ |
D | jpeg_codec.cc | 249 (format == FORMAT_SkBitmap && SK_B32_SHIFT == 0)) { in Encode() 301 (format == FORMAT_SkBitmap && SK_B32_SHIFT == 0)) { in Encode() 511 (format == FORMAT_SkBitmap && SK_B32_SHIFT == 0)) { in Decode() 579 (format == FORMAT_SkBitmap && SK_B32_SHIFT == 0)) { in Decode()
|
/external/chromium_org/cc/resources/ |
D | platform_color.h | 25 return SK_B32_SHIFT ? SOURCE_FORMAT_RGBA8 : SOURCE_FORMAT_BGRA8; in Format()
|
/external/chromium_org/ppapi/shared_impl/ |
D | ppb_image_data_shared.cc | 29 if (SK_B32_SHIFT == 0) in GetNativeImageDataFormat()
|
/external/chromium_org/media/filters/ |
D | skcanvas_video_renderer.cc | 17 #if SK_B32_SHIFT == 0 && SK_G32_SHIFT == 8 && SK_R32_SHIFT == 16 && \ 21 #elif SK_R32_SHIFT == 0 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 16 && \ 180 #if SK_R32_SHIFT == 0 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 16 && \ in ConvertVideoFrameToRGBPixels()
|
/external/chromium_org/skia/config/ |
D | SkUserConfig.h | 185 #define SK_B32_SHIFT 0 macro
|
/external/chromium_org/ui/snapshot/ |
D | snapshot_async.cc | 43 #elif SK_A32_SHIFT == 24 && SK_B32_SHIFT == 16 && SK_G32_SHIFT == 8 in EncodeBitmap()
|
/external/chromium_org/skia/ext/ |
D | skia_utils_ios.mm | 30 && SK_G32_SHIFT == (g) && SK_B32_SHIFT == (b))
|
D | bitmap_platform_device_mac.cc | 27 && SK_G32_SHIFT == (g) && SK_B32_SHIFT == (b)) in CGContextForData()
|
/external/chromium_org/cc/test/ |
D | layer_tree_pixel_test.cc | 284 out_pixels[dest_y + x + SK_B32_SHIFT/8] = pixels.get()[src_y + x + 2]; in CopyTextureMailboxToBitmap() 341 gl_pixels.get()[y + x + 2] = bitmap_pixels[src_y + x + SK_B32_SHIFT/8]; in CopyBitmapToTextureMailboxAsTexture()
|
/external/chromium_org/third_party/skia/src/views/sdl/ |
D | SkOSWindow_SDL.cpp | 51 uint32_t bmask = SK_B32_MASK << SK_B32_SHIFT; in SkOSWindow()
|
/external/skia/src/views/sdl/ |
D | SkOSWindow_SDL.cpp | 51 uint32_t bmask = SK_B32_MASK << SK_B32_SHIFT; in SkOSWindow()
|
/external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/ |
D | JPEGImageEncoder.cpp | 150 cinfo.in_color_space = SK_B32_SHIFT ? JCS_EXT_RGBX : JCS_EXT_BGRX; in encodePixels()
|