Home
last modified time | relevance | path

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

/third_party/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.cpp684 png_bytep srcRow = fInterlaceBuffer.get(); in decodeAllRows() local
687 this->applyXformRow(dst, srcRow); in decodeAllRows()
689 srcRow = SkTAddOffset<png_byte>(srcRow, fPng_rowbytes); in decodeAllRows()
732 int srcRow = get_start_coord(sampleY); in decode() local
735 while (rowsWrittenToOutput < rowsNeeded && srcRow < fLinesDecoded) { in decode()
736 png_bytep src = SkTAddOffset<png_byte>(fInterlaceBuffer.get(), fPng_rowbytes * srcRow); in decode()
741 srcRow += sampleY; in decode()
DSkMaskSwizzler.h54 typedef void (*RowProc)(void* dstRow, const uint8_t* srcRow, int width,
DSkRawCodec.cpp703 SkAutoTMalloc<uint8_t> srcRow(width * 3); in onGetPixels() local
706 buffer.fData = &srcRow[0]; in onGetPixels()
739 if (!skcms_Transform(&srcRow[0], srcFormat, skcms_AlphaFormat_Unpremul, srcProfile, in onGetPixels()
/third_party/skia/src/images/
DSkJpegEncoder.cpp221 const void* srcRow = fSrc.addr(0, fCurrRow); in onEncodeRows() local
223 JSAMPLE* jpegSrcRow = (JSAMPLE*) srcRow; in onEncodeRows()
225 sk_msan_assert_initialized(srcRow, SkTAddOffset<const void>(srcRow, srcBytes)); in onEncodeRows()
227 (const char*)srcRow, in onEncodeRows()
241 srcRow = SkTAddOffset<const void>(srcRow, fSrc.rowBytes()); in onEncodeRows()
DSkPngEncoder.cpp440 const void* srcRow = fSrc.addr(0, fCurrRow); in onEncodeRows() local
442 sk_msan_assert_initialized(srcRow, in onEncodeRows()
443 (const uint8_t*)srcRow + (fSrc.width() << fSrc.shiftPerPixel())); in onEncodeRows()
445 (const char*)srcRow, in onEncodeRows()
451 srcRow = SkTAddOffset<const void>(srcRow, fSrc.rowBytes()); in onEncodeRows()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawImageObjectUtil.cpp64 const deUint8 *srcRow = reinterpret_cast<const deUint8 *>(srcBuffer); in pack() local
66 srcStart = srcRow; in pack()
75 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in pack()
84 srcRow = srcStart + offsetDepthSrc; in pack()
88 deMemcpy(dstRow, srcRow, static_cast<size_t>(rowPitch)); in pack()
89 srcRow += pixelSize * width; in pack()
116 const deUint8 *srcRow = reinterpret_cast<const deUint8 *>(srcBuffer); in unpack() local
118 srcStart = srcRow; in unpack()
127 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in unpack()
135 srcRow = srcStart + offsetDepthSrc; in unpack()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp64 const deUint8 *srcRow = reinterpret_cast<const deUint8 *>(srcBuffer); in pack() local
66 srcStart = srcRow; in pack()
75 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in pack()
84 srcRow = srcStart + offsetDepthSrc; in pack()
88 deMemcpy(dstRow, srcRow, static_cast<size_t>(rowPitch)); in pack()
89 srcRow += pixelSize * width; in pack()
116 const deUint8 *srcRow = reinterpret_cast<const deUint8 *>(srcBuffer); in unpack() local
118 srcStart = srcRow; in unpack()
127 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in unpack()
135 srcRow = srcStart + offsetDepthSrc; in unpack()
[all …]
/third_party/skia/third_party/externals/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()
Ddng_negative.cpp2767 uint32 srcRow = (dstRow + phaseRow) % patSize; in SetFujiMosaic6x6() local
2774 temp.fCFAPattern [dstRow] [dstCol] = info.fCFAPattern [srcRow] [srcCol]; in SetFujiMosaic6x6()
/third_party/skia/src/core/
DSkConvertPixels.cpp207 const SkImageInfo& srcInfo, const void* srcRow, int srcStride, in convert_with_pipeline() argument
209 SkRasterPipeline_MemoryCtx src = { (void*)srcRow, srcStride }, in convert_with_pipeline()
DSkBlitter_ARGB32.cpp660 const SkPMColor* srcRow = reinterpret_cast<const SkPMColor*>(mask.getAddr8(x, y)); in SkARGB32_Blit32() local
663 proc(dstRow, srcRow, width, alpha); in SkARGB32_Blit32()
665 srcRow = (const SkPMColor*)((const char*)srcRow + mask.fRowBytes); in SkARGB32_Blit32()
/third_party/mesa3d/src/mesa/main/
Dimage.c405 const GLubyte *srcRow = (const GLubyte *) in _mesa_expand_bitmap() local
414 const GLubyte *src = srcRow; in _mesa_expand_bitmap()
461 srcRow += srcStride; in _mesa_expand_bitmap()
Dtexstore.c133 const GLubyte *srcRow = srcImage; in _mesa_memcpy_texture() local
136 memcpy(dstRow, srcRow, bytesPerRow); in _mesa_memcpy_texture()
138 srcRow += srcRowStride; in _mesa_memcpy_texture()
Dteximage.c762 GLint srcRow = 7 - (i % 8);
765 GLubyte texel = (message[srcRow][srcCol]=='X') ? 255 : 70;
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImage.cpp522 const uint8_t *srcRow = srcSlice; in copySingleAspectTo() local
527 ASSERT((srcRow + rowSize) < end()); in copySingleAspectTo()
530 memcpy(dstRow, srcRow, rowSize); in copySingleAspectTo()
532 srcRow += srcRowPitch; in copySingleAspectTo()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_utils.mm395 angle::MemoryBuffer srcRow;
396 ANGLE_CHECK_GL_ALLOC(contextMtl, srcRow.resize(srcRowPitch));
397 memset(srcRow.data(), 0, srcRowPitch);
399 CopyImageCHROMIUM(srcRow.data(), srcRowPitch, srcFormat.pixelBytes, 0,
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DSurface.cpp2453 byte *srcRow = src + y * internal.pitchB; in decodeETC2() local
2456 byte *srcPix = srcRow + x * internal.bytes; in decodeETC2()
2481 byte* srcRow = src + y * internal.pitchB; in decodeEAC() local
2484 int* srcPix = reinterpret_cast<int*>(srcRow + x * internal.bytes); in decodeEAC()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DImageTest.cpp513 const uint8_t *srcRow = in writeAHBData() local
518 const uint8_t *src = srcRow + x * planeData.bytesPerPixel; in writeAHBData()