/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/color/ |
H A D | dcolor.h | 61 explicit DColor(uchar* data, bool sixteenBit = false) 63 setColor(data, sixteenBit); 69 DColor(int red, int green, int blue, int alpha, bool sixteenBit) in DColor() argument 74 m_sixteenBit (sixteenBit) in DColor() 81 explicit DColor(const QColor& color, bool sixteenBit=false); 91 inline void setColor(uchar* const data, bool sixteenBit = false); 121 bool sixteenBit() const in sixteenBit() function 146 void setSixteenBit(bool sixteenBit) in setSixteenBit() argument 148 m_sixteenBit = sixteenBit; in setSixteenBit() 192 void setHSL(int h, int s, int l, bool sixteenBit); [all …]
|
H A D | dcolorpixelaccess.h | 37 inline void DColor::setColor(uchar* const data, bool sixteenBit) in setColor() argument 39 m_sixteenBit = sixteenBit; in setColor() 41 if (!sixteenBit) // 8 bits image in setColor() 60 if (sixteenBit()) // 16 bits image. in setPixel()
|
H A D | dcolor.cpp | 38 DColor::DColor(const QColor& color, bool sixteenBit) in DColor() argument 60 if (sixteenBit) in DColor() 212 void DColor::setHSL(int h, int s, int l, bool sixteenBit) in setHSL() argument 337 m_sixteenBit = sixteenBit; in setHSL() 362 void DColor::setYCbCr(double y, double cb, double cr, bool sixteenBit) in setYCbCr() argument 367 double q = (sixteenBit ? 65535.0 : 255.0); in setYCbCr() 373 m_sixteenBit = sixteenBit; in setYCbCr()
|
H A D | dcolorcomposer.cpp | 146 if (dest.sixteenBit()) in compose() 222 if (dest.sixteenBit()) in compose() 256 if (dest.sixteenBit()) in compose() 292 if (dest.sixteenBit()) in compose() 326 if (dest.sixteenBit()) in compose() 358 if (dest.sixteenBit()) in compose() 392 if (dest.sixteenBit()) in compose() 426 if (dest.sixteenBit()) in compose() 460 if (dest.sixteenBit()) in compose() 494 if (dest.sixteenBit()) in compose()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/filters/levels/ |
H A D | imagelevels.cpp | 93 sixteenBit (false), in Private() 104 bool sixteenBit; member in Digikam::ImageLevels::Private 108 ImageLevels::ImageLevels(bool sixteenBit) in ImageLevels() argument 113 d->sixteenBit = sixteenBit; in ImageLevels() 152 return d->sixteenBit; in isSixteenBits() 221 for (i = 0 ; i < (d->sixteenBit ? 65535 : 255) ; ++i) in levelsChannelAuto() 238 for (i = (d->sixteenBit ? 65535 : 255) ; i > 0 ; --i) in levelsChannelAuto() 358 for (i = 0 ; i <= (d->sixteenBit ? 65535 : 255) ; ++i) in levelsCalculateTransfers() 456 inten /= (float)(d->sixteenBit ? 65535 : 255); in levelsLutFunc() 489 val = (float)(d->sixteenBit ? 65535 : 255) * in levelsLutSetup() [all …]
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/filters/fx/ |
H A D | blurfxfilter.cpp | 164 bool sixteenBit = prm.orgImage->sixteenBit(); in zoomBlurMultithreaded() local 306 bool sixteenBit = prm.orgImage->sixteenBit(); in radialBlurMultithreaded() local 521 bool sixteenBit = prm.orgImage->sixteenBit(); in motionBlurMultithreaded() local 659 bool sixteenBit = prm.orgImage->sixteenBit(); in softenerBlurMultithreaded() local 799 bool sixteenBit = prm.orgImage->sixteenBit(); in shakeBlurStage1Multithreaded() local 836 bool sixteenBit = prm.orgImage->sixteenBit(); in shakeBlurStage2Multithreaded() local 967 bool sixteenBit = prm.orgImage->sixteenBit(); in focusBlurMultithreaded() local 1145 bool sixteenBit = prm.orgImage->sixteenBit(); in smartBlurStage1Multithreaded() local 1214 bool sixteenBit = prm.orgImage->sixteenBit(); in smartBlurStage2Multithreaded() local 1404 bool sixteenBit = orgImage->sixteenBit(); in frostGlass() local [all …]
|
H A D | distortionfxfilter.cpp | 198 bool sixteenBit = prm.orgImage->sixteenBit(); in fisheyeMultithreaded() local 256 color.setColor(data + offset, sixteenBit); in fisheyeMultithreaded() 326 bool sixteenBit = prm.orgImage->sixteenBit(); in twirlMultithreaded() local 383 color.setColor(data + offset, sixteenBit); in twirlMultithreaded() 453 bool sixteenBit = prm.orgImage->sixteenBit(); in cilindricalMultithreaded() local 586 bool sixteenBit = prm.orgImage->sixteenBit(); in multipleCornersMultithreaded() local 813 bool sixteenBit = prm.orgImage->sixteenBit(); in blockWavesMultithreaded() local 845 color.setColor(data + offsetOther, sixteenBit); in blockWavesMultithreaded() 919 bool sixteenBit = prm.orgImage->sixteenBit(); in circularWavesMultithreaded() local 1025 bool sixteenBit = prm.orgImage->sixteenBit(); in polarCoordinatesMultithreaded() local [all …]
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/filters/curves/ |
H A D | curvescontainer.cpp | 35 : curvesType(ImageCurves::CURVE_SMOOTH), sixteenBit(false) in CurvesContainer() 39 CurvesContainer::CurvesContainer(int type, bool sixteenBit) in CurvesContainer() argument 40 : curvesType((ImageCurves::CurveType)type), sixteenBit(sixteenBit) in CurvesContainer() 64 if ((sixteenBit != other.sixteenBit) || (curvesType != other.curvesType)) in operator ==() 82 int segmentMax = sixteenBit ? MAX_SEGMENT_16BIT : MAX_SEGMENT_8BIT; in initialize() 118 return !(sixteenBit && curvesType == ImageCurves::CURVE_FREE); in isStoredLosslessly()
|
H A D | curvesfilter.cpp | 92 if (m_orgImage.sixteenBit() != m_settings.sixteenBit) in filterImage() 94 ImageCurves depthCurve(m_orgImage.sixteenBit()); in filterImage() 99 qCDebug(DIGIKAM_DIMG_LOG) << "Image 16 bits: " << m_orgImage.sixteenBit(); in filterImage()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/filters/bw/ |
H A D | mixerfilter.cpp | 74 bool sixteenBit = m_destImage.sixteenBit(); in filterImage() local 99 if (!sixteenBit) // 8 bits image. in filterImage() 114 sixteenBit, mnorm); in filterImage() 121 sixteenBit, bnorm); in filterImage() 124 sixteenBit, gnorm); in filterImage() 127 sixteenBit, rnorm); in filterImage() 154 red, green, blue, sixteenBit, mnorm); in filterImage() 160 red, green, blue, sixteenBit, bnorm); in filterImage() 162 red, green, blue, sixteenBit, gnorm); in filterImage() 164 red, green, blue, sixteenBit, rnorm); in filterImage() [all …]
|
H A D | infraredfilter.cpp | 90 bool sixteenBit = m_destImage.sixteenBit(); in filterImage() local 128 DImg BWImage(Width, Height, sixteenBit, true, data); // Black and White conversion. in filterImage() 149 DImg BWBlurImage(Width, Height, sixteenBit); in filterImage() 173 outData.setSixteenBit(sixteenBit); in filterImage() 181 bwData.setColor(BWImage.bits() + offset, sixteenBit); in filterImage() 182 overData.setColor(pOverlayBits + offset, sixteenBit); in filterImage() 184 if (sixteenBit) in filterImage()
|
H A D | tonalityfilter.cpp | 79 bool sixteenBit = m_destImage.sixteenBit(); in filterImage() local 84 DColor mask(m_settings.redMask, m_settings.greenMask, m_settings.blueMask, 0, sixteenBit); in filterImage() 87 if (!sixteenBit) // 8 bits image. in filterImage() 97 mask.setHSL(hue, sat, lig, sixteenBit); in filterImage() 122 mask.setHSL(hue, sat, lig, sixteenBit); in filterImage()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/filters/auto/ |
H A D | autolevelsfilter.cpp | 88 if (m_orgImage.sixteenBit() != m_refImage.sixteenBit()) in autoLevelsCorrectionImage() 97 bool sixteenBit = m_orgImage.sixteenBit(); in autoLevelsCorrectionImage() local 113 if (sixteenBit) in autoLevelsCorrectionImage() 140 levels.reset(new ImageLevels(sixteenBit)); in autoLevelsCorrectionImage() 174 if (sixteenBit) in autoLevelsCorrectionImage()
|
H A D | normalizefilter.cpp | 86 if (m_orgImage.sixteenBit() != m_refImage.sixteenBit()) in normalizeImage() 92 bool sixteenBit = m_orgImage.sixteenBit(); in normalizeImage() local 93 int segments = sixteenBit ? NUM_SEGMENTS_16BIT : NUM_SEGMENTS_8BIT; in normalizeImage() 106 if (!sixteenBit) // 8 bits image. in normalizeImage() 223 if (!sixteenBit) // 8 bits image. in normalizeImage()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/ |
H A D | dimg_bitsops.cpp | 49 if (src->sixteenBit() != sixteenBit()) in bitBltImage() 62 … src->width(), src->height(), width(), height(), sixteenBit(), src->bytesDepth(), bytesDepth()); in bitBltImage() 202 if (src->sixteenBit() != sixteenBit()) in bitBlendImage() 209 src->width(), src->height(), width(), height(), sixteenBit(), in bitBlendImage() 216 bool sixteenBit, int sdepth, int ddepth, in bitBlend() argument 242 DColor srcp(sptr, sixteenBit); in bitBlend() 243 DColor dstp(dptr, sixteenBit); in bitBlend() 283 if (sixteenBit()) in bitBlendImageOnColor() 293 width(), height(), sixteenBit(), bytesDepth(), multiplicationFlags); in bitBlendImageOnColor() 298 uint width, uint height, bool sixteenBit, int depth, in bitBlendOnColor() argument [all …]
|
H A D | dimg_props.cpp | 81 bool DImg::sixteenBit() const in sixteenBit() function in Digikam::DImg 83 return m_priv->sixteenBit; in sixteenBit() 205 if (m_priv->sixteenBit) in bytesDepth() 215 if (m_priv->sixteenBit) in bitsDepth() 559 int max = sixteenBit() ? 65535 : 255; in getSubPixelColor() 590 d00.setColor(data, sixteenBit()); in getSubPixelColorFast() 595 d10.setColor(data, sixteenBit()); in getSubPixelColorFast() 601 d01.setColor(data, sixteenBit()); in getSubPixelColorFast() 607 d11.setColor(data, sixteenBit()); in getSubPixelColorFast() 627 if (sixteenBit()) in getSubPixelColorFast() [all …]
|
H A D | dimg_data.cpp | 70 void DImg::putImageData(uint width, uint height, bool sixteenBit, bool alpha, uchar* const data, bo… in putImageData() argument 78 setImageData(true, width, height, sixteenBit, alpha); in putImageData() 161 setImageData(src->null, src->width, src->height, src->sixteenBit, src->alpha); in copyImageData() 168 (quint64)(m_priv->sixteenBit ? 8 : 4); in allocateData() 197 void DImg::setImageData(bool null, uint width, uint height, bool sixteenBit, bool alpha) in setImageData() argument 203 m_priv->sixteenBit = sixteenBit; in setImageData()
|
H A D | dimg_colors.cpp | 43 if (otherImage->sixteenBit()) in convertToDepthOfImage() 66 if (((depth == 32) && !sixteenBit()) || in convertDepth() 67 ((depth == 64) && sixteenBit())) in convertDepth() 88 m_priv->sixteenBit = false; in convertDepth() 121 m_priv->sixteenBit = true; in convertDepth() 136 if (sixteenBit()) in fill()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/filters/decorate/ |
H A D | texturefilter.cpp | 97 bool sixteenBit = m_orgImage.sixteenBit(); in filterImage() local 108 DImg textureImg(w, h, m_orgImage.sixteenBit(), m_orgImage.hasAlpha()); in filterImage() 133 if (sixteenBit) in filterImage() 156 teData.setColor(tptr, sixteenBit); in filterImage() 164 if (sixteenBit) in filterImage() 199 inData.setColor(ptr, sixteenBit); in filterImage() 200 outData.setColor(dptr, sixteenBit); in filterImage() 201 teData.setColor(tptr, sixteenBit); in filterImage() 203 if (sixteenBit) in filterImage()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/filters/cb/ |
H A D | cbfilter.cpp | 149 bool sixteenBit) in setTables() argument 151 if (!sixteenBit) in setTables() 207 bool sixteenBit) in getTables() argument 209 if (!sixteenBit) in getTables() 265 adjustRGB(r, g, b, a, image.sixteenBit()); in applyCBFilter() 267 if (!image.sixteenBit()) // 8 bits image. in applyCBFilter() 347 void CBFilter::adjustRGB(double r, double g, double b, double a, bool sixteenBit) in adjustRGB() argument 361 if (sixteenBit) in adjustRGB() 384 getTables(r_table, g_table, b_table, a_table, sixteenBit); in adjustRGB() 389 getTables(r_table, dummy_table, dummy_table, dummy_table, sixteenBit); in adjustRGB() [all …]
|
/dports/multimedia/zart/gmic-2.8.1/gmic-qt/src/Host/digiKam/ |
H A D | host_digikam.cpp | 66 void convertCImgtoDImg(const cimg_library::CImg<float>& in, DImg& out, bool sixteenBit) in convertCImgtoDImg() argument 71 out = DImg(in.width(), in.height(), sixteenBit, alpha); in convertCImgtoDImg() 75 …qDebug() << "GMicQt: convert CImg to DImg: RGB+Alpha image" << "(" << (sixteenBit+1) * 8 << "bits)… in convertCImgtoDImg() 87 if (sixteenBit) in convertCImgtoDImg() 117 … qDebug() << "GMicQt: convert CImg to DImg: RGB image" << "(" << (sixteenBit+1) * 8 << "bits)"; in convertCImgtoDImg() 128 if (sixteenBit) in convertCImgtoDImg() 167 if (sixteenBit) in convertCImgtoDImg() 193 … qDebug() << "GMicQt: convert CImg to DImg: Gray image" << "(" << (sixteenBit+1) * 8 << "bits)"; in convertCImgtoDImg() 202 if (sixteenBit) in convertCImgtoDImg() 239 qDebug() << "GMicQt: convert DImg to CImg:" << (in.sixteenBit()+1) * 8 << "bits image"; in convertDImgtoCImg() [all …]
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/filters/hsl/ |
H A D | hslfilter.cpp | 249 bool sixteenBit = image.sixteenBit(); in applyHSL() local 256 if (sixteenBit) // 16 bits image. in applyHSL() 262 color = DColor(data[2], data[1], data[0], 0, sixteenBit); in applyHSL() 270 …r16[hue], vibranceBias(d->stransfer16[sat], hue, vib, sixteenBit), d->ltransfer16[lig], sixteenBit… in applyHSL() 292 color = DColor(data[2], data[1], data[0], 0, sixteenBit); in applyHSL() 300 …ansfer[hue], vibranceBias(d->stransfer[sat], hue, vib, sixteenBit), d->ltransfer[lig], sixteenBit); in applyHSL()
|
/dports/graphics/libkipi/libkipi-21.12.3/tests/common/ |
H A D | kipiwriteimage.cpp | 56 sixteenBit = false; in Private() 65 bool sixteenBit; member in KXMLKipiCmd::KIPIWriteImage::Private 87 if (d->sixteenBit) in bytesDepth() 120 d->sixteenBit = sixteenBit; in setImageData() 165 if (!d->sixteenBit) // 8 bits image. in write2JPEG() 249 if (!d->sixteenBit) // 8 bits image. in write2PPM() 327 int bitsDepth = d->sixteenBit ? 16 : 8; in write2PNG() 346 if (d->sixteenBit) in write2PNG() 357 if (d->sixteenBit) in write2PNG() 402 if (d->sixteenBit) in write2PNG() [all …]
|
/dports/graphics/digikam/digikam-7.4.0/core/dplugins/editor/colors/film/ |
H A D | filmtool.cpp | 163 d->histoSegments = d->originalImage->sixteenBit() ? 65535 : 255; in FilmTool() 164 d->levels = new ImageLevels(d->originalImage->sixteenBit()); in FilmTool() 312 d->filmContainer.setSixteenBit(d->originalImage->sixteenBit()); in FilmTool() 356 bool sb = d->originalImage->sixteenBit(); in slotResetSettings() 508 bool sixteenBit = d->originalImage->sixteenBit(); in slotAutoWhitePoint() local 516 double count = hist->getCount(channel, 0, sixteenBit ? 65535 : 255); in slotAutoWhitePoint() 518 for (int i = (sixteenBit ? 65535 : 255) ; i > 0 ; --i) in slotAutoWhitePoint() 536 sixteenBit); in slotAutoWhitePoint() 546 d->filmContainer.setSixteenBit(d->originalImage->sixteenBit()); in slotResetWhitePoint() 566 bool sb = d->originalImage->sixteenBit(); in readSettings() [all …]
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/filters/film/ |
H A D | filmfilter.cpp | 50 FilmContainer::FilmContainer(CNFilmProfile profile, double gamma, bool sixteenBit) in FilmContainer() argument 54 d->sixteenBit = sixteenBit; in FilmContainer() 55 d->whitePoint = DColor(QColor("white"), sixteenBit); in FilmContainer() 81 d->sixteenBit = val; in setSixteenBit() 243 int max = d->sixteenBit ? 65535 : 255; in whitePointForChannel() 276 int max = d->sixteenBit ? 65535 : 255; in gammaForChannel() 294 int max = d->sixteenBit ? 65535 : 255; in toLevels() 460 action.addParameter(QLatin1String("WhitePointSixteenBit"), d->film.whitePoint().sixteenBit()); in filterAction()
|