/dports/graphics/krita/krita-4.4.8/plugins/filters/unsharp/ |
H A D | kis_unsharp_filter.cpp | 143 while (dstIt.nextPixel()) { in processRaw() 146 if (memcmp(dstIt.oldRawData(), dstIt.rawDataConst(), cs->pixelSize()) == 0) { in processRaw() 151 diff = cs->difference(dstIt.oldRawData(), dstIt.rawDataConst()); in processRaw() 155 memcpy(colors[0], dstIt.oldRawData(), pixelSize); in processRaw() 156 memcpy(colors[1], dstIt.rawDataConst(), pixelSize); in processRaw() 159 memcpy(dstIt.rawData(), dstIt.oldRawData(), pixelSize); in processRaw() 188 while (dstIt.nextPixel()) { in processLightnessOnly() 189 quint8 diff = cs->differenceA(dstIt.oldRawData(), dstIt.rawDataConst()); in processLightnessOnly() 191 cs->toLabA16(dstIt.oldRawData(), (quint8*)labColorSrc, 1); in processLightnessOnly() 204 cs->fromLabA16((quint8*)labColorSrc, dstIt.rawData(), 1); in processLightnessOnly() [all …]
|
/dports/graphics/krita/krita-4.4.8/plugins/extensions/separate_channels/ |
H A D | kis_channel_separator.cc | 133 KisHLineIteratorSP dstIt = dev->createHLineIteratorNG(rect.x(), rect.y(), rect.width()); in separate() local 144 dstCs->setOpacity(dstIt->rawData(), OPACITY_OPAQUE_U8, 1); in separate() 154 dstIt->rawData()[0] = srcIt->oldRawData()[channelPos]; in separate() 159 dstCs->setOpacity(dstIt->rawData(), OPACITY_OPAQUE_U8, 1); in separate() 164 dstIt->rawData()[0] = srcIt->oldRawData()[channelPos]; in separate() 165 dstIt->rawData()[1] = srcIt->oldRawData()[channelPos + 1]; in separate() 170 dstCs->setOpacity(dstIt->rawData(), OPACITY_OPAQUE_U8, 1); in separate() 177 dstCs->setOpacity(dstIt->rawData(), OPACITY_OPAQUE_U8, 1); in separate() 183 dstCs->setOpacity(dstIt->rawData(), OPACITY_OPAQUE_U8, 1); in separate() 188 } while (dstIt->nextPixel() && srcIt->nextPixel()); in separate() [all …]
|
/dports/graphics/krita/krita-4.4.8/plugins/filters/randompickfilter/ |
H A D | randompickfilter.cpp | 102 KisSequentialIteratorProgress dstIt(device, applyRect, progressUpdater); in processImpl() local 111 while (dstIt.nextPixel()) { in processImpl() 112 if (randT.doubleRandomAt(dstIt.x(), dstIt.y()) > threshold) { in processImpl() 113 …int x = static_cast<int>(dstIt.x() + windowsize * (randH.doubleRandomAt(dstIt.x(), dstIt.y()) - 0.… in processImpl() 114 …int y = static_cast<int>(dstIt.y() + windowsize * (randV.doubleRandomAt(dstIt.x(), dstIt.y()) -0.… in processImpl() 117 pixels[1] = dstIt.oldRawData(); in processImpl() 118 mixOp->mixColors(pixels, weights, 2, dstIt.rawData()); in processImpl()
|
/dports/graphics/krita/krita-4.4.8/libs/image/ |
H A D | kis_painter_blt_multi_fixed.cpp | 29 KisRandomAccessorSP dstIt, in applyDevice() argument 46 qint32 numContiguousDstRows = dstIt->numContiguousRows(dstY); in applyDevice() 56 qint32 dstRowStride = dstIt->rowStride(dstX, dstY); in applyDevice() 57 dstIt->moveTo(dstX, dstY); in applyDevice() 59 localParamInfo.dstRowStart = dstIt->rawData(); in applyDevice() 106 qint32 numContiguousDstRows = dstIt->numContiguousRows(dstY); in applyDeviceWithSelection() 118 qint32 dstRowStride = dstIt->rowStride(dstX, dstY); in applyDeviceWithSelection() 120 dstIt->moveTo(dstX, dstY); in applyDeviceWithSelection() 123 localParamInfo.dstRowStart = dstIt->rawData(); in applyDeviceWithSelection() 180 KisRandomAccessorSP dstIt = d->device->createRandomAccessorNG(); in bltFixed() local [all …]
|
H A D | KisFastDeviceProcessingUtils.h | 36 KisRandomAccessorSP dstIt, in processTwoDevices() argument 48 qint32 numContiguousDstRows = dstIt->numContiguousRows(dstY); in processTwoDevices() 56 qint32 numContiguousDstColumns = dstIt->numContiguousColumns(dstX); in processTwoDevices() 59 qint32 dstRowStride = dstIt->rowStride(dstX, dstY); in processTwoDevices() 62 dstIt->moveTo(dstX, dstY); in processTwoDevices() 65 quint8 *dstRowStart = dstIt->rawData(); in processTwoDevices()
|
H A D | KisPrecisePaintDeviceWrapper.cpp | 200 KisRandomAccessorSP dstIt = m_d->precDevice->createRandomAccessorNG(); in readRects() local 205 srcIt, dstIt, in readRects() 231 KisRandomAccessorSP dstIt = m_d->srcDevice->createRandomAccessorNG(); in writeRects() local 235 srcIt, dstIt, in writeRects()
|
H A D | kis_math_toolbox.cpp | 90 float *dstIt = fr->coeffs + (i - rect.y()) * fr->size * fr->depth; in transformToFR() local 94 *dstIt = f[k](v1, cis[k]->pos()); in transformToFR() 95 ++dstIt; in transformToFR() 151 KisHLineIteratorSP dstIt = dst->createHLineIteratorNG(rect.x(), rect.y(), rect.width()); in transformFromFR() local 155 quint8* v1 = dstIt->rawData(); in transformFromFR() 160 } while(dstIt->nextPixel()); in transformFromFR() 161 dstIt->nextRow(); in transformFromFR()
|
/dports/graphics/krita/krita-4.4.8/libs/image/layerstyles/ |
H A D | kis_layer_style_filter_environment.cpp | 55 KisSequentialIterator dstIt(selection, rc); in generateRandomSelection() local 60 while (dstIt.nextPixel()) { in generateRandomSelection() 62 *dstIt.rawData() = (quint8) randValue; in generateRandomSelection() 64 if (!dstIt.nextPixel()) break; in generateRandomSelection() 66 *dstIt.rawData() = (quint8) randValue; in generateRandomSelection() 68 if (!dstIt.nextPixel()) break; in generateRandomSelection() 70 *dstIt.rawData() = (quint8) randValue; in generateRandomSelection() 74 while (dstIt.nextPixel()) { in generateRandomSelection() 75 *dstIt.rawData() = (quint8) uniformSource(); in generateRandomSelection()
|
H A D | kis_ls_utils.cpp | 78 quint8 *dstPtr = dstIt.rawData(); in selectionFromAlphaChannel() 90 while(dstIt.nextPixel()) { in findEdge() 99 while(dstIt.nextPixel()) { in findEdge() 196 dstIt.nextPixel() && in applyGradientImpl() 216 dstIt.nextPixel() && in applyGradientImpl() 275 dstIt->moveTo(x, y); in applyNoise() 282 *dstIt->rawData() = value; in applyNoise() 307 while (dstIt.nextPixel()) { in adjustRange() 308 quint8 *pixelPtr = dstIt.rawData(); in adjustRange() 360 while (dstIt.nextPixel()) { in applyContourCorrection() [all …]
|
/dports/graphics/krita/krita-4.4.8/libs/libkis/ |
H A D | Channel.cpp | 142 KisSequentialIterator dstIt(dev, rect); in bounds() local 144 while(srcIt.nextPixel() && dstIt.nextPixel()) { in bounds() 146 memcpy(dstIt.rawData(), srcPtr + d->channel->pos(), d->channel->size()); in bounds() 199 KisSequentialIterator dstIt(d->node->paintDevice(), rect); in setPixelData() local 202 while (dstIt.nextPixel()) { in setPixelData() 205 *(dstIt.rawData() + (d->channel->pos() * d->channel->size())) = v ; in setPixelData() 209 while (dstIt.nextPixel()) { in setPixelData() 212 *(dstIt.rawData() + (d->channel->pos() * d->channel->size())) = v ; in setPixelData() 217 while (dstIt.nextPixel()) { in setPixelData() 221 *(dstIt.rawData() + (d->channel->pos() * d->channel->size())) = v ; in setPixelData() [all …]
|
/dports/graphics/krita/krita-4.4.8/libs/image/lazybrush/ |
H A D | kis_lazy_fill_tools.cpp | 134 KisSequentialIterator dstIt(resultDevice, graph.rect()); in cutOneWay() local 139 while (dstIt.nextPixel() && mskIt.nextPixel()) { in cutOneWay() 140 KisLazyFillGraph::vertex_descriptor v(dstIt.x(), dstIt.y()); in cutOneWay() 145 memcpy(dstIt.rawData(), color.data(), pixelSize); in cutOneWay() 166 KisSequentialIterator dstIt(dev, rect); in splitIntoConnectedComponents() local 168 while (dstIt.nextPixel()) { in splitIntoConnectedComponents() 169 if (cs->opacityU8(dstIt.rawData()) > 0) { in splitIntoConnectedComponents() 170 const QPoint pt(dstIt.x(), dstIt.y()); in splitIntoConnectedComponents()
|
H A D | kis_multiway_cut.cpp | 78 KisSequentialIterator dstIt(keyStrokeDevice, rc); in maskOutKeyStroke() local 81 while (dstIt.nextPixel() && mskIt.nextPixel()) { in maskOutKeyStroke() 83 *dstIt.rawData() = 0; in maskOutKeyStroke()
|
H A D | KisWatershedWorker.cpp | 151 KisSequentialIterator dstIt(stroke, rc); in mergeHeightmapOntoStroke() local 154 while (dstIt.nextPixel() && mapIt.nextPixel()) { in mergeHeightmapOntoStroke() 155 quint8 *dstPtr = dstIt.rawData(); in mergeHeightmapOntoStroke() 177 KisSequentialIterator dstIt(stroke, strokeRect); in parseColorIntoGroups() local 179 while (dstIt.nextPixel()) { in parseColorIntoGroups() 180 quint8 *dstPtr = dstIt.rawData(); in parseColorIntoGroups() 183 const QPoint pt(dstIt.x(), dstIt.y()); in parseColorIntoGroups() 722 KisSequentialIterator dstIt(dstDevice, boundingRect); in writeColoring() local 733 while (srcIt.nextPixel() && dstIt.nextPixel()) { in writeColoring() 738 memcpy(dstIt.rawData(), colors[colorIndex].data(), colorPixelSize); in writeColoring()
|
/dports/graphics/krita/krita-4.4.8/libs/ui/tool/strokes/ |
H A D | KisMaskingBrushRenderer.cpp | 91 KisRandomAccessorSP dstIt = m_dstDevice->createRandomAccessorNG(); in updateProjection() local 100 const qint32 numContiguousDstRows = dstIt->numContiguousRows(dstY); in updateProjection() 109 const qint32 numContiguousDstColumns = dstIt->numContiguousColumns(dstX); in updateProjection() 113 const qint32 dstRowStride = dstIt->rowStride(dstX, dstY); in updateProjection() 116 dstIt->moveTo(dstX, dstY); in updateProjection() 120 dstIt->rawData(), dstRowStride, in updateProjection()
|
/dports/graphics/krita/krita-4.4.8/plugins/filters/wavefilter/ |
H A D | wavefilter.cpp | 165 KisSequentialIteratorProgress dstIt(device, applyRect, progressUpdater); in processImpl() local 167 while (dstIt.nextPixel()) { in processImpl() 168 double xv = horizontalcurve->valueAt(dstIt.y(), dstIt.x()); in processImpl() 169 double yv = verticalcurve->valueAt(dstIt.x(), dstIt.y()); in processImpl() 171 srcRSA->sampledOldRawData(dstIt.rawData()); in processImpl()
|
/dports/graphics/krita/krita-4.4.8/plugins/filters/roundcorners/ |
H A D | kis_round_corners_filter.cpp | 67 KisSequentialIteratorProgress dstIt(device, processRect, progressUpdater); in fadeOneCorner() local 69 while (dstIt.nextPixel()) { in fadeOneCorner() 70 const QPointF point(dstIt.x(), dstIt.y()); in fadeOneCorner() 74 cs->setOpacity(dstIt.rawData(), OPACITY_TRANSPARENT_U8, 1); in fadeOneCorner()
|
/dports/graphics/krita/krita-4.4.8/plugins/filters/imageenhancement/ |
H A D | kis_simple_noise_reducer.cpp | 106 KisSequentialIterator dstIt(device, applyRect); in processImpl() local 108 while (dstIt.nextPixel() && intermIt.nextPixel()) { in processImpl() 109 const quint8 diff = cs->difference(dstIt.oldRawData(), intermIt.oldRawData()); in processImpl() 111 memcpy(dstIt.rawData(), intermIt.oldRawData(), cs->pixelSize()); in processImpl()
|
/dports/graphics/aseprite/aseprite-1.2.9/src/doc/algorithm/ |
H A D | rotsprite.cpp | 126 auto dstIt = dstBits.begin(); in image_scale2x_tpl() local 127 auto dstIt2 = dstIt; in image_scale2x_tpl() 139 *dstIt = (C == A && C != D && A != B ? A: P); in image_scale2x_tpl() 140 ++dstIt; in image_scale2x_tpl() 141 *dstIt = (A == B && A != C && B != D ? B: P); in image_scale2x_tpl() 142 ++dstIt; in image_scale2x_tpl() 149 dstIt += src_w*2; in image_scale2x_tpl()
|
/dports/graphics/aseprite/aseprite-1.2.9/src/app/util/ |
H A D | clipboard.cpp | 420 auto dstIt = dstLayers.begin(); in paste() local 424 for (; srcIt != srcEnd && dstIt != dstEnd; ++srcIt, ++dstIt) { in paste() 426 auto dstLayer = *dstIt; in paste() 512 auto dstIt = dstLayers.begin(); in paste() local 516 for (; srcIt != srcEnd && dstIt != dstEnd; ++srcIt, ++dstIt) { in paste() 518 auto dstLayer = *dstIt; in paste()
|
/dports/misc/usd/USD-21.11/pxr/usd/sdf/ |
H A D | copyUtils.cpp | 468 auto dstIt = dstFields.begin(), dstEndIt = dstFields.end(); in _ForEachField() local 469 while (srcIt != srcEndIt && dstIt != dstEndIt) { in _ForEachField() 470 if (*srcIt == *dstIt) { in _ForEachField() 472 ++srcIt, ++dstIt; in _ForEachField() 474 else if (lessThan(*srcIt, *dstIt)) { in _ForEachField() 475 for (; srcIt != srcEndIt && lessThan(*srcIt, *dstIt); ++srcIt) { in _ForEachField() 480 for (; dstIt != dstEndIt && lessThan(*dstIt, *srcIt); ++dstIt) { in _ForEachField() 481 fn(*dstIt, /* inSrc = */ false, /* inDst = */ true); in _ForEachField() 486 auto finalIt = (srcIt == srcEndIt) ? dstIt : srcIt; in _ForEachField()
|
/dports/graphics/krita/krita-4.4.8/plugins/filters/pixelizefilter/ |
H A D | kis_pixelize_filter.cpp | 123 KisSequentialIterator dstIt(device, writeRect); in processImpl() local 124 while (dstIt.nextPixel()) { in processImpl() 125 memcpy(dstIt.rawData(), pixelColor.data(), pixelSize); in processImpl()
|
/dports/graphics/krita/krita-4.4.8/libs/image/tests/ |
H A D | kis_paint_device_test.cpp | 1061 dstIt->moveTo(x, y); in testWrappedRandomAccessor() 1065 QCOMPARE(dstIt->numContiguousRows(y), 17); in testWrappedRandomAccessor() 1069 dstIt->moveTo(x, y); in testWrappedRandomAccessor() 1072 QCOMPARE(dstIt->numContiguousRows(y), 17); in testWrappedRandomAccessor() 1076 dstIt->moveTo(x, y); in testWrappedRandomAccessor() 1079 QCOMPARE(dstIt->numContiguousRows(y), 17); in testWrappedRandomAccessor() 1083 dstIt->moveTo(x, y); in testWrappedRandomAccessor() 1090 dstIt->moveTo(x, y); in testWrappedRandomAccessor() 1097 dstIt->moveTo(x, y); in testWrappedRandomAccessor() 1104 dstIt->moveTo(x, y); in testWrappedRandomAccessor() [all …]
|
/dports/graphics/krita/krita-4.4.8/plugins/filters/fastcolortransfer/ |
H A D | fastcolortransfer.cpp | 158 KisSequentialIterator dstIt(device, applyRect); in processImpl() local 159 while (srcLabIt.nextPixel() && dstIt.nextPixel()) { in processImpl() 166 oldCS->fromLabA16(reinterpret_cast<const quint8*>(labPixel), dstIt.rawData(), 1); in processImpl()
|
/dports/graphics/krita/krita-4.4.8/plugins/dockers/animation/ |
H A D | kis_time_based_item_model.cpp | 390 auto dstIt = list.end(); in mirrorFrames() local 392 KIS_SAFE_ASSERT_RECOVER_RETURN_VALUE(srcIt != dstIt, false); in mirrorFrames() 393 --dstIt; in mirrorFrames() 397 while (srcIt < dstIt) { in mirrorFrames() 399 channel->swapFrames(srcIt->column(), dstIt->column(), parentCommand.data()); in mirrorFrames() 403 dstIt--; in mirrorFrames()
|
/dports/graphics/krita/krita-4.4.8/plugins/filters/oilpaintfilter/ |
H A D | kis_oilpaint_filter.cpp | 95 KisSequentialIterator dstIt(dst, applyRect); in OilPaint() local 97 while (it.nextPixel() && dstIt.nextPixel()) { in OilPaint() 98 MostFrequentColor(src, dstIt.rawData(), applyRect, it.x(), it.y(), BrushSize, Smoothness); in OilPaint()
|