Home
last modified time | relevance | path

Searched refs:dstRow (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/images/
DSkScaledBitmapSampler.cpp17 static bool Sample_Gray_D8888(void* SK_RESTRICT dstRow, in Sample_Gray_D8888() argument
20 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_Gray_D8888()
34 static bool Sample_RGBx_D8888(void* SK_RESTRICT dstRow, in Sample_RGBx_D8888() argument
37 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_RGBx_D8888()
51 static bool Sample_RGBA_D8888(void* SK_RESTRICT dstRow, in Sample_RGBA_D8888() argument
54 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_RGBA_D8888()
65 static bool Sample_RGBA_D8888_Unpremul(void* SK_RESTRICT dstRow, in Sample_RGBA_D8888_Unpremul() argument
69 uint32_t* SK_RESTRICT dst = reinterpret_cast<uint32_t*>(dstRow); in Sample_RGBA_D8888_Unpremul()
80 static bool Sample_RGBA_D8888_SkipZ(void* SK_RESTRICT dstRow, in Sample_RGBA_D8888_SkipZ() argument
84 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_RGBA_D8888_SkipZ()
[all …]
DSkScaledBitmapSampler.h65 typedef bool (*RowProc)(void* SK_RESTRICT dstRow,
/external/skia/src/codec/
DSkSwizzler.cpp25 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, in swizzle_small_index_to_index() argument
28 uint8_t* SK_RESTRICT dst = (uint8_t*) dstRow; in swizzle_small_index_to_index()
48 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, in swizzle_small_index_to_n32() argument
51 SkPMColor* SK_RESTRICT dst = (SkPMColor*) dstRow; in swizzle_small_index_to_n32()
74 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, in swizzle_index_to_index() argument
77 uint8_t* SK_RESTRICT dst = (uint8_t*) dstRow; in swizzle_index_to_index()
90 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, in swizzle_index_to_n32() argument
93 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in swizzle_index_to_n32()
104 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, in swizzle_index_to_n32_skipZ() argument
107 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in swizzle_index_to_n32_skipZ()
[all …]
DSkMaskSwizzler.cpp13 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) { in swizzle_mask16_to_n32_opaque() argument
17 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_n32_opaque()
29 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) { in swizzle_mask16_to_n32_unpremul() argument
33 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_n32_unpremul()
48 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) { in swizzle_mask16_to_n32_premul() argument
52 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_n32_premul()
67 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) { in swizzle_mask24_to_n32_opaque() argument
70 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask24_to_n32_opaque()
82 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) { in swizzle_mask24_to_n32_unpremul() argument
85 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask24_to_n32_unpremul()
[all …]
DSkCodec_libbmp.cpp830 SkPMColor* dstRow = SkTAddOffset<SkPMColor>((SkPMColor*) dst, in setRLEPixel() local
832 dstRow[x] = fColorTable->operator[](index); in setRLEPixel()
864 SkPMColor* dstRow = SkTAddOffset<SkPMColor>((SkPMColor*) dst, in setRLE24Pixel() local
866 dstRow[x] = SkPackARGB32NoCheck(0xFF, red, green, blue); in setRLE24Pixel()
1214 SkPMColor* dstRow = in decode() local
1224 dstRow[x] &= alphaBit - 1; in decode()
DSkMaskSwizzler.h47 void* dstRow, const uint8_t* srcRow, int width,
DSkSwizzler.h233 typedef ResultAlpha (*RowProc)(void* SK_RESTRICT dstRow,
/external/mesa3d/src/mesa/main/
Dtexstore.c907 GLubyte *dstRow = dstSlices[img]; in _mesa_swizzle_ubyte_image() local
909 swizzle_copy(dstRow, dstComponents, srcRow, srcComponents, map, srcWidth); in _mesa_swizzle_ubyte_image()
910 dstRow += dstRowStride; in _mesa_swizzle_ubyte_image()
959 GLubyte *dstRow = dstSlices[img]; in memcpy_texture() local
961 memcpy(dstRow, srcRow, bytesPerRow); in memcpy_texture()
962 dstRow += dstRowStride; in memcpy_texture()
1042 GLubyte *dstRow = dstSlices[img]; in _mesa_texstore_z32() local
1047 dstType, dstRow, in _mesa_texstore_z32()
1049 dstRow += dstRowStride; in _mesa_texstore_z32()
1072 GLubyte *dstRow = dstSlices[img]; in _mesa_texstore_x8_z24() local
[all …]
Dmipmap.c77 t(*dst)[e] = (t(*)[e]) dstRow
84 t *dst = (t *) dstRow
151 GLint dstWidth, GLvoid *dstRow) in do_row() argument
167 GLubyte(*dst)[4] = (GLubyte(*)[4]) dstRow; in do_row()
180 GLubyte(*dst)[3] = (GLubyte(*)[3]) dstRow; in do_row()
192 GLubyte(*dst)[2] = (GLubyte(*)[2]) dstRow; in do_row()
203 GLubyte *dst = (GLubyte *) dstRow; in do_row()
214 GLbyte(*dst)[4] = (GLbyte(*)[4]) dstRow; in do_row()
227 GLbyte(*dst)[3] = (GLbyte(*)[3]) dstRow; in do_row()
239 GLbyte(*dst)[2] = (GLbyte(*)[2]) dstRow; in do_row()
[all …]
Dformat_unpack.c2848 GLubyte *dstRow; in _mesa_unpack_rgba_block() local
2854 dstRow = ((GLubyte *) dst) + dstRowStride * y + dstPixStride * x; in _mesa_unpack_rgba_block()
2857 unpack(srcRow, (GLfloat (*)[4]) dstRow, width); in _mesa_unpack_rgba_block()
2859 dstRow += dstRowStride; in _mesa_unpack_rgba_block()
/external/mesa3d/src/mesa/swrast/
Ds_blit.c136 GLint dstRow; in blit_nearest() local
280 for (dstRow = 0; dstRow < dstHeight; dstRow++) { in blit_nearest()
281 GLint srcRow = (dstRow * srcHeight) / dstHeight; in blit_nearest()
282 GLubyte *dstRowStart = dstMap + dstRowStride * dstRow; in blit_nearest()
509 GLint dstRow; in blit_linear() local
607 for (dstRow = 0; dstRow < dstHeight; dstRow++) { in blit_linear()
608 const GLint dstY = dstYpos + dstRow; in blit_linear()
609 const GLfloat srcRow = (dstRow * srcHeight) / dstHeightF; in blit_linear()
/external/mesa3d/src/gallium/auxiliary/util/
Du_gen_mipmap.c112 t(*dst)[e] = (t(*)[e]) dstRow
119 t *dst = (t *) dstRow
171 int dstWidth, void *dstRow) in do_row() argument
187 ubyte(*dst)[4] = (ubyte(*)[4]) dstRow; in do_row()
200 ubyte(*dst)[3] = (ubyte(*)[3]) dstRow; in do_row()
212 ubyte(*dst)[2] = (ubyte(*)[2]) dstRow; in do_row()
223 ubyte *dst = (ubyte *) dstRow; in do_row()
234 ushort(*dst)[4] = (ushort(*)[4]) dstRow; in do_row()
247 ushort(*dst)[3] = (ushort(*)[3]) dstRow; in do_row()
259 ushort(*dst)[2] = (ushort(*)[2]) dstRow; in do_row()
[all …]
/external/skia/src/core/
DSkBlitter_ARGB32.cpp31 SkPMColor* dstRow = device.getAddr32(x, y); in SkARGB32_Blit32() local
35 proc(dstRow, srcRow, width, alpha); in SkARGB32_Blit32()
36 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); in SkARGB32_Blit32()
561 char* dstRow = (char*)fDevice.getAddr32(x, y); in blitMask() local
573 xfer->xfer32((SkPMColor*)dstRow, span, width, maskRow); in blitMask()
574 dstRow += dstRB; in blitMask()
581 proc(dstRow, maskRow, span, width); in blitMask()
582 dstRow += dstRB; in blitMask()
DSkBlitMask_D32.cpp91 SkPMColor* dstRow = (SkPMColor*)dst; in D32_LCD16_Proc() local
107 proc(dstRow, srcRow, color, width, opaqueDst); in D32_LCD16_Proc()
108 dstRow = (SkPMColor*)((char*)dstRow + dstRB); in D32_LCD16_Proc()
DSkConfig8888.cpp261 SkPMColor16* SK_RESTRICT dstRow = (SkPMColor16*)dstPixels; in CopyPixels() local
265 dstRow[x] = SkDitherARGB32To4444(table[srcRow[x]], DITHER_VALUE(x)); in CopyPixels()
270 dstRow[x] = SkDitherARGB32To4444(srcRow[x], DITHER_VALUE(x)); in CopyPixels()
DSkScalerContext.cpp455 uint8_t* dstRow = dst.fImage; in extract_alpha() local
459 dstRow[x] = SkGetPackedA32(srcRow[x]); in extract_alpha()
463 dstRow[x] = 0; in extract_alpha()
465 dstRow += dstRB; in extract_alpha()
DSkBitmap.cpp1249 char* dstRow = dst + ramRB * (height - 1); in ReadRawPixels() local
1251 memmove(dstRow, srcRow, snugRB); in ReadRawPixels()
1253 dstRow -= ramRB; in ReadRawPixels()
1255 SkASSERT(srcRow == dstRow); // first row does not need to be moved in ReadRawPixels()
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp257 uint32_t* dstRow = result.getAddr32(0, y); in unpremultiplyBitmap() local
259 dstRow[x] = SkUnPreMultiply::PMColorToColor(srcRow[x]); in unpremultiplyBitmap()