/external/skia/src/images/ |
D | SkScaledBitmapSampler.cpp | 24 static bool Sample_Gray_D8888(void* SK_RESTRICT dstRow, in Sample_Gray_D8888() 25 const uint8_t* SK_RESTRICT src, in Sample_Gray_D8888() 27 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_Gray_D8888() 35 static bool Sample_RGBx_D8888(void* SK_RESTRICT dstRow, in Sample_RGBx_D8888() 36 const uint8_t* SK_RESTRICT src, in Sample_RGBx_D8888() 38 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_RGBx_D8888() 46 static bool Sample_RGBA_D8888(void* SK_RESTRICT dstRow, in Sample_RGBA_D8888() 47 const uint8_t* SK_RESTRICT src, in Sample_RGBA_D8888() 49 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_RGBA_D8888() 62 static bool Sample_Gray_D565(void* SK_RESTRICT dstRow, in Sample_Gray_D565() [all …]
|
D | SkImageDecoder_libpng.cpp | 810 typedef void (*transform_scanline_proc)(const char* SK_RESTRICT src, 811 int width, char* SK_RESTRICT dst); 813 static void transform_scanline_565(const char* SK_RESTRICT src, int width, in transform_scanline_565() 814 char* SK_RESTRICT dst) { in transform_scanline_565() 815 const uint16_t* SK_RESTRICT srcP = (const uint16_t*)src; in transform_scanline_565() 824 static void transform_scanline_888(const char* SK_RESTRICT src, int width, in transform_scanline_888() 825 char* SK_RESTRICT dst) { in transform_scanline_888() 826 const SkPMColor* SK_RESTRICT srcP = (const SkPMColor*)src; in transform_scanline_888() 835 static void transform_scanline_444(const char* SK_RESTRICT src, int width, in transform_scanline_444() 836 char* SK_RESTRICT dst) { in transform_scanline_444() [all …]
|
D | SkScaledBitmapSampler.h | 35 bool next(const uint8_t* SK_RESTRICT src); 46 typedef bool (*RowProc)(void* SK_RESTRICT dstRow, 47 const uint8_t* SK_RESTRICT src,
|
D | SkImageDecoder_libjpeg.cpp | 785 typedef void (*WriteScanline)(uint8_t* SK_RESTRICT dst, 786 const void* SK_RESTRICT src, int width, 787 const SkPMColor* SK_RESTRICT ctable); 789 static void Write_32_YUV(uint8_t* SK_RESTRICT dst, in Write_32_YUV() 790 const void* SK_RESTRICT srcRow, int width, in Write_32_YUV() 792 const uint32_t* SK_RESTRICT src = (const uint32_t*)srcRow; in Write_32_YUV() 806 static void Write_4444_YUV(uint8_t* SK_RESTRICT dst, in Write_4444_YUV() 807 const void* SK_RESTRICT srcRow, int width, in Write_4444_YUV() 809 const SkPMColor16* SK_RESTRICT src = (const SkPMColor16*)srcRow; in Write_4444_YUV() 823 static void Write_16_YUV(uint8_t* SK_RESTRICT dst, in Write_16_YUV() [all …]
|
D | SkImageDecoder_libwebp.cpp | 383 const SkPMColor* SK_RESTRICT ctable); 387 const uint32_t* SK_RESTRICT src = (const uint32_t*)in; in ARGB_8888_To_RGB() 399 const uint16_t* SK_RESTRICT src = (const uint16_t*)in; in RGB_565_To_RGB() 411 const SkPMColor16* SK_RESTRICT src = (const SkPMColor16*)in; in ARGB_4444_To_RGB() 422 const SkPMColor* SK_RESTRICT ctable) { in Index8_To_RGB() 423 const uint8_t* SK_RESTRICT src = (const uint8_t*)in; in Index8_To_RGB()
|
/external/skia/src/core/ |
D | SkSpriteBlitter_ARGB32.cpp | 47 SK_RESTRICT uint32_t* dst = fDevice->getAddr32(x, y); in blitRect() 48 const SK_RESTRICT uint32_t* src = fSource->getAddr32(x - fLeft, in blitRect() 57 dst = (SK_RESTRICT uint32_t*)((char*)dst + dstRB); in blitRect() 58 src = (const SK_RESTRICT uint32_t*)((const char*)src + srcRB); in blitRect() 135 SK_RESTRICT uint32_t* dst = fDevice->getAddr32(x, y); in blitRect() 136 const SK_RESTRICT uint32_t* src = fSource->getAddr32(x - fLeft, in blitRect() 157 dst = (SK_RESTRICT uint32_t*)((char*)dst + dstRB); in blitRect() 158 src = (const SK_RESTRICT uint32_t*)((const char*)src + srcRB); in blitRect() 166 static void fillbuffer(SK_RESTRICT SkPMColor dst[], in fillbuffer() 167 const SK_RESTRICT SkPMColor16 src[], int count) { in fillbuffer() [all …]
|
D | SkBlitRow_D4444.cpp | 7 static void S32_D4444_Opaque(uint16_t* SK_RESTRICT dst, in S32_D4444_Opaque() 8 const SkPMColor* SK_RESTRICT src, int count, in S32_D4444_Opaque() 22 static void S32_D4444_Blend(uint16_t* SK_RESTRICT dst, in S32_D4444_Blend() 23 const SkPMColor* SK_RESTRICT src, int count, in S32_D4444_Blend() 42 static void S32A_D4444_Opaque(uint16_t* SK_RESTRICT dst, in S32A_D4444_Opaque() 43 const SkPMColor* SK_RESTRICT src, int count, in S32A_D4444_Opaque() 64 static void S32A_D4444_Blend(uint16_t* SK_RESTRICT dst, in S32A_D4444_Blend() 65 const SkPMColor* SK_RESTRICT src, int count, in S32A_D4444_Blend() 88 static void S32_D4444_Opaque_Dither(uint16_t* SK_RESTRICT dst, in S32_D4444_Opaque_Dither() 89 const SkPMColor* SK_RESTRICT src, in S32_D4444_Opaque_Dither() [all …]
|
D | SkBitmapProcState_sample.h | 20 const uint32_t* SK_RESTRICT xy, in MAKENAME() 21 int count, DSTTYPE* SK_RESTRICT colors) { in MAKENAME() 29 const char* SK_RESTRICT srcAddr = (const char*)s.fBitmap->getPixels(); in MAKENAME() 62 const uint32_t* SK_RESTRICT xy, in MAKENAME() 63 int count, DSTTYPE* SK_RESTRICT colors) { in MAKENAME() 72 const SRCTYPE* SK_RESTRICT srcAddr = (const SRCTYPE*)s.fBitmap->getPixels(); in MAKENAME() 102 const uint16_t* SK_RESTRICT xx = (const uint16_t*)(xy); in MAKENAME() 117 const uint32_t* SK_RESTRICT xy, in MAKENAME() 118 int count, DSTTYPE* SK_RESTRICT colors) { in MAKENAME() 126 const char* SK_RESTRICT srcAddr = (const char*)s.fBitmap->getPixels(); in MAKENAME() [all …]
|
D | SkBlitter_RGB16.cpp | 205 void SkRGB16_Black_Blitter::blitMask(const SkMask& SK_RESTRICT mask, in blitMask() 206 const SkIRect& SK_RESTRICT clip) in blitMask() 207 SK_RESTRICT { in blitMask() 211 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); in blitMask() 212 const uint8_t* SK_RESTRICT alpha = mask.getAddr(clip.fLeft, clip.fTop); in blitMask() 237 const SkAlpha* SK_RESTRICT antialias, in blitAntiH() 238 const int16_t* SK_RESTRICT runs) in blitAntiH() 239 SK_RESTRICT { in blitAntiH() 240 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); in blitAntiH() 276 void SkRGB16_Opaque_Blitter::blitH(int x, int y, int width) SK_RESTRICT { in blitH() [all …]
|
D | SkBlitRow_D16.cpp | 7 static void S32_D565_Opaque(uint16_t* SK_RESTRICT dst, in S32_D565_Opaque() 8 const SkPMColor* SK_RESTRICT src, int count, in S32_D565_Opaque() 21 static void S32_D565_Blend(uint16_t* SK_RESTRICT dst, in S32_D565_Blend() 22 const SkPMColor* SK_RESTRICT src, int count, in S32_D565_Blend() 40 static void S32A_D565_Opaque(uint16_t* SK_RESTRICT dst, in S32A_D565_Opaque() 41 const SkPMColor* SK_RESTRICT src, int count, in S32A_D565_Opaque() 58 static void S32A_D565_Blend(uint16_t* SK_RESTRICT dst, in S32A_D565_Blend() 59 const SkPMColor* SK_RESTRICT src, int count, in S32A_D565_Blend() 82 static void S32_D565_Opaque_Dither(uint16_t* SK_RESTRICT dst, in S32_D565_Opaque_Dither() 83 const SkPMColor* SK_RESTRICT src, in S32_D565_Opaque_Dither() [all …]
|
D | SkPackBits.cpp | 5 static inline void small_memcpy(void* SK_RESTRICT dst, in small_memcpy() 6 const void* SK_RESTRICT src, int n) { in small_memcpy() 154 static uint8_t* flush_diff16(uint8_t SK_RESTRICT dst[], in flush_diff16() 155 const uint16_t SK_RESTRICT src[], int count) { in flush_diff16() 170 static uint8_t* flush_diff8(uint8_t SK_RESTRICT dst[], in flush_diff8() 171 const uint8_t SK_RESTRICT src[], int count) { in flush_diff8() 186 size_t SkPackBits::Pack16(const uint16_t SK_RESTRICT src[], int count, in Pack16() 187 uint8_t SK_RESTRICT dst[]) { in Pack16() 229 size_t SkPackBits::Pack8(const uint8_t SK_RESTRICT src[], int count, in Pack8() 230 uint8_t SK_RESTRICT dst[]) { in Pack8() [all …]
|
D | SkBlitRow_D32.cpp | 7 static void S32_Opaque_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32_Opaque_BlitRow32() 8 const SkPMColor* SK_RESTRICT src, in S32_Opaque_BlitRow32() 14 static void S32_Blend_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32_Blend_BlitRow32() 15 const SkPMColor* SK_RESTRICT src, in S32_Blend_BlitRow32() 29 const SkPMColor* SK_RESTRICT srcEnd = src + count; in S32_Blend_BlitRow32() 48 static void S32A_Opaque_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32A_Opaque_BlitRow32() 49 const SkPMColor* SK_RESTRICT src, in S32A_Opaque_BlitRow32() 60 const SkPMColor* SK_RESTRICT srcEnd = src + count; in S32A_Opaque_BlitRow32() 89 static void S32A_Blend_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32A_Blend_BlitRow32() 90 const SkPMColor* SK_RESTRICT src, in S32A_Blend_BlitRow32() [all …]
|
D | SkXfermode.cpp | 480 void SkXfermode::xfer32(SK_RESTRICT SkPMColor dst[], in xfer32() 481 const SK_RESTRICT SkPMColor src[], int count, in xfer32() 482 const SK_RESTRICT SkAlpha aa[]) { in xfer32() 504 void SkXfermode::xfer16(SK_RESTRICT uint16_t dst[], in xfer16() 505 const SK_RESTRICT SkPMColor src[], int count, in xfer16() 506 const SK_RESTRICT SkAlpha aa[]) { in xfer16() 529 void SkXfermode::xfer4444(SK_RESTRICT SkPMColor16 dst[], in xfer4444() 530 const SK_RESTRICT SkPMColor src[], int count, in xfer4444() 531 const SK_RESTRICT SkAlpha aa[]) in xfer4444() 555 void SkXfermode::xferA8(SK_RESTRICT SkAlpha dst[], in xferA8() [all …]
|
D | SkSpriteBlitterTemplate.h | 30 SK_RESTRICT SkSPRITE_DST_TYPE* dst =fDevice->SkSPRITE_DST_GETADDR(x, y); in blitRect() 31 const SK_RESTRICT SkSPRITE_SRC_TYPE* src = in blitRect() 58 dst = (SK_RESTRICT SkSPRITE_DST_TYPE*)((char*)dst + dstRB); in blitRect() 59 src = (const SK_RESTRICT SkSPRITE_SRC_TYPE*) in blitRect()
|
D | SkBitmapProcState_shaderproc.h | 21 DSTTYPE* SK_RESTRICT colors, int count) { in SCALE_FILTER_NAME() 33 const SRCTYPE* SK_RESTRICT row0; in SCALE_FILTER_NAME() 34 const SRCTYPE* SK_RESTRICT row1; in SCALE_FILTER_NAME() 48 const char* SK_RESTRICT srcAddr = (const char*)s.fBitmap->getPixels(); in SCALE_FILTER_NAME()
|
D | SkSpriteBlitter_RGB16.cpp | 66 SK_RESTRICT uint16_t* dst = fDevice->getAddr16(x, y); in blitRect() 67 const SK_RESTRICT uint16_t* src = fSource->getAddr16(x - fLeft, in blitRect() 179 static void blitrow_d16_si8(SK_RESTRICT uint16_t* dst, in blitrow_d16_si8() 180 SK_RESTRICT const uint8_t* src, int count, in blitrow_d16_si8() 181 SK_RESTRICT const uint16_t* ctable) { in blitrow_d16_si8() 293 SK_RESTRICT uint16_t* dst = fDevice->getAddr16(x, y); in blitRect() 294 const SK_RESTRICT SkPMColor* src = fSource->getAddr32(x - fLeft, in blitRect() 304 dst = (SK_RESTRICT uint16_t*)((char*)dst + dstRB); in blitRect() 305 src = (const SK_RESTRICT SkPMColor*)((const char*)src + srcRB); in blitRect()
|
D | SkBitmapProcState_matrix.h | 128 uint32_t* SK_RESTRICT xy, in PERSP_NOFILTER_NAME() 141 const SkFixed* SK_RESTRICT srcXY = iter.getXY(); in PERSP_NOFILTER_NAME() 238 uint32_t* SK_RESTRICT xy, int count, in PERSP_FILTER_NAME() 253 const SkFixed* SK_RESTRICT srcXY = iter.getXY(); in PERSP_FILTER_NAME()
|
D | SkBitmapProcState_matrix_repeat.h | 307 uint32_t* SK_RESTRICT xy, in PERSP_NOFILTER_NAME() 320 const SkFixed* SK_RESTRICT srcXY = iter.getXY(); in PERSP_NOFILTER_NAME() 512 uint32_t* SK_RESTRICT xy, int count, in PERSP_FILTER_NAME() 531 const SkFixed* SK_RESTRICT srcXY = iter.getXY(); in PERSP_FILTER_NAME()
|
/external/skia/src/opts/ |
D | SkBitmapProcState_opts_arm.cpp | 28 const uint32_t* SK_RESTRICT xy, 30 uint16_t* SK_RESTRICT colors) __attribute__((optimize("O1"))); 33 const uint32_t* SK_RESTRICT xy, in SI8_D16_nofilter_DX_arm() 34 int count, uint16_t* SK_RESTRICT colors) { in SI8_D16_nofilter_DX_arm() 39 const uint16_t* SK_RESTRICT table = s.fBitmap->getColorTable()->lock16BitCache(); in SI8_D16_nofilter_DX_arm() 40 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels(); in SI8_D16_nofilter_DX_arm() 57 const uint16_t* SK_RESTRICT xx = (const uint16_t*)(xy + 1); in SI8_D16_nofilter_DX_arm() 119 const uint32_t* SK_RESTRICT xy, 121 SkPMColor* SK_RESTRICT colors) __attribute__((optimize("O1"))); 124 const uint32_t* SK_RESTRICT xy, in SI8_opaque_D32_nofilter_DX_arm() [all …]
|
D | SkBlitRow_opts_SSE2.h | 20 void S32_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, 21 const SkPMColor* SK_RESTRICT src, 24 void S32A_Opaque_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, 25 const SkPMColor* SK_RESTRICT src, 28 void S32A_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, 29 const SkPMColor* SK_RESTRICT src,
|
D | SkBlitRow_opts_arm.cpp | 31 static void S32A_D565_Opaque_neon(uint16_t* SK_RESTRICT dst, in S32A_D565_Opaque_neon() 32 const SkPMColor* SK_RESTRICT src, int count, in S32A_D565_Opaque_neon() 37 uint16_t* SK_RESTRICT keep_dst; in S32A_D565_Opaque_neon() 113 uint16_t* SK_RESTRICT keep_dst; in S32A_D565_Opaque_neon() 205 static void S32A_D565_Blend_neon(uint16_t* SK_RESTRICT dst, in S32A_D565_Blend_neon() 206 const SkPMColor* SK_RESTRICT src, int count, in S32A_D565_Blend_neon() 435 static void S32A_Opaque_BlitRow32_neon(SkPMColor* SK_RESTRICT dst, in S32A_Opaque_BlitRow32_neon() 436 const SkPMColor* SK_RESTRICT src, in S32A_Opaque_BlitRow32_neon() 565 static void S32A_Opaque_BlitRow32_arm(SkPMColor* SK_RESTRICT dst, in S32A_Opaque_BlitRow32_arm() 566 const SkPMColor* SK_RESTRICT src, in S32A_Opaque_BlitRow32_arm() [all …]
|
D | SkBlitRow_opts_SSE2.cpp | 27 void S32_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, in S32_Blend_BlitRow32_SSE2() 28 const SkPMColor* SK_RESTRICT src, in S32_Blend_BlitRow32_SSE2() 100 void S32A_Opaque_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, in S32A_Opaque_BlitRow32_SSE2() 101 const SkPMColor* SK_RESTRICT src, in S32A_Opaque_BlitRow32_SSE2() 225 void S32A_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, in S32A_Blend_BlitRow32_SSE2() 226 const SkPMColor* SK_RESTRICT src, in S32A_Blend_BlitRow32_SSE2()
|
/external/skia/src/effects/ |
D | SkColorMatrixFilter.cpp | 18 const int32_t* SK_RESTRICT array = state->fArray; in General() 20 int32_t* SK_RESTRICT result = state->fResult; in General() 30 const int32_t* SK_RESTRICT array = state->fArray; in General16() 31 int32_t* SK_RESTRICT result = state->fResult; in General16() 41 const int32_t* SK_RESTRICT array = state->fArray; in AffineAdd() 43 int32_t* SK_RESTRICT result = state->fResult; in AffineAdd() 53 const int32_t* SK_RESTRICT array = state->fArray; in AffineAdd16() 54 int32_t* SK_RESTRICT result = state->fResult; in AffineAdd16() 64 const int32_t* SK_RESTRICT array = state->fArray; in ScaleAdd() 66 int32_t* SK_RESTRICT result = state->fResult; in ScaleAdd() [all …]
|
/external/skia/include/core/ |
D | SkBlitRow.h | 28 typedef void (*Proc)(uint16_t* SK_RESTRICT dst, 29 const SkPMColor* SK_RESTRICT src, 54 typedef void (*Proc32)(uint32_t* SK_RESTRICT dst, 55 const SkPMColor* SK_RESTRICT src,
|
D | SkPreConfig.h | 67 #define SK_RESTRICT macro 73 #if !defined(SK_RESTRICT) 74 #define SK_RESTRICT __restrict__ macro
|