Home
last modified time | relevance | path

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

12

/external/skia/src/codec/
DSkSampler.cpp28 uint32_t* dstRow = (uint32_t*) dst; in Fill() local
30 sk_memset32(dstRow, 0, width); in Fill()
31 dstRow = SkTAddOffset<uint32_t>(dstRow, rowBytes); in Fill()
36 uint16_t* dstRow = (uint16_t*) dst; in Fill() local
38 sk_memset16(dstRow, 0, width); in Fill()
39 dstRow = SkTAddOffset<uint16_t>(dstRow, rowBytes); in Fill()
44 uint8_t* dstRow = (uint8_t*) dst; in Fill() local
46 memset(dstRow, 0, width); in Fill()
47 dstRow = SkTAddOffset<uint8_t>(dstRow, rowBytes); in Fill()
52 uint64_t* dstRow = (uint64_t*) dst; in Fill() local
[all …]
DSkMaskSwizzler.cpp13 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_opaque() argument
18 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_rgba_opaque()
30 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_bgra_opaque() argument
35 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_bgra_opaque()
47 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_unpremul() argument
52 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_rgba_unpremul()
65 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_bgra_unpremul() argument
70 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_bgra_unpremul()
83 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_premul() argument
88 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_rgba_premul()
[all …]
DSkSwizzler.cpp88 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_grayscale() argument
91 uint8_t* SK_RESTRICT dst = (uint8_t*) dstRow; in swizzle_bit_to_grayscale()
113 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_n32() argument
115 SkPMColor* SK_RESTRICT dst = (SkPMColor*) dstRow; in swizzle_bit_to_n32()
136 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_565() argument
138 uint16_t* SK_RESTRICT dst = (uint16_t*) dstRow; in swizzle_bit_to_565()
159 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_f16() argument
170 uint64_t* SK_RESTRICT dst = (uint64_t*) dstRow; in swizzle_bit_to_f16()
190 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_small_index_to_565() argument
193 uint16_t* dst = (uint16_t*) dstRow; in swizzle_small_index_to_565()
[all …]
DSkWbmpCodec.cpp131 void* dstRow = dst; in onGetPixels() local
137 swizzler->swizzle(dstRow, src.get()); in onGetPixels()
138 dstRow = SkTAddOffset<void>(dstRow, rowBytes); in onGetPixels()
164 void* dstRow = dst; in onGetScanlines() local
169 fSwizzler->swizzle(dstRow, fSrcBuffer.get()); in onGetScanlines()
170 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetScanlines()
DSkBmpRLECodec.cpp180 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setPixel() local
181 dstRow[dstX] = fColorTable->operator[](index); in setPixel()
185 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setPixel() local
186 dstRow[dstX] = SkPixel32ToPixel16(fColorTable->operator[](index)); in setPixel()
213 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setRGBPixel() local
214 dstRow[dstX] = SkPackARGB_as_RGBA(0xFF, red, green, blue); in setRGBPixel()
218 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setRGBPixel() local
219 dstRow[dstX] = SkPackARGB_as_BGRA(0xFF, red, green, blue); in setRGBPixel()
223 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setRGBPixel() local
224 dstRow[dstX] = SkPack888ToRGB16(red, green, blue); in setRGBPixel()
DSkBmpStandardCodec.cpp231 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows() local
236 this->applyColorXform(dstRow, this->xformBuffer(), fSwizzler->swizzleWidth()); in decodeRows()
238 fSwizzler->swizzle(dstRow, this->srcBuffer()); in decodeRows()
316 auto applyMask = [dstInfo](void* dstRow, int x, uint64_t bit) { in decodeIcoMask() argument
318 uint64_t* dst64 = (uint64_t*) dstRow; in decodeIcoMask()
321 uint32_t* dst32 = (uint32_t*) dstRow; in decodeIcoMask()
328 void* dstRow = SkTAddOffset<SkPMColor>(dstPtr, row * dstRowBytes); in decodeIcoMask() local
337 applyMask(dstRow, dstX, alphaBit); in decodeIcoMask()
DSkBmpMaskCodec.cpp93 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows() local
97 this->applyColorXform(dstRow, this->xformBuffer(), fMaskSwizzler->swizzleWidth()); in decodeRows()
99 fMaskSwizzler->swizzle(dstRow, srcRow); in decodeRows()
DSkGifCodec.cpp433 int dstRow = yBegin; in haveDecodedRow() local
443 dstRow = potentialRow / sampleY; in haveDecodedRow()
445 if (dstRow >= scaledHeight) { in haveDecodedRow()
455 if (dstRow + repeatCount > scaledHeight) { in haveDecodedRow()
456 repeatCount = scaledHeight - dstRow; in haveDecodedRow()
486 void* dstLine = SkTAddOffset<void>(fDst, dstRow * fDstRowBytes); in haveDecodedRow()
/external/skqp/src/codec/
DSkSampler.cpp28 uint32_t* dstRow = (uint32_t*) dst; in Fill() local
30 sk_memset32(dstRow, 0, width); in Fill()
31 dstRow = SkTAddOffset<uint32_t>(dstRow, rowBytes); in Fill()
36 uint16_t* dstRow = (uint16_t*) dst; in Fill() local
38 sk_memset16(dstRow, 0, width); in Fill()
39 dstRow = SkTAddOffset<uint16_t>(dstRow, rowBytes); in Fill()
44 uint8_t* dstRow = (uint8_t*) dst; in Fill() local
46 memset(dstRow, 0, width); in Fill()
47 dstRow = SkTAddOffset<uint8_t>(dstRow, rowBytes); in Fill()
52 uint64_t* dstRow = (uint64_t*) dst; in Fill() local
[all …]
DSkMaskSwizzler.cpp13 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_opaque() argument
18 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_rgba_opaque()
30 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_bgra_opaque() argument
35 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_bgra_opaque()
47 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_unpremul() argument
52 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_rgba_unpremul()
65 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_bgra_unpremul() argument
70 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_bgra_unpremul()
83 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_premul() argument
88 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_rgba_premul()
[all …]
DSkSwizzler.cpp88 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_grayscale() argument
91 uint8_t* SK_RESTRICT dst = (uint8_t*) dstRow; in swizzle_bit_to_grayscale()
113 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_n32() argument
115 SkPMColor* SK_RESTRICT dst = (SkPMColor*) dstRow; in swizzle_bit_to_n32()
136 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_565() argument
138 uint16_t* SK_RESTRICT dst = (uint16_t*) dstRow; in swizzle_bit_to_565()
159 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_f16() argument
170 uint64_t* SK_RESTRICT dst = (uint64_t*) dstRow; in swizzle_bit_to_f16()
190 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_small_index_to_565() argument
193 uint16_t* dst = (uint16_t*) dstRow; in swizzle_small_index_to_565()
[all …]
DSkWbmpCodec.cpp131 void* dstRow = dst; in onGetPixels() local
137 swizzler->swizzle(dstRow, src.get()); in onGetPixels()
138 dstRow = SkTAddOffset<void>(dstRow, rowBytes); in onGetPixels()
164 void* dstRow = dst; in onGetScanlines() local
169 fSwizzler->swizzle(dstRow, fSrcBuffer.get()); in onGetScanlines()
170 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetScanlines()
DSkBmpRLECodec.cpp180 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setPixel() local
181 dstRow[dstX] = fColorTable->operator[](index); in setPixel()
185 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setPixel() local
186 dstRow[dstX] = SkPixel32ToPixel16(fColorTable->operator[](index)); in setPixel()
213 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setRGBPixel() local
214 dstRow[dstX] = SkPackARGB_as_RGBA(0xFF, red, green, blue); in setRGBPixel()
218 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setRGBPixel() local
219 dstRow[dstX] = SkPackARGB_as_BGRA(0xFF, red, green, blue); in setRGBPixel()
223 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setRGBPixel() local
224 dstRow[dstX] = SkPack888ToRGB16(red, green, blue); in setRGBPixel()
DSkBmpStandardCodec.cpp231 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows() local
236 this->applyColorXform(dstRow, this->xformBuffer(), fSwizzler->swizzleWidth()); in decodeRows()
238 fSwizzler->swizzle(dstRow, this->srcBuffer()); in decodeRows()
316 auto applyMask = [dstInfo](void* dstRow, int x, uint64_t bit) { in decodeIcoMask() argument
318 uint64_t* dst64 = (uint64_t*) dstRow; in decodeIcoMask()
321 uint32_t* dst32 = (uint32_t*) dstRow; in decodeIcoMask()
328 void* dstRow = SkTAddOffset<SkPMColor>(dstPtr, row * dstRowBytes); in decodeIcoMask() local
337 applyMask(dstRow, dstX, alphaBit); in decodeIcoMask()
DSkBmpMaskCodec.cpp93 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows() local
97 this->applyColorXform(dstRow, this->xformBuffer(), fMaskSwizzler->swizzleWidth()); in decodeRows()
99 fMaskSwizzler->swizzle(dstRow, srcRow); in decodeRows()
DSkGifCodec.cpp433 int dstRow = yBegin; in haveDecodedRow() local
443 dstRow = potentialRow / sampleY; in haveDecodedRow()
445 if (dstRow >= scaledHeight) { in haveDecodedRow()
455 if (dstRow + repeatCount > scaledHeight) { in haveDecodedRow()
456 repeatCount = scaledHeight - dstRow; in haveDecodedRow()
486 void* dstLine = SkTAddOffset<void>(fDst, dstRow * fDstRowBytes); in haveDecodedRow()
/external/mesa3d/src/mesa/main/
Dtexstore.c132 GLubyte *dstRow = dstSlices[img]; in _mesa_memcpy_texture() local
134 memcpy(dstRow, srcRow, bytesPerRow); in _mesa_memcpy_texture()
135 dstRow += dstRowStride; in _mesa_memcpy_texture()
166 GLubyte *dstRow = dstSlices[img]; in _mesa_texstore_z32() local
171 dstType, dstRow, in _mesa_texstore_z32()
173 dstRow += dstRowStride; in _mesa_texstore_z32()
196 GLubyte *dstRow = dstSlices[img]; in _mesa_texstore_x8_z24() local
201 GL_UNSIGNED_INT, (GLuint *) dstRow, in _mesa_texstore_x8_z24()
203 dstRow += dstRowStride; in _mesa_texstore_x8_z24()
226 GLubyte *dstRow = dstSlices[img]; in _mesa_texstore_z24_x8() local
[all …]
Dmipmap.c78 t(*dst)[e] = (t(*)[e]) dstRow
85 t *dst = (t *) dstRow
152 GLint dstWidth, GLvoid *dstRow) in do_row() argument
168 GLubyte(*dst)[4] = (GLubyte(*)[4]) dstRow; in do_row()
181 GLubyte(*dst)[3] = (GLubyte(*)[3]) dstRow; in do_row()
193 GLubyte(*dst)[2] = (GLubyte(*)[2]) dstRow; in do_row()
204 GLubyte *dst = (GLubyte *) dstRow; in do_row()
215 GLbyte(*dst)[4] = (GLbyte(*)[4]) dstRow; in do_row()
228 GLbyte(*dst)[3] = (GLbyte(*)[3]) dstRow; in do_row()
240 GLbyte(*dst)[2] = (GLbyte(*)[2]) dstRow; in do_row()
[all …]
/external/skqp/src/ports/
DSkImageEncoder_WIC.cpp83 uint8_t* dstRow = SkTAddOffset<uint8_t>(pixelStorage.get(), y * rowBytes); in SkEncodeImageWithWIC() local
86 dstRow[0] = (uint8_t) (bgra >> 0); in SkEncodeImageWithWIC()
87 dstRow[1] = (uint8_t) (bgra >> 8); in SkEncodeImageWithWIC()
88 dstRow[2] = (uint8_t) (bgra >> 16); in SkEncodeImageWithWIC()
89 dstRow += 3; in SkEncodeImageWithWIC()
/external/skia/src/ports/
DSkImageEncoder_WIC.cpp83 uint8_t* dstRow = SkTAddOffset<uint8_t>(pixelStorage.get(), y * rowBytes); in SkEncodeImageWithWIC() local
86 dstRow[0] = (uint8_t) ((bgra >> 0) & 0xFF); in SkEncodeImageWithWIC()
87 dstRow[1] = (uint8_t) ((bgra >> 8) & 0xFF); in SkEncodeImageWithWIC()
88 dstRow[2] = (uint8_t) ((bgra >> 16) & 0xFF); in SkEncodeImageWithWIC()
89 dstRow += 3; in SkEncodeImageWithWIC()
/external/dng_sdk/source/
Ddng_resample.cpp726 for (int32 dstRow = dstArea.t; dstRow < dstArea.b; dstRow++) in ProcessArea() local
729 int32 rowCoord = rowCoords [dstRow]; in ProcessArea()
751 real32 *dPtr = dstBuffer.DirtyPixel_real32 (dstRow, in ProcessArea()
780 for (int32 dstRow = dstArea.t; dstRow < dstArea.b; dstRow++) in ProcessArea() local
783 int32 rowCoord = rowCoords [dstRow]; in ProcessArea()
806 uint16 *dPtr = dstBuffer.DirtyPixel_uint16 (dstRow, in ProcessArea()
/external/mesa3d/src/mesa/swrast/
Ds_blit.c142 GLint dstRow; in blit_nearest() local
297 for (dstRow = 0; dstRow < dstHeight; dstRow++) { in blit_nearest()
298 GLfloat srcRowF = (dstRow + 0.5F) / dstHeight * srcHeight - 0.5F; in blit_nearest()
300 GLubyte *dstRowStart = dstMap + dstRowStride * dstRow; in blit_nearest()
533 GLint dstRow; in blit_linear() local
625 for (dstRow = 0; dstRow < dstHeight; dstRow++) { in blit_linear()
626 const GLint dstY = dstYpos + dstRow; in blit_linear()
627 GLfloat srcRow = (dstRow + 0.5F) / dstHeight * srcHeight - 0.5F; in blit_linear()
/external/swiftshader/src/Device/
DETC_Decoder.cpp690 unsigned char *dstRow = dst + (y * dstPitch); in Decode() local
693 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode()
702 unsigned char *dstRow = dst + (y * dstPitch); in Decode() local
705 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode()
713 unsigned char *dstRow = dst + (y * dstPitch); in Decode() local
716 …sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, inputType … in Decode()
723 unsigned char *dstRow = dst + (y * dstPitch); in Decode() local
731 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, false); in Decode()
/external/swiftshader/src/Renderer/
DETC_Decoder.cpp690 unsigned char *dstRow = dst + (y * dstPitch); in Decode() local
693 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode()
702 unsigned char *dstRow = dst + (y * dstPitch); in Decode() local
705 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode()
713 unsigned char *dstRow = dst + (y * dstPitch); in Decode() local
716 …sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, inputType … in Decode()
723 unsigned char *dstRow = dst + (y * dstPitch); in Decode() local
731 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, false); in Decode()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp67 deUint8 *dstRow = reinterpret_cast<deUint8 *>(destBuffer); in pack() local
69 dstStart = dstRow; in pack()
75 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in pack()
85 dstRow = dstStart + offsetDepthDst; in pack()
88 deMemcpy(dstRow, srcRow, static_cast<size_t>(rowPitch)); in pack()
90 dstRow += rowPitch; in pack()
119 deUint8 *dstRow = reinterpret_cast<deUint8 *>(destBuffer); in unpack() local
121 dstStart = dstRow; in unpack()
127 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in unpack()
136 dstRow = dstStart + offsetDepthDst; in unpack()
[all …]

12