HomeSort by relevance Sort by last modified time
    Searched refs:ncolors (Results 1 - 18 of 18) 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 51 int ncolors = cinfo->actual_number_of_colors; local
55 for (index = 0; index < ncolors; index++) {
63 if (ncolors >= (MAXJSAMPLE+1))
67 colormap0[ncolors] = (JSAMPLE) R;
68 colormap1[ncolors] = (JSAMPLE) G;
69 colormap2[ncolors] = (JSAMPLE) B;
rdrle.c 126 if (source->header.ncolors == 1 && source->header.ncmap == 0) {
129 } else if (source->header.ncolors == 1 && source->header.ncmap == 1) {
133 } else if (source->header.ncolors == 1 && source->header.ncmap == 3) {
137 } else if (source->header.ncolors == 3 && source->header.ncmap == 3) {
141 } else if (source->header.ncolors == 3 && source->header.ncmap == 0) {
168 (JDIMENSION) (width * source->header.ncolors),
297 for (channel = 0; channel < source->header.ncolors; channel++) {
jquant2.c 639 int i, x, ncolors; local
744 ncolors = 0;
747 colorlist[ncolors++] = (JSAMPLE) i;
749 return ncolors;
    [all...]
wrrle.c 195 header.ncolors = cinfo->output_components;
jquant1.c 30 * image. We use a map consisting of all combinations of Ncolors[i] color
31 * values for the i'th component. The Ncolors[] values are chosen so that
155 int Ncolors[MAX_Q_COMPS]; /* # of values alloced to each component */
185 select_ncolors (j_decompress_ptr cinfo, int Ncolors[])
187 /* and fill in Ncolors[] array to indicate choice. */
188 /* Return value is total number of colors (product of Ncolors[] values). */
218 Ncolors[i] = iroot;
231 /* calculate new total_colors if Ncolors[j] is incremented */
232 temp = total_colors / Ncolors[j];
233 temp *= Ncolors[j]+1; /* done in long arith to avoid oflo *
    [all...]
  /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/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);
  /external/opencv3/3rdparty/libjpeg/
jquant2.c 661 int i, x, ncolors; local
766 ncolors = 0;
769 colorlist[ncolors++] = (JSAMPLE) i;
771 return ncolors;
    [all...]
jquant1.c 29 * image. We use a map consisting of all combinations of Ncolors[i] color
30 * values for the i'th component. The Ncolors[] values are chosen so that
157 int Ncolors[MAX_Q_COMPS]; /* # of values alloced to each component */
187 select_ncolors (j_decompress_ptr cinfo, int Ncolors[])
189 /* and fill in Ncolors[] array to indicate choice. */
190 /* Return value is total number of colors (product of Ncolors[] values). */
217 Ncolors[i] = iroot;
230 /* calculate new total_colors if Ncolors[j] is incremented */
231 temp = total_colors / Ncolors[j];
232 temp *= Ncolors[j]+1; /* done in long arith to avoid oflo *
    [all...]
  /external/libpng/contrib/libtests/
makepng.c 1642 unsigned int ncolors = 0; local
    [all...]
  /build/
envsetup.sh     [all...]
  /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 353 milliseconds