Home
last modified time | relevance | path

Searched refs:SK_B32_SHIFT (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/third_party/skia/include/core/
DSkPostConfig.h46 # 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)
DSkColorPriv.h65 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/
DSkPostConfig.h46 # 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)
DSkColorPriv.h65 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 …]
DSkUserConfig.h157 #define SK_B32_SHIFT 0 macro
/external/skia/src/opts/
DSkColor_opts_SSE2.h80 __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()
DSkBlitRow_opts_SSE2.cpp520 #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 …]
DSkColor_opts_neon.h12 #define NEON_B (SK_B32_SHIFT / 8)
/external/chromium_org/third_party/skia/src/opts/
DSkColor_opts_SSE2.h80 __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()
DSkBlitRow_opts_SSE2.cpp520 #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 …]
DSkColor_opts_neon.h12 #define NEON_B (SK_B32_SHIFT / 8)
/external/chromium_org/media/base/simd/
Dconvert_yuv_to_rgb_c.cc21 #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/
DSkUserConfig.h147 #define SK_B32_SHIFT 0 macro
/external/chromium_org/ui/gfx/codec/
Djpeg_codec.cc249 (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/
Dplatform_color.h25 return SK_B32_SHIFT ? SOURCE_FORMAT_RGBA8 : SOURCE_FORMAT_BGRA8; in Format()
/external/chromium_org/ppapi/shared_impl/
Dppb_image_data_shared.cc29 if (SK_B32_SHIFT == 0) in GetNativeImageDataFormat()
/external/chromium_org/media/filters/
Dskcanvas_video_renderer.cc17 #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/
DSkUserConfig.h185 #define SK_B32_SHIFT 0 macro
/external/chromium_org/ui/snapshot/
Dsnapshot_async.cc43 #elif SK_A32_SHIFT == 24 && SK_B32_SHIFT == 16 && SK_G32_SHIFT == 8 in EncodeBitmap()
/external/chromium_org/skia/ext/
Dskia_utils_ios.mm30 && SK_G32_SHIFT == (g) && SK_B32_SHIFT == (b))
Dbitmap_platform_device_mac.cc27 && SK_G32_SHIFT == (g) && SK_B32_SHIFT == (b)) in CGContextForData()
/external/chromium_org/cc/test/
Dlayer_tree_pixel_test.cc284 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/
DSkOSWindow_SDL.cpp51 uint32_t bmask = SK_B32_MASK << SK_B32_SHIFT; in SkOSWindow()
/external/skia/src/views/sdl/
DSkOSWindow_SDL.cpp51 uint32_t bmask = SK_B32_MASK << SK_B32_SHIFT; in SkOSWindow()
/external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/
DJPEGImageEncoder.cpp150 cinfo.in_color_space = SK_B32_SHIFT ? JCS_EXT_RGBX : JCS_EXT_BGRX; in encodePixels()

12