Home
last modified time | relevance | path

Searched refs:srcRow (Results 1 – 25 of 42) sorted by relevance

12

/external/skqp/src/codec/
DSkMaskSwizzler.cpp13 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_opaque() argument
17 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_opaque()
30 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_bgra_opaque() argument
34 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_opaque()
47 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_unpremul() argument
51 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_unpremul()
65 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_bgra_unpremul() argument
69 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_unpremul()
83 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_premul() argument
87 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_premul()
[all …]
DSkBmpMaskCodec.cpp82 uint8_t* srcRow = this->srcBuffer(); in decodeRows() local
86 if (this->stream()->read(srcRow, this->srcRowBytes()) != this->srcRowBytes()) { in decodeRows()
96 fMaskSwizzler->swizzle(this->xformBuffer(), srcRow); in decodeRows()
99 fMaskSwizzler->swizzle(dstRow, srcRow); in decodeRows()
DSkPngCodec.cpp687 png_bytep srcRow = fInterlaceBuffer.get(); in decodeAllRows() local
690 this->applyXformRow(dst, srcRow); in decodeAllRows()
692 srcRow = SkTAddOffset<png_byte>(srcRow, fPng_rowbytes); in decodeAllRows()
738 png_bytep srcRow = SkTAddOffset<png_byte>(fInterlaceBuffer.get(), in decode() local
742 this->applyXformRow(dst, srcRow); in decode()
744 srcRow = SkTAddOffset<png_byte>(srcRow, fPng_rowbytes * sampleY); in decode()
DSkMaskSwizzler.h60 typedef void (*RowProc)(void* dstRow, const uint8_t* srcRow, int width,
DSkRawCodec.cpp729 SkAutoTMalloc<uint8_t> srcRow(width * 3); in onGetPixels() local
732 buffer.fData = &srcRow[0]; in onGetPixels()
752 swizzler->swizzle(xformBuffer.get(), &srcRow[0]); in onGetPixels()
756 swizzler->swizzle(dstRow, &srcRow[0]); in onGetPixels()
/external/skia/src/codec/
DSkMaskSwizzler.cpp13 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_opaque() argument
17 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_opaque()
30 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_bgra_opaque() argument
34 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_opaque()
47 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_unpremul() argument
51 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_unpremul()
65 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_bgra_unpremul() argument
69 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_unpremul()
83 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_premul() argument
87 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_premul()
[all …]
DSkBmpMaskCodec.cpp82 uint8_t* srcRow = this->srcBuffer(); in decodeRows() local
86 if (this->stream()->read(srcRow, this->srcRowBytes()) != this->srcRowBytes()) { in decodeRows()
96 fMaskSwizzler->swizzle(this->xformBuffer(), srcRow); in decodeRows()
99 fMaskSwizzler->swizzle(dstRow, srcRow); in decodeRows()
DSkPngCodec.cpp690 png_bytep srcRow = fInterlaceBuffer.get(); in decodeAllRows() local
693 this->applyXformRow(dst, srcRow); in decodeAllRows()
695 srcRow = SkTAddOffset<png_byte>(srcRow, fPng_rowbytes); in decodeAllRows()
738 int srcRow = get_start_coord(sampleY); in decode() local
741 while (rowsWrittenToOutput < rowsNeeded && srcRow < fLinesDecoded) { in decode()
742 png_bytep src = SkTAddOffset<png_byte>(fInterlaceBuffer.get(), fPng_rowbytes * srcRow); in decode()
747 srcRow += sampleY; in decode()
DSkMaskSwizzler.h60 typedef void (*RowProc)(void* dstRow, const uint8_t* srcRow, int width,
DSkRawCodec.cpp724 SkAutoTMalloc<uint8_t> srcRow(width * 3); in onGetPixels() local
727 buffer.fData = &srcRow[0]; in onGetPixels()
747 swizzler->swizzle(xformBuffer.get(), &srcRow[0]); in onGetPixels()
751 swizzler->swizzle(dstRow, &srcRow[0]); in onGetPixels()
/external/skqp/src/images/
DSkJpegEncoder.cpp233 const void* srcRow = fSrc.addr(0, fCurrRow); in onEncodeRows() local
235 JSAMPLE* jpegSrcRow = (JSAMPLE*) srcRow; in onEncodeRows()
237 fEncoderMgr->proc()((char*)fStorage.get(), (const char*)srcRow, fSrc.width(), in onEncodeRows()
243 srcRow = SkTAddOffset<const void>(srcRow, fSrc.rowBytes()); in onEncodeRows()
DSkPngEncoder.cpp405 const void* srcRow = fSrc.addr(0, fCurrRow); in onEncodeRows() local
407 fEncoderMgr->proc()((char*) fStorage.get(), (const char*) srcRow, fSrc.width(), in onEncodeRows()
412 srcRow = SkTAddOffset<const void>(srcRow, fSrc.rowBytes()); in onEncodeRows()
/external/skia/src/images/
DSkJpegEncoder.cpp233 const void* srcRow = fSrc.addr(0, fCurrRow); in onEncodeRows() local
235 JSAMPLE* jpegSrcRow = (JSAMPLE*) srcRow; in onEncodeRows()
237 fEncoderMgr->proc()((char*)fStorage.get(), (const char*)srcRow, fSrc.width(), in onEncodeRows()
243 srcRow = SkTAddOffset<const void>(srcRow, fSrc.rowBytes()); in onEncodeRows()
DSkPngEncoder.cpp405 const void* srcRow = fSrc.addr(0, fCurrRow); in onEncodeRows() local
407 fEncoderMgr->proc()((char*) fStorage.get(), (const char*) srcRow, fSrc.width(), in onEncodeRows()
412 srcRow = SkTAddOffset<const void>(srcRow, fSrc.rowBytes()); in onEncodeRows()
/external/mesa3d/src/mesa/swrast/
Ds_blit.c299 GLint srcRow = IROUND(srcRowF); in blit_nearest() local
302 assert(srcRow >= 0); in blit_nearest()
303 assert(srcRow < srcHeight); in blit_nearest()
306 srcRow = srcHeight - 1 - srcRow; in blit_nearest()
310 if (prevY != srcRow) { in blit_nearest()
311 GLubyte *srcRowStart = srcMap + srcRowStride * srcRow; in blit_nearest()
336 prevY = srcRow; in blit_nearest()
627 GLfloat srcRow = (dstRow + 0.5F) / dstHeight * srcHeight - 0.5F; in blit_linear() local
628 GLint srcRow0 = MAX2(0, IFLOOR(srcRow)); in blit_linear()
630 GLfloat rowWeight = srcRow - srcRow0; /* fractional part of srcRow */ in blit_linear()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp63 const deUint8 *srcRow = reinterpret_cast<const deUint8 *>(srcBuffer); in pack() local
65 srcStart = srcRow; in pack()
74 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in pack()
83 srcRow = srcStart + offsetDepthSrc; in pack()
87 deMemcpy(dstRow, srcRow, static_cast<size_t>(rowPitch)); in pack()
88 srcRow += pixelSize * width; in pack()
115 const deUint8 *srcRow = reinterpret_cast<const deUint8 *>(srcBuffer); in unpack() local
117 srcStart = srcRow; in unpack()
126 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in unpack()
134 srcRow = srcStart + offsetDepthSrc; in unpack()
[all …]
/external/skia/src/core/
DSkBlitMask_D32.cpp31 const uint16_t* srcRow = (const uint16_t*)mask; in D32_LCD16_Proc() local
46 proc(dstRow, srcRow, color, width, opaqueDst); in D32_LCD16_Proc()
48 srcRow = (const uint16_t*)((const char*)srcRow + maskRB); in D32_LCD16_Proc()
DSkBlitter_ARGB32.cpp32 const SkPMColor* srcRow = reinterpret_cast<const SkPMColor*>(mask.getAddr8(x, y)); in SkARGB32_Blit32() local
35 proc(dstRow, srcRow, width, alpha); in SkARGB32_Blit32()
37 srcRow = (const SkPMColor*)((const char*)srcRow + mask.fRowBytes); in SkARGB32_Blit32()
/external/skqp/src/core/
DSkBlitMask_D32.cpp31 const uint16_t* srcRow = (const uint16_t*)mask; in D32_LCD16_Proc() local
46 proc(dstRow, srcRow, color, width, opaqueDst); in D32_LCD16_Proc()
48 srcRow = (const uint16_t*)((const char*)srcRow + maskRB); in D32_LCD16_Proc()
DSkBlitter_ARGB32.cpp32 const SkPMColor* srcRow = reinterpret_cast<const SkPMColor*>(mask.getAddr8(x, y)); in SkARGB32_Blit32() local
35 proc(dstRow, srcRow, width, alpha); in SkARGB32_Blit32()
37 srcRow = (const SkPMColor*)((const char*)srcRow + mask.fRowBytes); in SkARGB32_Blit32()
DSkConvertPixels.cpp217 const SkImageInfo& srcInfo, const void* srcRow, size_t srcRB, in convert_with_pipeline() argument
220 SkJumper_MemoryCtx src = { (void*)srcRow, (int)(srcRB / srcInfo.bytesPerPixel()) }, in convert_with_pipeline()
/external/dng_sdk/source/
Ddng_render.cpp1004 for (int32 srcRow = srcArea.t; srcRow < srcArea.b; srcRow++) in ProcessArea() local
1013 srcBuffer.ConstPixel (srcRow, in ProcessArea()
1138 int32 dstRow = srcRow + (dstArea.t - srcArea.t); in ProcessArea()
Ddng_mosaic_info.cpp1052 int32 srcRow = dstRow >> sRowShift; in Interpolate() local
1061 const void *sPtr = srcBuffer.ConstPixel (srcRow, in Interpolate()
1224 int32 srcRow = srcArea.t; in ProcessArea() local
1252 const uint16 *sPtr = srcBuffer.ConstPixel_uint16 (srcRow, in ProcessArea()
1324 srcRow += cellRows; in ProcessArea()
1567 for (int32 srcRow = 0; srcRow < test.v; srcRow++) in IsSafeDownScale() local
1573 uint8 srcKey = fCFAPattern [srcRow + phaseV] in IsSafeDownScale()
Ddng_resample.cpp735 int32 srcRow = (rowCoord >> kResampleSubsampleBits) + offsetV; in ProcessArea() local
740 const real32 *sPtr = srcBuffer.ConstPixel_real32 (srcRow, in ProcessArea()
789 int32 srcRow = (rowCoord >> kResampleSubsampleBits) + offsetV; in ProcessArea() local
794 const uint16 *sPtr = srcBuffer.ConstPixel_uint16 (srcRow, in ProcessArea()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp591 const uint8_t* srcRow = in Upsample() local
595 dstRow[x] = srcRow[x >> 3] & (1 << (~x & 0x07)) ? 0xFF : 0x00; in Upsample()
609 const uint8_t* srcRow = in Upsample() local
613 unsigned index = srcRow[x]; in Upsample()
629 const uint8_t* srcRow = in Upsample() local
633 dstRow[x] = SkPackARGB32(0xFF, srcRow[x * 3 + 2], srcRow[x * 3 + 1], in Upsample()
634 srcRow[x * 3 + 0]); in Upsample()
2636 const uint32_t* srcRow = buffer + y * width; in DebugVerifyBitmapIsPreMultiplied() local
2638 uint8_t a = SkGetPackedA32(srcRow[x]); in DebugVerifyBitmapIsPreMultiplied()
2639 uint8_t r = SkGetPackedR32(srcRow[x]); in DebugVerifyBitmapIsPreMultiplied()
[all …]

12