Home
last modified time | relevance | path

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

12

/external/skia/src/codec/
DSkSampler.cpp32 uint32_t* dstRow = (uint32_t*) dst; in Fill() local
34 sk_memset32((uint32_t*) dstRow, color, width); in Fill()
35 dstRow = SkTAddOffset<uint32_t>(dstRow, rowBytes); in Fill()
53 uint16_t* dstRow = (uint16_t*) dst; in Fill() local
55 sk_memset16((uint16_t*) dstRow, color, width); in Fill()
56 dstRow = SkTAddOffset<uint16_t>(dstRow, rowBytes); in Fill()
84 uint64_t* dstRow = (uint64_t*) dst; in Fill() local
86 sk_memset64((uint64_t*) dstRow, color, width); in Fill()
87 dstRow = SkTAddOffset<uint64_t>(dstRow, rowBytes); in Fill()
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.cpp84 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_grayscale() argument
87 uint8_t* SK_RESTRICT dst = (uint8_t*) dstRow; in swizzle_bit_to_grayscale()
109 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_index() argument
111 uint8_t* SK_RESTRICT dst = (uint8_t*) dstRow; in swizzle_bit_to_index()
130 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_n32() argument
132 SkPMColor* SK_RESTRICT dst = (SkPMColor*) dstRow; in swizzle_bit_to_n32()
153 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_565() argument
155 uint16_t* SK_RESTRICT dst = (uint16_t*) dstRow; in swizzle_bit_to_565()
176 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_f16() argument
187 uint64_t* SK_RESTRICT dst = (uint64_t*) dstRow; in swizzle_bit_to_f16()
[all …]
DSkWbmpCodec.cpp146 void* dstRow = dst; in onGetPixels() local
152 swizzler->swizzle(dstRow, src.get()); in onGetPixels()
153 dstRow = SkTAddOffset<void>(dstRow, rowBytes); in onGetPixels()
175 void* dstRow = dst; in onGetScanlines() local
180 fSwizzler->swizzle(dstRow, fSrcBuffer.get()); in onGetScanlines()
181 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetScanlines()
DSkBmpRLECodec.cpp187 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setPixel() local
188 dstRow[dstX] = fColorTable->operator[](index); in setPixel()
192 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setPixel() local
193 dstRow[dstX] = SkPixel32ToPixel16(fColorTable->operator[](index)); in setPixel()
220 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setRGBPixel() local
221 dstRow[dstX] = SkPackARGB_as_RGBA(0xFF, red, green, blue); in setRGBPixel()
225 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setRGBPixel() local
226 dstRow[dstX] = SkPackARGB_as_BGRA(0xFF, red, green, blue); in setRGBPixel()
230 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setRGBPixel() local
231 dstRow[dstX] = SkPack888ToRGB16(red, green, blue); in setRGBPixel()
DSkBmpStandardCodec.cpp242 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows() local
248 this->applyColorXform(xformInfo, dstRow, this->xformBuffer()); in decodeRows()
250 fSwizzler->swizzle(dstRow, fSrcBuffer.get()); in decodeRows()
329 auto applyMask = [dstInfo](void* dstRow, int x, uint64_t bit) { in decodeIcoMask() argument
331 uint64_t* dst64 = (uint64_t*) dstRow; in decodeIcoMask()
334 uint32_t* dst32 = (uint32_t*) dstRow; in decodeIcoMask()
341 void* dstRow = SkTAddOffset<SkPMColor>(dstPtr, row * dstRowBytes); in decodeIcoMask() local
350 applyMask(dstRow, dstX, alphaBit); in decodeIcoMask()
DSkBmpMaskCodec.cpp95 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows() local
100 this->applyColorXform(xformInfo, dstRow, this->xformBuffer()); in decodeRows()
102 fMaskSwizzler->swizzle(dstRow, srcRow); in decodeRows()
DSkSwizzler.h101 typedef void (*RowProc)(void* SK_RESTRICT dstRow,
107 static void SkipLeading8888ZerosThen(void* SK_RESTRICT dstRow,
DSkGifCodec.cpp547 int dstRow = yBegin; in haveDecodedRow() local
557 dstRow = potentialRow / sampleY; in haveDecodedRow()
559 if (dstRow >= scaledHeight) { in haveDecodedRow()
569 if (dstRow + (int) repeatCount > scaledHeight) { in haveDecodedRow()
570 repeatCount = scaledHeight - dstRow; in haveDecodedRow()
600 void* dstLine = SkTAddOffset<void>(fDst, dstRow * fDstRowBytes); in haveDecodedRow()
DSkRawCodec.cpp728 void* dstRow = dst; in onGetPixels() local
758 this->colorXform()->apply(dstFormat, dstRow, srcFormat, xformBuffer.get(), in onGetPixels()
760 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetPixels()
762 swizzler->swizzle(dstRow, &srcRow[0]); in onGetPixels()
763 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetPixels()
DSkMaskSwizzler.h60 typedef void (*RowProc)(void* dstRow, const uint8_t* srcRow, int width,
/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 …]
/external/skia/src/ports/
DSkImageEncoder_WIC.cpp100 uint8_t* dstRow = SkTAddOffset<uint8_t>(pixelStorage.get(), y * rowBytes); in SkEncodeImageWithWIC() local
103 dstRow[0] = (uint8_t) (bgra >> 0); in SkEncodeImageWithWIC()
104 dstRow[1] = (uint8_t) (bgra >> 8); in SkEncodeImageWithWIC()
105 dstRow[2] = (uint8_t) (bgra >> 16); in SkEncodeImageWithWIC()
106 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()
Ddng_linearization_info.cpp473 uint32 dstRow = dstTile.t + row; in Process() local
479 void *dPtr = dstBuffer.DirtyPixel (dstRow, in Process()
519 b1 = fBlack_1D_buffer->Buffer_real32 () [dstRow % fBlack_1D_rows]; in Process()
531 b2_count * (dstRow % fBlack_2D_rows); in Process()
670 b1 = fBlack_1D_buffer->Buffer_int32 () [dstRow % fBlack_1D_rows]; in Process()
682 b2_count * (dstRow % fBlack_2D_rows); in Process()
769 b1 = fBlack_1D_buffer->Buffer_real32 () [dstRow % fBlack_1D_rows]; in Process()
781 b2_count * (dstRow % fBlack_2D_rows); in Process()
Ddng_mosaic_info.cpp1047 for (int32 dstRow = dstBuffer.fArea.t; in Interpolate() local
1048 dstRow < dstBuffer.fArea.b; in Interpolate()
1049 dstRow++) in Interpolate()
1052 int32 srcRow = dstRow >> sRowShift; in Interpolate()
1054 uint32 patRow = dstRow % patRows; in Interpolate()
1065 void *dPtr = dstBuffer.DirtyPixel (dstRow, in Interpolate()
1249 for (int32 dstRow = dstArea.t; dstRow < dstArea.b; dstRow++) in ProcessArea() local
1256 uint16 *dPtr = dstBuffer.DirtyPixel_uint16 (dstRow, in ProcessArea()
/external/skia/src/core/
DSkConvertPixels.cpp276 static void convert_with_pipeline(const SkImageInfo& dstInfo, void* dstRow, size_t dstRB, in convert_with_pipeline() argument
349 pipeline.append(SkRasterPipeline::store_8888, &dstRow); in convert_with_pipeline()
353 pipeline.append(SkRasterPipeline::store_8888, &dstRow); in convert_with_pipeline()
356 pipeline.append(SkRasterPipeline::store_565, &dstRow); in convert_with_pipeline()
359 pipeline.append(SkRasterPipeline::store_f16, &dstRow); in convert_with_pipeline()
362 pipeline.append(SkRasterPipeline::store_4444, &dstRow); in convert_with_pipeline()
373 dstRow = SkTAddOffset<void>(dstRow, dstRB); in convert_with_pipeline()
DSkBlitter_ARGB32.cpp31 SkPMColor* dstRow = device.writable_addr32(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()
569 char* dstRow = (char*)fDevice.writable_addr32(x, y); in blitMask() local
581 xfer->xfer32(reinterpret_cast<SkPMColor*>(dstRow), span, width, maskRow); in blitMask()
582 dstRow += dstRB; in blitMask()
589 proc(reinterpret_cast<SkPMColor*>(dstRow), maskRow, span, width); in blitMask()
590 dstRow += dstRB; in blitMask()
DSkBlitMask_D32.cpp30 SkPMColor* dstRow = (SkPMColor*)dst; in D32_LCD16_Proc() local
46 proc(dstRow, srcRow, color, width, opaqueDst); in D32_LCD16_Proc()
47 dstRow = (SkPMColor*)((char*)dstRow + dstRB); in D32_LCD16_Proc()
/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/image/
DSkImage_Raster.cpp378 void* dstRow = dstPixels; in do_color_xform_non_linear_blending() local
385 SkUnpremultiplyRow<false>((uint32_t*) dstRow, (const uint32_t*) srcRow, dst->width()); in do_color_xform_non_linear_blending()
386 tmpRow = dstRow; in do_color_xform_non_linear_blending()
390 SkAssertResult(xform->apply(fmt, dstRow, fmt, tmpRow, dst->width(), dst->alphaType())); in do_color_xform_non_linear_blending()
392 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in do_color_xform_non_linear_blending()
/external/swiftshader/src/Renderer/
DETC_Decoder.cpp661 unsigned char *dstRow = dst + (y * dstPitch); in Decode() local
664 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode()
673 unsigned char *dstRow = dst + (y * dstPitch); in Decode() local
676 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode()
684 unsigned char *dstRow = dst + (y * dstPitch); in Decode() local
687 …sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, inputType … in Decode()
694 unsigned char *dstRow = dst + (y * dstPitch); in Decode() local
702 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, false); in Decode()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp66 deUint8 *dstRow = reinterpret_cast<deUint8 *>(destBuffer); in pack() local
68 dstStart = dstRow; in pack()
74 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in pack()
84 dstRow = dstStart + offsetDepthDst; in pack()
87 deMemcpy(dstRow, srcRow, static_cast<size_t>(rowPitch)); in pack()
89 dstRow += rowPitch; in pack()
118 deUint8 *dstRow = reinterpret_cast<deUint8 *>(destBuffer); in unpack() local
120 dstStart = dstRow; in unpack()
126 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in unpack()
135 dstRow = dstStart + offsetDepthDst; in unpack()
[all …]

12