/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libsplashscreen/ |
H A D | splashscreen_gfx_impl.c | 62 pDither->numColors = numColors; in initDither() 97 numColors[0] = numColors[1] = numColors[2] = 2; in quantizeColors() 103 if (numColors[idx[i]]*scale[idx[i]]>numColors[idx[j]]*scale[idx[j]]) \ in quantizeColors() 109 if ((numColors[idx[0]] + 1) * numColors[idx[1]] * in quantizeColors() 112 } else if (numColors[idx[0]] * (numColors[idx[1]] + 1) * in quantizeColors() 114 numColors[idx[1]]++; in quantizeColors() 115 } else if (numColors[idx[0]] * numColors[idx[1]] * in quantizeColors() 117 numColors[idx[2]]++; in quantizeColors() 122 return numColors[0] * numColors[1] * numColors[2]; in quantizeColors() 142 initDither(pDithers + 1, numColors[1], numColors[0]); in initColorCube() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/native/libsplashscreen/ |
H A D | splashscreen_gfx_impl.c | 62 pDither->numColors = numColors; in initDither() 97 numColors[0] = numColors[1] = numColors[2] = 2; in quantizeColors() 103 if (numColors[idx[i]]*scale[idx[i]]>numColors[idx[j]]*scale[idx[j]]) \ in quantizeColors() 109 if ((numColors[idx[0]] + 1) * numColors[idx[1]] * in quantizeColors() 112 } else if (numColors[idx[0]] * (numColors[idx[1]] + 1) * in quantizeColors() 114 numColors[idx[1]]++; in quantizeColors() 115 } else if (numColors[idx[0]] * numColors[idx[1]] * in quantizeColors() 117 numColors[idx[2]]++; in quantizeColors() 122 return numColors[0] * numColors[1] * numColors[2]; in quantizeColors() 142 initDither(pDithers + 1, numColors[1], numColors[0]); in initColorCube() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libsplashscreen/ |
H A D | splashscreen_gfx_impl.c | 62 pDither->numColors = numColors; in initDither() 97 numColors[0] = numColors[1] = numColors[2] = 2; in quantizeColors() 103 if (numColors[idx[i]]*scale[idx[i]]>numColors[idx[j]]*scale[idx[j]]) \ in quantizeColors() 109 if ((numColors[idx[0]] + 1) * numColors[idx[1]] * in quantizeColors() 112 } else if (numColors[idx[0]] * (numColors[idx[1]] + 1) * in quantizeColors() 114 numColors[idx[1]]++; in quantizeColors() 115 } else if (numColors[idx[0]] * numColors[idx[1]] * in quantizeColors() 117 numColors[idx[2]]++; in quantizeColors() 122 return numColors[0] * numColors[1] * numColors[2]; in quantizeColors() 142 initDither(pDithers + 1, numColors[1], numColors[0]); in initColorCube() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/native/libsplashscreen/ |
H A D | splashscreen_gfx_impl.c | 62 pDither->numColors = numColors; in initDither() 97 numColors[0] = numColors[1] = numColors[2] = 2; in quantizeColors() 103 if (numColors[idx[i]]*scale[idx[i]]>numColors[idx[j]]*scale[idx[j]]) \ in quantizeColors() 109 if ((numColors[idx[0]] + 1) * numColors[idx[1]] * in quantizeColors() 112 } else if (numColors[idx[0]] * (numColors[idx[1]] + 1) * in quantizeColors() 114 numColors[idx[1]]++; in quantizeColors() 115 } else if (numColors[idx[0]] * numColors[idx[1]] * in quantizeColors() 117 numColors[idx[2]]++; in quantizeColors() 122 return numColors[0] * numColors[1] * numColors[2]; in quantizeColors() 142 initDither(pDithers + 1, numColors[1], numColors[0]); in initColorCube() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/native/libsplashscreen/ |
H A D | splashscreen_gfx_impl.c | 62 pDither->numColors = numColors; in initDither() 97 numColors[0] = numColors[1] = numColors[2] = 2; in quantizeColors() 103 if (numColors[idx[i]]*scale[idx[i]]>numColors[idx[j]]*scale[idx[j]]) \ in quantizeColors() 109 if ((numColors[idx[0]] + 1) * numColors[idx[1]] * in quantizeColors() 112 } else if (numColors[idx[0]] * (numColors[idx[1]] + 1) * in quantizeColors() 114 numColors[idx[1]]++; in quantizeColors() 115 } else if (numColors[idx[0]] * numColors[idx[1]] * in quantizeColors() 117 numColors[idx[2]]++; in quantizeColors() 122 return numColors[0] * numColors[1] * numColors[2]; in quantizeColors() 142 initDither(pDithers + 1, numColors[1], numColors[0]); in initColorCube() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/native/libsplashscreen/ |
H A D | splashscreen_gfx_impl.c | 62 pDither->numColors = numColors; in initDither() 97 numColors[0] = numColors[1] = numColors[2] = 2; in quantizeColors() 103 if (numColors[idx[i]]*scale[idx[i]]>numColors[idx[j]]*scale[idx[j]]) \ in quantizeColors() 109 if ((numColors[idx[0]] + 1) * numColors[idx[1]] * in quantizeColors() 112 } else if (numColors[idx[0]] * (numColors[idx[1]] + 1) * in quantizeColors() 114 numColors[idx[1]]++; in quantizeColors() 115 } else if (numColors[idx[0]] * numColors[idx[1]] * in quantizeColors() 117 numColors[idx[2]]++; in quantizeColors() 122 return numColors[0] * numColors[1] * numColors[2]; in quantizeColors() 142 initDither(pDithers + 1, numColors[1], numColors[0]); in initColorCube() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/native/libsplashscreen/ |
H A D | splashscreen_gfx_impl.c | 62 pDither->numColors = numColors; in initDither() 97 numColors[0] = numColors[1] = numColors[2] = 2; in quantizeColors() 103 if (numColors[idx[i]]*scale[idx[i]]>numColors[idx[j]]*scale[idx[j]]) \ in quantizeColors() 109 if ((numColors[idx[0]] + 1) * numColors[idx[1]] * in quantizeColors() 112 } else if (numColors[idx[0]] * (numColors[idx[1]] + 1) * in quantizeColors() 114 numColors[idx[1]]++; in quantizeColors() 115 } else if (numColors[idx[0]] * numColors[idx[1]] * in quantizeColors() 117 numColors[idx[2]]++; in quantizeColors() 122 return numColors[0] * numColors[1] * numColors[2]; in quantizeColors() 142 initDither(pDithers + 1, numColors[1], numColors[0]); in initColorCube() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/native/libsplashscreen/ |
H A D | splashscreen_gfx_impl.c | 62 pDither->numColors = numColors; in initDither() 97 numColors[0] = numColors[1] = numColors[2] = 2; in quantizeColors() 103 if (numColors[idx[i]]*scale[idx[i]]>numColors[idx[j]]*scale[idx[j]]) \ in quantizeColors() 109 if ((numColors[idx[0]] + 1) * numColors[idx[1]] * in quantizeColors() 112 } else if (numColors[idx[0]] * (numColors[idx[1]] + 1) * in quantizeColors() 114 numColors[idx[1]]++; in quantizeColors() 115 } else if (numColors[idx[0]] * numColors[idx[1]] * in quantizeColors() 117 numColors[idx[2]]++; in quantizeColors() 122 return numColors[0] * numColors[1] * numColors[2]; in quantizeColors() 142 initDither(pDithers + 1, numColors[1], numColors[0]); in initColorCube() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_gfx_impl.c | 62 pDither->numColors = numColors; in initDither() 97 numColors[0] = numColors[1] = numColors[2] = 2; in quantizeColors() 103 if (numColors[idx[i]]*scale[idx[i]]>numColors[idx[j]]*scale[idx[j]]) \ in quantizeColors() 109 if ((numColors[idx[0]] + 1) * numColors[idx[1]] * in quantizeColors() 112 } else if (numColors[idx[0]] * (numColors[idx[1]] + 1) * in quantizeColors() 114 numColors[idx[1]]++; in quantizeColors() 115 } else if (numColors[idx[0]] * numColors[idx[1]] * in quantizeColors() 117 numColors[idx[2]]++; in quantizeColors() 122 return numColors[0] * numColors[1] * numColors[2]; in quantizeColors() 142 initDither(pDithers + 1, numColors[1], numColors[0]); in initColorCube() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_gfx_impl.c | 62 pDither->numColors = numColors; in initDither() 97 numColors[0] = numColors[1] = numColors[2] = 2; in quantizeColors() 103 if (numColors[idx[i]]*scale[idx[i]]>numColors[idx[j]]*scale[idx[j]]) \ in quantizeColors() 109 if ((numColors[idx[0]] + 1) * numColors[idx[1]] * in quantizeColors() 112 } else if (numColors[idx[0]] * (numColors[idx[1]] + 1) * in quantizeColors() 114 numColors[idx[1]]++; in quantizeColors() 115 } else if (numColors[idx[0]] * numColors[idx[1]] * in quantizeColors() 117 numColors[idx[2]]++; in quantizeColors() 122 return numColors[0] * numColors[1] * numColors[2]; in quantizeColors() 142 initDither(pDithers + 1, numColors[1], numColors[0]); in initColorCube() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/tinsel/ |
H A D | palette.cpp | 236 g_pDAChead->numColors = numColors; // set number of colors in UpdateDACqueueHandle() 260 g_pDAChead->numColors = numColors; // set number of colors in UpdateDACqueue() 261 if (numColors == 1) in UpdateDACqueue() 331 p->numColors = FROM_32(pNewPal->numColors); // set number of colors in palette in AllocPalette() 364 pNxtPal->numColors, in AllocPalette() 368 pNxtPal->numColors, in AllocPalette() 381 iDAC = p->posInDAC + p->numColors; in AllocPalette() 443 if (pPalQ->numColors >= (int)FROM_32(pNewPal->numColors)) { in SwapPalette() 450 pPalQ->numColors = FROM_32(pNewPal->numColors); in SwapPalette() 479 pNxtPalQ->numColors, in SwapPalette() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/tinsel/ |
H A D | palette.cpp | 247 g_pDAChead->numColors = numColors; // set number of colors in UpdateDACqueueHandle() 271 g_pDAChead->numColors = numColors; // set number of colors in UpdateDACqueue() 272 if (numColors == 1) in UpdateDACqueue() 342 p->numColors = FROM_32(pNewPal->numColors); // set number of colors in palette in AllocPalette() 375 pNxtPal->numColors, in AllocPalette() 379 pNxtPal->numColors, in AllocPalette() 392 iDAC = p->posInDAC + p->numColors; in AllocPalette() 454 if (pPalQ->numColors >= (int)FROM_32(pNewPal->numColors)) { in SwapPalette() 461 pPalQ->numColors = FROM_32(pNewPal->numColors); in SwapPalette() 490 pNxtPalQ->numColors, in SwapPalette() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/imageio/plugins/png/ |
H A D | ShortHistogramTest.java | 58 int numColors = 15; in main() local 72 int numColors; field in ShortHistogramTest 74 public ShortHistogramTest(int numColors) { in ShortHistogramTest() argument 75 this.numColors = numColors; in ShortHistogramTest() 202 int w = numColors * 10; in createTestImage() 209 for (int i = 0; i < numColors; i++) { in createTestImage() 223 int numBits = getNumBits(numColors); in createTestICM() 232 if (numColors < 0 || 256 < numColors) { in getNumBits() 239 while (numColors > limit) { in getNumBits() 249 int[] palette = new int[numColors]; in createTestPalette() [all …]
|
H A D | GrayPngTest.java | 110 dx = w / (numColors); in getTestImage() 113 for (int i = 0; i < numColors; i ++) { in getTestImage() 135 private int numColors; field in GrayPngTest 150 numColors = (1 << bpp); in GrayPngTest() 154 r = new byte[numColors]; in GrayPngTest() 155 g = new byte[numColors]; in GrayPngTest() 156 b = new byte[numColors]; in GrayPngTest() 158 int dc = 0xff / (numColors - 1); in GrayPngTest() 161 for (int i = 0; i < numColors; i ++) { in GrayPngTest() 168 for (int i = 0; i < numColors; i++) { in doTest() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/javax/imageio/plugins/png/ |
H A D | ShortHistogramTest.java | 58 int numColors = 15; in main() local 72 int numColors; field in ShortHistogramTest 74 public ShortHistogramTest(int numColors) { in ShortHistogramTest() argument 75 this.numColors = numColors; in ShortHistogramTest() 202 int w = numColors * 10; in createTestImage() 209 for (int i = 0; i < numColors; i++) { in createTestImage() 223 int numBits = getNumBits(numColors); in createTestICM() 232 if (numColors < 0 || 256 < numColors) { in getNumBits() 239 while (numColors > limit) { in getNumBits() 249 int[] palette = new int[numColors]; in createTestPalette() [all …]
|
H A D | GrayPngTest.java | 110 dx = w / (numColors); in getTestImage() 113 for (int i = 0; i < numColors; i ++) { in getTestImage() 135 private int numColors; field in GrayPngTest 150 numColors = (1 << bpp); in GrayPngTest() 154 r = new byte[numColors]; in GrayPngTest() 155 g = new byte[numColors]; in GrayPngTest() 156 b = new byte[numColors]; in GrayPngTest() 158 int dc = 0xff / (numColors - 1); in GrayPngTest() 161 for (int i = 0; i < numColors; i ++) { in GrayPngTest() 168 for (int i = 0; i < numColors; i++) { in doTest() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/javax/imageio/plugins/png/ |
H A D | ShortHistogramTest.java | 58 int numColors = 15; in main() local 72 int numColors; field in ShortHistogramTest 74 public ShortHistogramTest(int numColors) { in ShortHistogramTest() argument 75 this.numColors = numColors; in ShortHistogramTest() 202 int w = numColors * 10; in createTestImage() 209 for (int i = 0; i < numColors; i++) { in createTestImage() 223 int numBits = getNumBits(numColors); in createTestICM() 232 if (numColors < 0 || 256 < numColors) { in getNumBits() 239 while (numColors > limit) { in getNumBits() 249 int[] palette = new int[numColors]; in createTestPalette() [all …]
|
H A D | GrayPngTest.java | 110 dx = w / (numColors); in getTestImage() 113 for (int i = 0; i < numColors; i ++) { in getTestImage() 135 private int numColors; field in GrayPngTest 150 numColors = (1 << bpp); in GrayPngTest() 154 r = new byte[numColors]; in GrayPngTest() 155 g = new byte[numColors]; in GrayPngTest() 156 b = new byte[numColors]; in GrayPngTest() 158 int dc = 0xff / (numColors - 1); in GrayPngTest() 161 for (int i = 0; i < numColors; i ++) { in GrayPngTest() 168 for (int i = 0; i < numColors; i++) { in doTest() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/javax/imageio/plugins/png/ |
H A D | ShortHistogramTest.java | 58 int numColors = 15; in main() local 72 int numColors; field in ShortHistogramTest 74 public ShortHistogramTest(int numColors) { in ShortHistogramTest() argument 75 this.numColors = numColors; in ShortHistogramTest() 202 int w = numColors * 10; in createTestImage() 209 for (int i = 0; i < numColors; i++) { in createTestImage() 223 int numBits = getNumBits(numColors); in createTestICM() 232 if (numColors < 0 || 256 < numColors) { in getNumBits() 239 while (numColors > limit) { in getNumBits() 249 int[] palette = new int[numColors]; in createTestPalette() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/javax/imageio/plugins/png/ |
H A D | ShortHistogramTest.java | 58 int numColors = 15; 72 int numColors; 74 public ShortHistogramTest(int numColors) { 75 this.numColors = numColors; 202 int w = numColors * 10; 209 for (int i = 0; i < numColors; i++) { 223 int numBits = getNumBits(numColors); 232 if (numColors < 0 || 256 < numColors) { 239 while (numColors > limit) { 249 int[] palette = new int[numColors]; [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/javax/imageio/plugins/png/ |
H A D | ShortHistogramTest.java | 58 int numColors = 15; in main() local 72 int numColors; field in ShortHistogramTest 74 public ShortHistogramTest(int numColors) { in ShortHistogramTest() argument 75 this.numColors = numColors; in ShortHistogramTest() 202 int w = numColors * 10; in createTestImage() 209 for (int i = 0; i < numColors; i++) { in createTestImage() 223 int numBits = getNumBits(numColors); in createTestICM() 232 if (numColors < 0 || 256 < numColors) { in getNumBits() 239 while (numColors > limit) { in getNumBits() 249 int[] palette = new int[numColors]; in createTestPalette() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/imageio/plugins/png/ |
H A D | ShortHistogramTest.java | 58 int numColors = 15; in main() local 72 int numColors; field in ShortHistogramTest 74 public ShortHistogramTest(int numColors) { in ShortHistogramTest() argument 75 this.numColors = numColors; in ShortHistogramTest() 202 int w = numColors * 10; in createTestImage() 209 for (int i = 0; i < numColors; i++) { in createTestImage() 223 int numBits = getNumBits(numColors); in createTestICM() 232 if (numColors < 0 || 256 < numColors) { in getNumBits() 239 while (numColors > limit) { in getNumBits() 249 int[] palette = new int[numColors]; in createTestPalette() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/javax/imageio/plugins/png/ |
H A D | ShortHistogramTest.java | 58 int numColors = 15; in main() local 72 int numColors; field in ShortHistogramTest 74 public ShortHistogramTest(int numColors) { in ShortHistogramTest() argument 75 this.numColors = numColors; in ShortHistogramTest() 202 int w = numColors * 10; in createTestImage() 209 for (int i = 0; i < numColors; i++) { in createTestImage() 223 int numBits = getNumBits(numColors); in createTestICM() 232 if (numColors < 0 || 256 < numColors) { in getNumBits() 239 while (numColors > limit) { in getNumBits() 249 int[] palette = new int[numColors]; in createTestPalette() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/javax/imageio/plugins/png/ |
H A D | ShortHistogramTest.java | 58 int numColors = 15; in main() local 72 int numColors; field in ShortHistogramTest 74 public ShortHistogramTest(int numColors) { in ShortHistogramTest() argument 75 this.numColors = numColors; in ShortHistogramTest() 202 int w = numColors * 10; in createTestImage() 209 for (int i = 0; i < numColors; i++) { in createTestImage() 223 int numBits = getNumBits(numColors); in createTestICM() 232 if (numColors < 0 || 256 < numColors) { in getNumBits() 239 while (numColors > limit) { in getNumBits() 249 int[] palette = new int[numColors]; in createTestPalette() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/javax/imageio/plugins/png/ |
H A D | ShortHistogramTest.java | 58 int numColors = 15; in main() local 72 int numColors; field in ShortHistogramTest 74 public ShortHistogramTest(int numColors) { in ShortHistogramTest() argument 75 this.numColors = numColors; in ShortHistogramTest() 202 int w = numColors * 10; in createTestImage() 209 for (int i = 0; i < numColors; i++) { in createTestImage() 223 int numBits = getNumBits(numColors); in createTestICM() 232 if (numColors < 0 || 256 < numColors) { in getNumBits() 239 while (numColors > limit) { in getNumBits() 249 int[] palette = new int[numColors]; in createTestPalette() [all …]
|