/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmcharls/ |
H A D | processline.h | 53 ::memcpy(dest, _rawData, pixelCount * _bytesPerPixel); in NewLineRequested() 59 ::memcpy(_rawData, pSrc, pixelCount * _bytesPerPixel); in NewLineDecoded() 104 std::size_t bytesToRead = pixelCount * _bytesPerPixel; in NewLineRequested() 116 ByteSwap(static_cast<unsigned char*>(dest), 2 * pixelCount); in NewLineRequested() 119 if (_bytesPerLine - pixelCount * _bytesPerPixel > 0) in NewLineRequested() 127 int bytesToWrite = pixelCount * _bytesPerPixel; in NewLineDecoded() 177 for (int i = 0; i < pixelCount; ++i) in TransformRgbToBgr() 188 for (int i = 0; i < pixelCount; ++i) in TransformLine() 246 Transform(_rawPixels.rawData, dest, pixelCount, destStride); in NewLineRequested() 251 Transform(_rawPixels.rawStream, dest, pixelCount, destStride); in NewLineRequested() [all …]
|
/dports/devel/gdcm/gdcm-3.0.10/Utilities/gdcmcharls/ |
H A D | processline.h | 53 ::memcpy(dest, _rawData, pixelCount * _bytesPerPixel); in NewLineRequested() 59 ::memcpy(_rawData, pSrc, pixelCount * _bytesPerPixel); in NewLineDecoded() 104 std::size_t bytesToRead = pixelCount * _bytesPerPixel; in NewLineRequested() 116 ByteSwap(static_cast<unsigned char*>(dest), 2 * pixelCount); in NewLineRequested() 119 if (_bytesPerLine - pixelCount * _bytesPerPixel > 0) in NewLineRequested() 127 int bytesToWrite = pixelCount * _bytesPerPixel; in NewLineDecoded() 177 for (int i = 0; i < pixelCount; ++i) in TransformRgbToBgr() 188 for (int i = 0; i < pixelCount; ++i) in TransformLine() 246 Transform(_rawPixels.rawData, dest, pixelCount, destStride); in NewLineRequested() 251 Transform(_rawPixels.rawStream, dest, pixelCount, destStride); in NewLineRequested() [all …]
|
/dports/science/afni/afni-AFNI_21.3.16/src/crorden/dcm2niix_console/charls/ |
H A D | processline.h | 55 std::memcpy(dest, _rawData, pixelCount * _bytesPerPixel); in NewLineRequested() 61 std::memcpy(_rawData, pSrc, pixelCount * _bytesPerPixel); in NewLineDecoded() 107 auto bytesToRead = pixelCount * _bytesPerPixel; in NewLineRequested() 119 ByteSwap(static_cast<unsigned char*>(dest), 2 * pixelCount); in NewLineRequested() 122 if (_bytesPerLine - pixelCount * _bytesPerPixel > 0) in NewLineRequested() 130 const auto bytesToWrite = pixelCount * _bytesPerPixel; in NewLineDecoded() 179 for (auto i = 0; i < pixelCount; ++i) in TransformRgbToBgr() 190 for (auto i = 0; i < pixelCount; ++i) in TransformLine() 246 Transform(_rawPixels.rawData, dest, pixelCount, destStride); in NewLineRequested() 251 Transform(_rawPixels.rawStream, dest, pixelCount, destStride); in NewLineRequested() [all …]
|
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/dcmjpls/libcharls/ |
H A D | procline.h | 23 virtual void NewLineRequested(void* pSrc, int pixelCount, int bytesperline) = 0; 37 void NewLineRequested(void* pDst, int pixelCount, int /*byteStride*/) in NewLineRequested() argument 43 void NewLineDecoded(const void* pSrc, int pixelCount, int /*byteStride*/) in NewLineDecoded() argument 91 void TransformRgbToBgr(SAMPLE* pDest, int samplesPerPixel, int pixelCount) in TransformRgbToBgr() argument 93 for (int i = 0; i < pixelCount; ++i) in TransformRgbToBgr() 106 for (int i = 0; i < pixelCount; ++i) in TransformLine() 162 void NewLineRequested(void* pDst, int pixelCount, int stride) in NewLineRequested() argument 168 memcpy(pLine, _pbyteOutput, sizeof(Triplet<SAMPLE>)*pixelCount); in NewLineRequested() 169 TransformRgbToBgr(pLine, _info.components, pixelCount); in NewLineRequested() 191 void NewLineDecoded(const void* pSrc, int pixelCount, int byteStride) in NewLineDecoded() argument [all …]
|
/dports/games/fheroes2/fheroes2-0.9.11/src/engine/ |
H A D | image_tool.cpp | 230 uint32_t pixelCount = *data; in decodeICNSprite() local 237 --pixelCount; in decodeICNSprite() 256 while ( pixelCount > 0 ) { in decodeICNSprite() 259 --pixelCount; in decodeICNSprite() 263 posX += pixelCount; in decodeICNSprite() 270 uint32_t pixelCount = *data; in decodeICNSprite() local 272 while ( pixelCount > 0 ) { in decodeICNSprite() 276 --pixelCount; in decodeICNSprite() 281 uint32_t pixelCount = *data - 0xC0; in decodeICNSprite() local 283 while ( pixelCount > 0 ) { in decodeICNSprite() [all …]
|
/dports/games/lwjgl/lwjgl-2df01dd/src/native/windows/ |
H A D | org_lwjgl_input_Cursor.c | 67 int pixelCount = 0; in Java_org_lwjgl_opengl_WindowsDisplay_nCreateCursor() local 131 col0 = (pixels[pixelCount++] & 0x01000000) >> 17; in Java_org_lwjgl_opengl_WindowsDisplay_nCreateCursor() 132 col1 = (pixels[pixelCount++] & 0x01000000) >> 18; in Java_org_lwjgl_opengl_WindowsDisplay_nCreateCursor() 133 col2 = (pixels[pixelCount++] & 0x01000000) >> 19; in Java_org_lwjgl_opengl_WindowsDisplay_nCreateCursor() 134 col3 = (pixels[pixelCount++] & 0x01000000) >> 20; in Java_org_lwjgl_opengl_WindowsDisplay_nCreateCursor() 135 col4 = (pixels[pixelCount++] & 0x01000000) >> 21; in Java_org_lwjgl_opengl_WindowsDisplay_nCreateCursor() 136 col5 = (pixels[pixelCount++] & 0x01000000) >> 22; in Java_org_lwjgl_opengl_WindowsDisplay_nCreateCursor() 137 col6 = (pixels[pixelCount++] & 0x01000000) >> 23; in Java_org_lwjgl_opengl_WindowsDisplay_nCreateCursor() 138 col7 = (pixels[pixelCount++] & 0x01000000) >> 24; in Java_org_lwjgl_opengl_WindowsDisplay_nCreateCursor()
|
/dports/science/jmol/jmol-14.32.7/src/org/jmol/g3d/ |
H A D | TriangleRenderer.java | 274 int pixelCount = axE[i] - (xW = axW[i]) + pass2Off; in fillTriangle() local 275 if (pixelCount > 0) in fillTriangle() 281 int pixelCount = axE[i] - (xW = axW[i]) + pass2Off; in fillTriangle() local 282 if (pass2Row == 1 && pixelCount < 0) { in fillTriangle() 288 pixelCount = 1; in fillTriangle() 291 if (pixelCount > 0) in fillTriangle() 299 int pixelCount = axE[i] - (xW = axW[i]) + pass2Off; in fillTriangle() local 300 if (pixelCount > 0) in fillTriangle() 307 if (pass2Row == 1 && pixelCount < 0) { in fillTriangle() 313 pixelCount = 1; in fillTriangle() [all …]
|
/dports/graphics/netpbm/netpbm-10.91.01/editor/ |
H A D | pnmhisteq.c | 107 unsigned int pixelCount; in computeLuminosityHistogram() local 131 pixelCount = rows * cols; in computeLuminosityHistogram() 146 for (row = 0, pixelCount = 0; row < rows; ++row) { in computeLuminosityHistogram() 157 ++pixelCount; in computeLuminosityHistogram() 168 *pixelCountP = pixelCount; in computeLuminosityHistogram() 290 unsigned int const pixelCount, in computeMap() argument 326 remapPixelCount = pixelCount; /* Initial assumption */ in computeMap() 354 unsigned int const pixelCount, in getMapping() argument 510 unsigned int pixelCount; in main() local 523 &lumahist, &pixelCount); in main() [all …]
|
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Assets/ |
H A D | Palette.h | 44 …void indexedToRgb(const Buffer<IndexT>& indexedImage, const size_t pixelCount, Buffer<ColorT>& rgb… in indexedToRgb() argument 45 indexedToRgb(&indexedImage[0], pixelCount, rgbImage, averageColor); in indexedToRgb() 49 …void indexedToRgb(const IndexT* indexedImage, const size_t pixelCount, Buffer<ColorT>& rgbImage, C… in indexedToRgb() argument 52 for (size_t i = 0; i < pixelCount; ++i) { in indexedToRgb() 63 averageColor[i] = static_cast<float>(avg[i] / pixelCount / 0xFF); in indexedToRgb()
|
/dports/multimedia/mlt7-qt5/mlt-7.0.1/src/modules/plus/ |
H A D | filter_strobe.c | 62 size_t pixelCount = *width * *height; in filter_get_image() local 67 for ( size_t i=3; i<pixelCount * 4; i+=4 ) in filter_get_image() 76 uint8_t* alpha = mlt_pool_alloc( pixelCount ); in filter_get_image() 77 memset( alpha, 0, pixelCount ); in filter_get_image() 78 mlt_frame_set_alpha( frame, alpha, pixelCount, mlt_pool_release ); in filter_get_image()
|
/dports/multimedia/mlt7/mlt-7.0.1/src/modules/plus/ |
H A D | filter_strobe.c | 62 size_t pixelCount = *width * *height; in filter_get_image() local 67 for ( size_t i=3; i<pixelCount * 4; i+=4 ) in filter_get_image() 76 uint8_t* alpha = mlt_pool_alloc( pixelCount ); in filter_get_image() 77 memset( alpha, 0, pixelCount ); in filter_get_image() 78 mlt_frame_set_alpha( frame, alpha, pixelCount, mlt_pool_release ); in filter_get_image()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/javax/swing/plaf/nimbus/ |
H A D | ImageCache.java | 145 currentPixelCount -= ref.pixelCount; in setImage() 156 currentPixelCount -= ref.pixelCount; in setImage() 167 currentPixelCount -= entry.getValue().pixelCount; in setImage() 191 private final int pixelCount; field in ImageCache.PixelCountSoftReference 199 … PixelCountSoftReference(Image referent, ReferenceQueue<? super Image> q, int pixelCount, int hash, in PixelCountSoftReference() argument 202 this.pixelCount = pixelCount; in PixelCountSoftReference()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/javax/swing/plaf/nimbus/ |
H A D | ImageCache.java | 145 currentPixelCount -= ref.pixelCount; in setImage() 156 currentPixelCount -= ref.pixelCount; in setImage() 167 currentPixelCount -= entry.getValue().pixelCount; in setImage() 191 private final int pixelCount; field in ImageCache.PixelCountSoftReference 199 … PixelCountSoftReference(Image referent, ReferenceQueue<? super Image> q, int pixelCount, int hash, in PixelCountSoftReference() argument 202 this.pixelCount = pixelCount; in PixelCountSoftReference()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/javax/swing/plaf/nimbus/ |
H A D | ImageCache.java | 145 currentPixelCount -= ref.pixelCount; in setImage() 156 currentPixelCount -= ref.pixelCount; in setImage() 167 currentPixelCount -= entry.getValue().pixelCount; in setImage() 191 private final int pixelCount; field in ImageCache.PixelCountSoftReference 199 … PixelCountSoftReference(Image referent, ReferenceQueue<? super Image> q, int pixelCount, int hash, in PixelCountSoftReference() argument 202 this.pixelCount = pixelCount; in PixelCountSoftReference()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | ImageCache.java | 145 currentPixelCount -= ref.pixelCount; in setImage() 156 currentPixelCount -= ref.pixelCount; in setImage() 167 currentPixelCount -= entry.getValue().pixelCount; in setImage() 191 private final int pixelCount; field in ImageCache.PixelCountSoftReference 199 … PixelCountSoftReference(Image referent, ReferenceQueue<? super Image> q, int pixelCount, int hash, in PixelCountSoftReference() argument 202 this.pixelCount = pixelCount; in PixelCountSoftReference()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/classes/javax/swing/plaf/nimbus/ |
H A D | ImageCache.java | 145 currentPixelCount -= ref.pixelCount; in setImage() 156 currentPixelCount -= ref.pixelCount; in setImage() 167 currentPixelCount -= entry.getValue().pixelCount; in setImage() 191 private final int pixelCount; field in ImageCache.PixelCountSoftReference 199 … PixelCountSoftReference(Image referent, ReferenceQueue<? super Image> q, int pixelCount, int hash, in PixelCountSoftReference() argument 202 this.pixelCount = pixelCount; in PixelCountSoftReference()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/classes/javax/swing/plaf/nimbus/ |
H A D | ImageCache.java | 145 currentPixelCount -= ref.pixelCount; in setImage() 156 currentPixelCount -= ref.pixelCount; in setImage() 167 currentPixelCount -= entry.getValue().pixelCount; in setImage() 191 private final int pixelCount; field in ImageCache.PixelCountSoftReference 199 … PixelCountSoftReference(Image referent, ReferenceQueue<? super Image> q, int pixelCount, int hash, in PixelCountSoftReference() argument 202 this.pixelCount = pixelCount; in PixelCountSoftReference()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/javax/swing/plaf/nimbus/ |
H A D | ImageCache.java | 145 currentPixelCount -= ref.pixelCount; in setImage() 156 currentPixelCount -= ref.pixelCount; in setImage() 167 currentPixelCount -= entry.getValue().pixelCount; in setImage() 191 private final int pixelCount; field in ImageCache.PixelCountSoftReference 199 … PixelCountSoftReference(Image referent, ReferenceQueue<? super Image> q, int pixelCount, int hash, in PixelCountSoftReference() argument 202 this.pixelCount = pixelCount; in PixelCountSoftReference()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/classes/javax/swing/plaf/nimbus/ |
H A D | ImageCache.java | 145 currentPixelCount -= ref.pixelCount; in setImage() 156 currentPixelCount -= ref.pixelCount; in setImage() 167 currentPixelCount -= entry.getValue().pixelCount; in setImage() 191 private final int pixelCount; field in ImageCache.PixelCountSoftReference 199 … PixelCountSoftReference(Image referent, ReferenceQueue<? super Image> q, int pixelCount, int hash, in PixelCountSoftReference() argument 202 this.pixelCount = pixelCount; in PixelCountSoftReference()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/classes/javax/swing/plaf/nimbus/ |
H A D | ImageCache.java | 145 currentPixelCount -= ref.pixelCount; in setImage() 156 currentPixelCount -= ref.pixelCount; in setImage() 167 currentPixelCount -= entry.getValue().pixelCount; in setImage() 191 private final int pixelCount; field in ImageCache.PixelCountSoftReference 199 … PixelCountSoftReference(Image referent, ReferenceQueue<? super Image> q, int pixelCount, int hash, in PixelCountSoftReference() argument 202 this.pixelCount = pixelCount; in PixelCountSoftReference()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | ImageCache.java | 145 currentPixelCount -= ref.pixelCount; in setImage() 156 currentPixelCount -= ref.pixelCount; in setImage() 167 currentPixelCount -= entry.getValue().pixelCount; in setImage() 191 private final int pixelCount; field in ImageCache.PixelCountSoftReference 199 … PixelCountSoftReference(Image referent, ReferenceQueue<? super Image> q, int pixelCount, int hash, in PixelCountSoftReference() argument 202 this.pixelCount = pixelCount; in PixelCountSoftReference()
|
/dports/graphics/processing/processing-1.5.1/modes/java/libraries/video/examples/RadialPocky/ |
H A D | RadialPocky.pde | 14 int pixelCount; 28 pixelCount = width*height; 31 radii = new int[pixelCount]; 32 angles = new int[pixelCount]; 64 for (int i = 0; i < pixelCount; i++) {
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/bladerunner/ |
H A D | screen_effects.cpp | 101 int pixelCount = entry->width * entry->height; in readVqa() local 103 if (pixelCount > dataSize) { // too big to fit in readVqa() 112 dataSize -= pixelCount; in readVqa() 121 pixelCount -= 2; in readVqa() 128 pixelCount -= 2; in readVqa() 131 } while (pixelCount > 0); in readVqa()
|
/dports/games/scummvm/scummvm-2.5.1/engines/bladerunner/ |
H A D | screen_effects.cpp | 101 int pixelCount = entry->width * entry->height; in readVqa() local 103 if (pixelCount > dataSize) { // too big to fit in readVqa() 112 dataSize -= pixelCount; in readVqa() 121 pixelCount -= 2; in readVqa() 128 pixelCount -= 2; in readVqa() 131 } while (pixelCount > 0); in readVqa()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tools/skdiff/ |
H A D | skdiff.cpp | 218 int pixelCount = w * h; in compute_diff() local 219 dr->fFractionDifference = ((float) mismatchedPixels) / pixelCount; in compute_diff() 220 dr->fWeightedFraction /= pixelCount; in compute_diff() 222 dr->fAverageMismatchA = ((float) totalMismatchA) / pixelCount; in compute_diff() 223 dr->fAverageMismatchR = ((float) totalMismatchR) / pixelCount; in compute_diff() 224 dr->fAverageMismatchG = ((float) totalMismatchG) / pixelCount; in compute_diff() 225 dr->fAverageMismatchB = ((float) totalMismatchB) / pixelCount; in compute_diff()
|