Home
last modified time | relevance | path

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

12

/external/skia/include/core/
DSkPostConfig.h52 # if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT)
56 # if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT)
181 # define SK_B32_SHIFT 0 macro
204 # define SK_B32_SHIFT 8 macro
209 # define SK_B32_SHIFT 16 macro
220 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
DSkColorPriv.h205 #define SkGetPackedB32(packed) ((uint32_t)((packed) << (24 - SK_B32_SHIFT)) >> 24)
239 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32()
364 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32NoCheck()
433 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16…
438 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()
736 (SkGetPackedB4444(c) << SK_B32_SHIFT); in SkPixel4444ToPixel32()
744 (((c >> (SK_B32_SHIFT + 4)) & 0xF) << SK_B4444_SHIFT); in SkPixel32ToPixel4444()
776 (((c >> SK_B32_SHIFT) & 0xFF) << 16) | in SkExpand_8888()
786 (((c >> 16) & 0xFF) << SK_B32_SHIFT) | in SkCompact_8888()
797 (((c >> (SK_B32_SHIFT + 4)) & 0xF) << 16) | in SkExpand32_4444()
DSkUserConfig.h224 #define SK_B32_SHIFT 0 macro
/external/chromium_org/third_party/skia/include/core/
DSkPostConfig.h52 # if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT)
56 # if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT)
181 # define SK_B32_SHIFT 0 macro
204 # define SK_B32_SHIFT 8 macro
209 # define SK_B32_SHIFT 16 macro
220 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
DSkColorPriv.h205 #define SkGetPackedB32(packed) ((uint32_t)((packed) << (24 - SK_B32_SHIFT)) >> 24)
239 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32()
364 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32NoCheck()
433 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16…
438 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()
736 (SkGetPackedB4444(c) << SK_B32_SHIFT); in SkPixel4444ToPixel32()
744 (((c >> (SK_B32_SHIFT + 4)) & 0xF) << SK_B4444_SHIFT); in SkPixel32ToPixel4444()
776 (((c >> SK_B32_SHIFT) & 0xFF) << 16) | in SkExpand_8888()
786 (((c >> 16) & 0xFF) << SK_B32_SHIFT) | in SkCompact_8888()
797 (((c >> (SK_B32_SHIFT + 4)) & 0xF) << 16) | in SkExpand32_4444()
/external/chromium_org/media/base/simd/
Dconvert_yuv_to_rgb_c.cc21 #define SK_B32_SHIFT 16 macro
28 #define SK_B32_SHIFT 0
62 *reinterpret_cast<uint32*>(rgb_buf) = (packuswb(b) << SK_B32_SHIFT) | in ConvertYUVToRGB32_C()
93 *reinterpret_cast<uint32*>(rgb_buf) = (b << SK_B32_SHIFT) | in ConvertYUVAToARGB_C()
/external/chromium_org/third_party/skia/include/config/
DSkUserConfig.h181 #define SK_B32_SHIFT 0 macro
/external/chromium_org/ui/gfx/codec/
Djpeg_codec.cc254 (format == FORMAT_SkBitmap && SK_B32_SHIFT == 0)) { in Encode()
306 (format == FORMAT_SkBitmap && SK_B32_SHIFT == 0)) { in Encode()
520 (format == FORMAT_SkBitmap && SK_B32_SHIFT == 0)) { in Decode()
588 (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/skia/config/
DSkUserConfig.h185 #define SK_B32_SHIFT 0 macro
/external/chromium_org/content/renderer/media/
Drenderer_gpu_video_accelerator_factories.cc264 #if SK_B32_SHIFT == 0 && SK_G32_SHIFT == 8 && SK_R32_SHIFT == 16 && \ in AsyncReadPixels()
267 #elif SK_R32_SHIFT == 0 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 16 && \ in AsyncReadPixels()
/external/chromium_org/third_party/skia/src/core/
DSkConfig8888.cpp40 static const int SK_NATIVE_B_IDX = SK_B32_SHIFT / 8;
45 static const int SK_NATIVE_B_IDX = 3 - (SK_B32_SHIFT / 8);
/external/skia/src/core/
DSkConfig8888.cpp40 static const int SK_NATIVE_B_IDX = SK_B32_SHIFT / 8;
45 static const int SK_NATIVE_B_IDX = 3 - (SK_B32_SHIFT / 8);
/external/chromium_org/third_party/skia/src/opts/
DSkColor_opts_neon.h12 #define NEON_B (SK_B32_SHIFT / 8)
DSkBlitRow_opts_SSE2.cpp521 #define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5)
576 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16_SSE2()
662 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16Opaque_SSE2()
/external/skia/src/opts/
DSkColor_opts_neon.h12 #define NEON_B (SK_B32_SHIFT / 8)
DSkBlitRow_opts_SSE2.cpp521 #define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5)
576 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16_SSE2()
662 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16Opaque_SSE2()
/external/chromium_org/cc/test/
Dlayer_tree_pixel_test.cc299 out_pixels[dest_y + x + SK_B32_SHIFT/8] = pixels.get()[src_y + x + 2]; in CopyTextureMailboxToBitmap()
362 gl_pixels.get()[y + x + 2] = bitmap_pixels[src_y + x + SK_B32_SHIFT/8]; in CopyBitmapToTextureMailboxAsTexture()
/external/skia/src/views/sdl/
DSkOSWindow_SDL.cpp50 uint32_t bmask = SK_B32_MASK << SK_B32_SHIFT; in SkOSWindow()
/external/chromium_org/skia/ext/
Dskia_utils_ios.mm36 && 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/third_party/skia/src/views/sdl/
DSkOSWindow_SDL.cpp50 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()
/external/chromium_org/third_party/skia/src/effects/
DSkTableColorFilter.cpp415 #define SK_B32_INDEX (3 - (SK_B32_SHIFT >> 3))

12