/external/jpeg/ |
wrtarga.c | 54 write_header (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, int num_colors) 62 if (num_colors > 0) { 64 targaheader[5] = (char) (num_colors & 0xFF); 65 targaheader[6] = (char) (num_colors >> 8); 79 if (num_colors > 0) { 170 int num_colors, i; local 184 num_colors = cinfo->actual_number_of_colors; 185 if (num_colors > 256) 186 ERREXIT1(cinfo, JERR_TOO_MANY_COLORS, num_colors); 187 write_header(cinfo, dinfo, num_colors); [all...] |
wrgif.c | 219 emit_header (gif_dest_ptr dinfo, int num_colors, JSAMPARRAY colormap) 227 if (num_colors > 256) 228 ERREXIT1(dinfo->cinfo, JERR_TOO_MANY_COLORS, num_colors); 231 while (num_colors > (1 << BitsPerPixel)) 261 if (i < num_colors) { 273 /* Create a gray-scale map of num_colors values, range 0..255 */ 274 put_3bytes(dinfo, (i * 255 + (num_colors-1)/2) / (num_colors-1));
|
wrbmp.c | 296 int num_colors = cinfo->actual_number_of_colors; local 303 for (i = 0; i < num_colors; i++) { 312 for (i = 0; i < num_colors; i++) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
BoxBlurFilter.java | 30 private static final int NUM_COLORS = 256; 31 private static final int[] KERNEL_NORM = new int[KERNEL_SIZE * NUM_COLORS]; 40 for (int i = 0; i < NUM_COLORS; ++i) {
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/ |
XKBgeom.h | 286 unsigned short num_colors; member in struct:_XkbGeometry 311 unsigned short num_colors; member in struct:_XkbGeometrySizes
|
/external/webkit/Source/WebCore/platform/image-decoders/gif/ |
GIFImageReader.cpp | 820 int num_colors = 2 << (q[8] & 0x7); 821 const unsigned size = 3*num_colors; 823 if (frame_reader && (!map || (num_colors > frame_reader->local_colormap_size))) { 833 frame_reader->local_colormap_size = num_colors;
|
/frameworks/base/tools/aapt/ |
Images.cpp | 677 int num_colors = 0; local 732 for (idx = 0; idx < num_colors; idx++) { 744 if (num_colors == 256) { 748 colors[num_colors++] = col; 758 int paletteSize = w * h + bpp * num_colors; 803 *paletteEntries = num_colors; 806 for (int idx = 0; idx < num_colors; idx++) { [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/ |
SDL_QuartzVideo.m | 64 int num_colors, SDL_Color *colors); 916 static int QZ_SetColors (_THIS, int first_color, int num_colors, 922 for (index = first_color; index < first_color+num_colors; index++) { [all...] |
/prebuilt/sdk/tools/linux/ |
aapt | |