HomeSort by relevance Sort by last modified time
    Searched refs:ncolors (Results 1 - 22 of 22) sorted by null

  /prebuilts/misc/windows/sdl2/test/
testautomation_pixels.c 315 const char *expectedError1 = "Parameter 'ncolors' is invalid";
320 int ncolors; local
328 ncolors = 1;
332 ncolors = 2;
336 ncolors = SDLTest_RandomIntegerInRange(8, 16);
340 result = SDL_AllocPalette(ncolors);
341 SDLTest_AssertPass("Call to SDL_AllocPalette(%d)", ncolors);
344 SDLTest_AssertCheck(result->ncolors == ncolors, "Verify value of result.ncolors; expected: %u, got %u", ncolors, result->ncolors)
    [all...]
  /external/libjpeg-turbo/
rdcolmap.c 52 int ncolors = cinfo->actual_number_of_colors; local
56 for (index = 0; index < ncolors; index++) {
64 if (ncolors >= (MAXJSAMPLE+1))
68 colormap0[ncolors] = (JSAMPLE) R;
69 colormap1[ncolors] = (JSAMPLE) G;
70 colormap2[ncolors] = (JSAMPLE) B;
rdrle.c 127 if (source->header.ncolors == 1 && source->header.ncmap == 0) {
130 } else if (source->header.ncolors == 1 && source->header.ncmap == 1) {
134 } else if (source->header.ncolors == 1 && source->header.ncmap == 3) {
138 } else if (source->header.ncolors == 3 && source->header.ncmap == 3) {
142 } else if (source->header.ncolors == 3 && source->header.ncmap == 0) {
169 (JDIMENSION) (width * source->header.ncolors),
298 for (channel = 0; channel < source->header.ncolors; channel++) {
jquant2.c 640 int i, x, ncolors; local
745 ncolors = 0;
748 colorlist[ncolors++] = (JSAMPLE) i;
750 return ncolors;
    [all...]
wrrle.c 196 header.ncolors = cinfo->output_components;
jquant1.c 31 * image. We use a map consisting of all combinations of Ncolors[i] color
32 * values for the i'th component. The Ncolors[] values are chosen so that
156 int Ncolors[MAX_Q_COMPS]; /* # of values alloced to each component */
186 select_ncolors (j_decompress_ptr cinfo, int Ncolors[])
188 /* and fill in Ncolors[] array to indicate choice. */
189 /* Return value is total number of colors (product of Ncolors[] values). */
219 Ncolors[i] = iroot;
232 /* calculate new total_colors if Ncolors[j] is incremented */
233 temp = total_colors / Ncolors[j];
234 temp *= Ncolors[j]+1; /* done in long arith to avoid oflo *
    [all...]
  /external/ImageMagick/MagickCore/
xwdfile.h_vms 85 CARD32 ncolors B32; /* Number of XWDColor structures */
96 * the file. XWDFileHeader.ncolors tells how many XWDColor structures
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/
XWDFile.h 86 CARD32 ncolors B32; /* Number of XWDColor structures */
97 * the file. XWDFileHeader.ncolors tells how many XWDColor structures
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/
XWDFile.h 86 CARD32 ncolors B32; /* Number of XWDColor structures */
97 * the file. XWDFileHeader.ncolors tells how many XWDColor structures
  /external/ImageMagick/coders/
sixel.c 236 size_t /* out */ *ncolors /* palette size (<= 256) */)
536 *ncolors = max_color_index + 1;
537 *palette = (unsigned char *) AcquireQuantumMemory(*ncolors,4);
538 for (n = 0; n < (ssize_t) *ncolors; ++n) {
650 sixel_node_t *np, int ncolors, int keycolor)
654 if (ncolors != 2 || keycolor == -1) {
678 unsigned char *palette, size_t ncolors, int keycolor,
698 if (ncolors < 1) {
701 len = ncolors * width;
725 if (ncolors != 2 || keycolor == -1)
    [all...]
xwd.c 323 if (header.ncolors != 0)
328 length=(size_t) header.ncolors;
335 for (i=0; i < (ssize_t) header.ncolors; i++)
356 for (i=0; i < (ssize_t) header.ncolors; i++)
408 if ((header.ncolors == 0U) || (ximage->red_mask != 0) ||
413 image->colors=header.ncolors;
468 if (index < header.ncolors)
472 if (index < header.ncolors)
476 if (index < header.ncolors)
567 if (header.ncolors != 0
    [all...]
  /external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
GifHeaderParser.java 270 * @param ncolors int number of colors to read.
273 private int[] readColorTable(int ncolors) {
274 int nbytes = 3 * ncolors;
286 while (i < ncolors) {
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_pixels.h 265 int ncolors; member in struct:SDL_Palette
350 extern DECLSPEC SDL_Palette *SDLCALL SDL_AllocPalette(int ncolors);
364 * \param ncolors The number of entries to modify.
370 int firstcolor, int ncolors);
  /prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
SDL_pixels.h 265 int ncolors; member in struct:SDL_Palette
350 extern DECLSPEC SDL_Palette *SDLCALL SDL_AllocPalette(int ncolors);
364 * \param ncolors The number of entries to modify.
370 int firstcolor, int ncolors);
  /prebuilts/misc/windows/sdl2/include/
SDL_pixels.h 265 int ncolors; member in struct:SDL_Palette
350 extern DECLSPEC SDL_Palette *SDLCALL SDL_AllocPalette(int ncolors);
364 * \param ncolors The number of entries to modify.
370 int firstcolor, int ncolors);
  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_pixels.h 265 int ncolors; member in struct:SDL_Palette
350 extern DECLSPEC SDL_Palette *SDLCALL SDL_AllocPalette(int ncolors);
364 * \param ncolors The number of entries to modify.
370 int firstcolor, int ncolors);
  /prebuilts/maven_repo/bumptech/com/github/bumptech/glide/gifdecoder/1.0.0-SNAPSHOT/
gifdecoder-1.0.0-SNAPSHOT.jar 
  /external/libpng/contrib/libtests/
makepng.c 1642 unsigned int ncolors = 0; local
    [all...]
  /external/libcups/filter/
raster.c 212 int ncolors, bits; /* Number of colors and bits */ local
215 if (sscanf(type, "device%d_%d", &ncolors, &bits) != 2 || ncolors > 15 || (bits != 8 && bits != 16))
222 h->cupsBitsPerPixel = (unsigned)(ncolors * bits);
223 h->cupsColorSpace = (cups_cspace_t)(CUPS_CSPACE_DEVICE1 + ncolors - 1);
    [all...]
  /build/make/
envsetup.sh     [all...]
  /prebuilts/tools/common/m2/repository/com/github/bumptech/glide/glide/3.6.1/
glide-3.6.1.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 

Completed in 1974 milliseconds