Lines Matching refs:bpp
19 static void copy(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in copy() argument
23 SkASSERT(deltaSrc == bpp); in copy()
25 memcpy(dst, src + offset, width * bpp); in copy()
28 static void sample1(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample1() argument
38 static void sample2(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample2() argument
48 static void sample4(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample4() argument
58 static void sample6(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample6() argument
69 static void sample8(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample8() argument
89 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_grayscale() argument
114 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_n32() argument
137 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_565() argument
160 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_f16() argument
191 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_small_index_to_565() argument
197 const uint8_t mask = (1 << bpp) - 1; in swizzle_small_index_to_565()
198 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_565()
205 index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_565()
212 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_small_index_to_n32() argument
218 const uint8_t mask = (1 << bpp) - 1; in swizzle_small_index_to_n32()
219 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_n32()
226 index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_n32()
235 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_index_to_n32() argument
248 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_index_to_n32_skipZ() argument
276 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_gray_to_n32() argument
287 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in fast_swizzle_gray_to_n32() argument
292 SkASSERT(deltaSrc == bpp); in fast_swizzle_gray_to_n32()
314 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in swizzle_grayalpha_to_n32_unpremul() argument
326 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in fast_swizzle_grayalpha_to_n32_unpremul() argument
331 SkASSERT(deltaSrc == bpp); in fast_swizzle_grayalpha_to_n32_unpremul()
339 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in swizzle_grayalpha_to_n32_premul() argument
352 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in fast_swizzle_grayalpha_to_n32_premul() argument
357 SkASSERT(deltaSrc == bpp); in fast_swizzle_grayalpha_to_n32_premul()
364 static void swizzle_grayalpha_to_a8(void* dst, const uint8_t* src, int width, int bpp, in swizzle_grayalpha_to_a8() argument
378 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_bgr_to_565() argument
392 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_rgb_to_rgba() argument
404 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_rgb_to_bgra() argument
415 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, in fast_swizzle_rgb_to_rgba() argument
420 SkASSERT(deltaSrc == bpp); in fast_swizzle_rgb_to_rgba()
426 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, in fast_swizzle_rgb_to_bgra() argument
431 SkASSERT(deltaSrc == bpp); in fast_swizzle_rgb_to_bgra()
452 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_rgba_to_rgba_premul() argument
464 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_rgba_to_bgra_premul() argument
475 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, in fast_swizzle_rgba_to_rgba_premul() argument
480 SkASSERT(deltaSrc == bpp); in fast_swizzle_rgba_to_rgba_premul()
486 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, in fast_swizzle_rgba_to_bgra_premul() argument
491 SkASSERT(deltaSrc == bpp); in fast_swizzle_rgba_to_bgra_premul()
498 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_rgba_to_bgra_unpremul() argument
510 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in fast_swizzle_rgba_to_bgra_unpremul() argument
515 SkASSERT(deltaSrc == bpp); in fast_swizzle_rgba_to_bgra_unpremul()
523 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in swizzle_rgb16_to_rgba() argument
538 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in swizzle_rgb16_to_bgra() argument
553 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in swizzle_rgb16_to_565() argument
568 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in swizzle_rgba16_to_rgba_unpremul() argument
583 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in swizzle_rgba16_to_rgba_premul() argument
598 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in swizzle_rgba16_to_bgra_unpremul() argument
613 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in swizzle_rgba16_to_bgra_premul() argument
674 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_cmyk_to_rgba() argument
690 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_cmyk_to_bgra() argument
705 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in fast_swizzle_cmyk_to_rgba() argument
710 SkASSERT(deltaSrc == bpp); in fast_swizzle_cmyk_to_rgba()
716 void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in fast_swizzle_cmyk_to_bgra() argument
721 SkASSERT(deltaSrc == bpp); in fast_swizzle_cmyk_to_bgra()
728 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_cmyk_to_565() argument
745 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in SkipLeadingGrayAlphaZerosThen() argument
758 proc(dst32, (const uint8_t*)src16, width, bpp, deltaSrc, 0, ctable); in SkipLeadingGrayAlphaZerosThen()
764 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in SkipLeading8888ZerosThen() argument
777 proc(dst32, (const uint8_t*)src32, dstWidth, bpp, deltaSrc, 0, ctable); in SkipLeading8888ZerosThen()