/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++) {
|
/external/qemu/distrib/jpeg-6b/ |
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++) {
|
/external/chromium_org/ash/wm/gestures/ |
long_press_affordance_handler.cc | 105 int num_colors) { 118 num_colors, 212 const int num_colors = 3; variable 213 SkScalar pos[num_colors] = {0, 0.5, 1}; 214 SkColor colors[num_colors] = {kAffordanceGlowEndColor, 217 num_colors);
|
/external/chromium_org/third_party/libwebp/enc/ |
alpha.c | 236 const int num_colors = GetNumColors(quant_alpha, width, height, width); local 238 filter = (num_colors <= kMinColorsForFilterNone) ? WEBP_FILTER_NONE : 242 if (num_colors > kMaxColorsForFilterNone) {
|
vp8l.c | 52 int num_colors = 0; local 72 ++num_colors; 73 if (num_colors > MAX_PALETTE_SIZE) { 92 num_colors = 0; 95 palette[num_colors] = colors[i]; 96 ++num_colors; 100 qsort(palette, num_colors, sizeof(*palette), CompareColors); 101 *palette_size = num_colors; [all...] |
/external/webp/src/enc/ |
alpha.c | 236 const int num_colors = GetNumColors(quant_alpha, width, height, width); local 238 filter = (num_colors <= kMinColorsForFilterNone) ? WEBP_FILTER_NONE : 242 if (num_colors > kMaxColorsForFilterNone) {
|
vp8l.c | 52 int num_colors = 0; local 72 ++num_colors; 73 if (num_colors > MAX_PALETTE_SIZE) { 92 num_colors = 0; 95 palette[num_colors] = colors[i]; 96 ++num_colors; 100 qsort(palette, num_colors, sizeof(*palette), CompareColors); 101 *palette_size = num_colors; [all...] |
/external/chromium_org/third_party/libwebp/dec/ |
vp8l.c | 882 const int num_colors = VP8LReadBits(br, 8) + 1; local [all...] |
/external/webp/src/dec/ |
vp8l.c | 881 const int num_colors = VP8LReadBits(br, 8) + 1; local [all...] |
/frameworks/base/tools/aapt/ |
Images.cpp | 812 int num_colors = 0; local 867 for (idx = 0; idx < num_colors; idx++) { 879 if (num_colors == 256) { 883 colors[num_colors++] = col; 893 int paletteSize = w * h + bpp * num_colors; 938 *paletteEntries = num_colors; 941 for (int idx = 0; idx < num_colors; idx++) { [all...] |
/prebuilts/gcc/linux-x86/host/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
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/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
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/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/qemu/distrib/sdl-1.2.15/src/video/quartz/ |
SDL_QuartzVideo.m | 111 int num_colors, SDL_Color *colors); [all...] |