/external/chromium_org/third_party/libjpeg_turbo/ |
D | wrtarga.c | 54 write_header (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, int num_colors) in write_header() argument 62 if (num_colors > 0) { in write_header() 64 targaheader[5] = (char) (num_colors & 0xFF); in write_header() 65 targaheader[6] = (char) (num_colors >> 8); in write_header() 79 if (num_colors > 0) { in write_header() 170 int num_colors, i; in start_output_tga() local 184 num_colors = cinfo->actual_number_of_colors; in start_output_tga() 185 if (num_colors > 256) in start_output_tga() 186 ERREXIT1(cinfo, JERR_TOO_MANY_COLORS, num_colors); in start_output_tga() 187 write_header(cinfo, dinfo, num_colors); in start_output_tga() [all …]
|
D | wrgif.c | 219 emit_header (gif_dest_ptr dinfo, int num_colors, JSAMPARRAY colormap) in emit_header() argument 227 if (num_colors > 256) in emit_header() 228 ERREXIT1(dinfo->cinfo, JERR_TOO_MANY_COLORS, num_colors); in emit_header() 231 while (num_colors > (1 << BitsPerPixel)) in emit_header() 261 if (i < num_colors) { in emit_header() 274 put_3bytes(dinfo, (i * 255 + (num_colors-1)/2) / (num_colors-1)); in emit_header()
|
D | wrbmp.c | 296 int num_colors = cinfo->actual_number_of_colors; in write_colormap() local 303 for (i = 0; i < num_colors; i++) { in write_colormap() 312 for (i = 0; i < num_colors; i++) { in write_colormap()
|
/external/qemu/distrib/jpeg-6b/ |
D | wrtarga.c | 54 write_header (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, int num_colors) in write_header() argument 62 if (num_colors > 0) { in write_header() 64 targaheader[5] = (char) (num_colors & 0xFF); in write_header() 65 targaheader[6] = (char) (num_colors >> 8); in write_header() 79 if (num_colors > 0) { in write_header() 170 int num_colors, i; in start_output_tga() local 184 num_colors = cinfo->actual_number_of_colors; in start_output_tga() 185 if (num_colors > 256) in start_output_tga() 186 ERREXIT1(cinfo, JERR_TOO_MANY_COLORS, num_colors); in start_output_tga() 187 write_header(cinfo, dinfo, num_colors); in start_output_tga() [all …]
|
D | wrgif.c | 219 emit_header (gif_dest_ptr dinfo, int num_colors, JSAMPARRAY colormap) in emit_header() argument 227 if (num_colors > 256) in emit_header() 228 ERREXIT1(dinfo->cinfo, JERR_TOO_MANY_COLORS, num_colors); in emit_header() 231 while (num_colors > (1 << BitsPerPixel)) in emit_header() 261 if (i < num_colors) { in emit_header() 274 put_3bytes(dinfo, (i * 255 + (num_colors-1)/2) / (num_colors-1)); in emit_header()
|
D | wrbmp.c | 296 int num_colors = cinfo->actual_number_of_colors; in write_colormap() local 303 for (i = 0; i < num_colors; i++) { in write_colormap() 312 for (i = 0; i < num_colors; i++) { in write_colormap()
|
/external/jpeg/ |
D | wrtarga.c | 54 write_header (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, int num_colors) in write_header() argument 62 if (num_colors > 0) { in write_header() 64 targaheader[5] = (char) (num_colors & 0xFF); in write_header() 65 targaheader[6] = (char) (num_colors >> 8); in write_header() 79 if (num_colors > 0) { in write_header() 170 int num_colors, i; in start_output_tga() local 184 num_colors = cinfo->actual_number_of_colors; in start_output_tga() 185 if (num_colors > 256) in start_output_tga() 186 ERREXIT1(cinfo, JERR_TOO_MANY_COLORS, num_colors); in start_output_tga() 187 write_header(cinfo, dinfo, num_colors); in start_output_tga() [all …]
|
D | wrgif.c | 219 emit_header (gif_dest_ptr dinfo, int num_colors, JSAMPARRAY colormap) in emit_header() argument 227 if (num_colors > 256) in emit_header() 228 ERREXIT1(dinfo->cinfo, JERR_TOO_MANY_COLORS, num_colors); in emit_header() 231 while (num_colors > (1 << BitsPerPixel)) in emit_header() 261 if (i < num_colors) { in emit_header() 274 put_3bytes(dinfo, (i * 255 + (num_colors-1)/2) / (num_colors-1)); in emit_header()
|
D | wrbmp.c | 296 int num_colors = cinfo->actual_number_of_colors; in write_colormap() local 303 for (i = 0; i < num_colors; i++) { in write_colormap() 312 for (i = 0; i < num_colors; i++) { in write_colormap()
|
/external/chromium_org/ash/wm/gestures/ |
D | long_press_affordance_handler.cc | 103 int num_colors) { in PaintAffordanceGlow() argument 116 num_colors, in PaintAffordanceGlow() 210 const int num_colors = 3; in OnPaint() local 211 SkScalar pos[num_colors] = {0, 0.5, 1}; in OnPaint() 212 SkColor colors[num_colors] = {kAffordanceGlowEndColor, in OnPaint() 215 num_colors); in OnPaint()
|
/external/chromium_org/chrome/utility/cloud_print/ |
D | pwg_encoder.cc | 96 uint32 num_colors = in EncodePageHeader() local 98 uint32 bits_per_pixel = num_colors * kBitsPerColor; in EncodePageHeader() 119 base::WriteBigEndian<uint32>(header + kHeaderCupsNumColors, num_colors); in EncodePageHeader()
|
/external/webp/src/enc/ |
D | alpha.c | 200 const int num_colors = GetNumColors(alpha, width, height, width); in GetFilterMap() local 202 filter = (num_colors <= kMinColorsForFilterNone) ? WEBP_FILTER_NONE : in GetFilterMap() 207 if (try_filter_none || num_colors > kMaxColorsForFilterNone) { in GetFilterMap()
|
D | vp8l.c | 48 int num_colors = 0; in AnalyzeAndCreatePalette() local 68 ++num_colors; in AnalyzeAndCreatePalette() 69 if (num_colors > MAX_PALETTE_SIZE) { in AnalyzeAndCreatePalette() 88 num_colors = 0; in AnalyzeAndCreatePalette() 91 palette[num_colors] = colors[i]; in AnalyzeAndCreatePalette() 92 ++num_colors; in AnalyzeAndCreatePalette() 96 qsort(palette, num_colors, sizeof(*palette), CompareColors); in AnalyzeAndCreatePalette() 97 *palette_size = num_colors; in AnalyzeAndCreatePalette()
|
/external/chromium_org/third_party/libwebp/enc/ |
D | alpha.c | 200 const int num_colors = GetNumColors(alpha, width, height, width); in GetFilterMap() local 202 filter = (num_colors <= kMinColorsForFilterNone) ? WEBP_FILTER_NONE : in GetFilterMap() 207 if (try_filter_none || num_colors > kMaxColorsForFilterNone) { in GetFilterMap()
|
D | vp8l.c | 48 int num_colors = 0; in AnalyzeAndCreatePalette() local 68 ++num_colors; in AnalyzeAndCreatePalette() 69 if (num_colors > MAX_PALETTE_SIZE) { in AnalyzeAndCreatePalette() 88 num_colors = 0; in AnalyzeAndCreatePalette() 91 palette[num_colors] = colors[i]; in AnalyzeAndCreatePalette() 92 ++num_colors; in AnalyzeAndCreatePalette() 96 qsort(palette, num_colors, sizeof(*palette), CompareColors); in AnalyzeAndCreatePalette() 97 *palette_size = num_colors; in AnalyzeAndCreatePalette()
|
/external/webp/src/dec/ |
D | vp8l.c | 949 static int ExpandColorMap(int num_colors, VP8LTransform* const transform) { in ExpandColorMap() argument 961 for (i = 4; i < 4 * num_colors; ++i) { in ExpandColorMap() 1005 const int num_colors = VP8LReadBits(br, 8) + 1; in ReadTransform() local 1006 const int bits = (num_colors > 16) ? 0 in ReadTransform() 1007 : (num_colors > 4) ? 1 in ReadTransform() 1008 : (num_colors > 2) ? 2 in ReadTransform() 1012 ok = DecodeImageStream(num_colors, 1, 0, dec, &transform->data_); in ReadTransform() 1013 ok = ok && ExpandColorMap(num_colors, transform); in ReadTransform()
|
/external/chromium_org/third_party/libwebp/dec/ |
D | vp8l.c | 949 static int ExpandColorMap(int num_colors, VP8LTransform* const transform) { in ExpandColorMap() argument 961 for (i = 4; i < 4 * num_colors; ++i) { in ExpandColorMap() 1005 const int num_colors = VP8LReadBits(br, 8) + 1; in ReadTransform() local 1006 const int bits = (num_colors > 16) ? 0 in ReadTransform() 1007 : (num_colors > 4) ? 1 in ReadTransform() 1008 : (num_colors > 2) ? 2 in ReadTransform() 1012 ok = DecodeImageStream(num_colors, 1, 0, dec, &transform->data_); in ReadTransform() 1013 ok = ok && ExpandColorMap(num_colors, transform); in ReadTransform()
|
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/ |
D | SDL_QuartzVideo.m | 111 int num_colors, SDL_Color *colors); 1250 static int QZ_SetColors (_THIS, int first_color, int num_colors, 1259 for (index = first_color; index < first_color+num_colors; index++) {
|