HomeSort by relevance Sort by last modified time
    Searched refs:colormap (Results 1 - 25 of 125) sorted by null

1 2 3 4 5

  /external/quake/quake/src/QW/client/
vid_null.c 32 vid.colormap = host_colormap;
33 vid.fullbright = 256 - LittleLong (*((int *)vid.colormap + 2048));
vid.h 37 pixel_t *colormap; // 256 * VID_GRADES size member in struct:__anon14229
  /external/quake/quake/src/WinQuake/
vid_null.cpp 51 vid.colormap = host_colormap;
52 vid.fullbright = 256 - LittleLong (*((int *)vid.colormap + 2048));
vid.h 37 pixel_t *colormap; // 256 * VID_GRADES size member in struct:__anon14676
cl_parse.cpp 87 cl_entities[cl.num_entities].colormap = vid.colormap;
408 i = ent->baseline.colormap;
410 ent->colormap = vid.colormap;
415 ent->colormap = cl.scores[i-1].translations;
497 ent->baseline.colormap = MSG_ReadByte();
639 source = vid.colormap;
640 memcpy (dest, vid.colormap, sizeof(cl.scores[slot].translations));
683 ent->colormap = vid.colormap
    [all...]
  /external/jpeg/
rdbmp.c 57 JSAMPARRAY colormap; /* BMP colormap (converted to my format) */ member in struct:_bmp_source_struct
82 /* Read the colormap from a BMP file */
90 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
91 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
92 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
98 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
99 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
100 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
120 /* This version is for reading 8-bit colormap indexes *
123 register JSAMPARRAY colormap = source->colormap; local
    [all...]
wrrle.c 57 rle_map *colormap; /* RLE-style color map, or NULL if none */ member in struct:__anon9426
110 /* Convert colormap, if any, to RLE format. */
112 dest->colormap = NULL;
117 dest->colormap = (rle_map *) (*cinfo->mem->alloc_small)
119 MEMZERO(dest->colormap, cmapsize);
125 dest->colormap[ci * CMAPLENGTH + i] =
126 GETJSAMPLE(cinfo->colormap[ci][i]) << 8;
200 header.cmap = dest->colormap;
201 /* Add a comment to the output image with the true colormap length. */
rdcolmap.c 9 * and constructs a colormap to be supplied to the JPEG decompressor.
12 * GIF: the contents of the GIF's global colormap are used.
48 JSAMPROW colormap0 = cinfo->colormap[0];
49 JSAMPROW colormap1 = cinfo->colormap[1];
50 JSAMPROW colormap2 = cinfo->colormap[2];
227 * Output: colormap and actual_number_of_colors fields are set in cinfo.
234 cinfo->colormap = (*cinfo->mem->alloc_sarray)
rdtarga.c 53 JSAMPARRAY colormap; /* Targa colormap (converted to my format) */ member in struct:_tga_source_struct
102 /* Read the colormap from a Targa file */
111 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
112 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
113 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
191 /* This version is for reading 8-bit colormap indexes */
197 register JSAMPARRAY colormap = source->colormap; local
203 *ptr++ = colormap[0][t]
    [all...]
rdrle.c 42 * GRAYSCALE - 8 bits, no colormap
44 * PSEUDOCOLOR - 8 bits, 3 channel colormap
45 * TRUECOLOR - 24 bits, 3 channel colormap
46 * DIRECTCOLOR - 24 bits, no colormap
210 rle_map *colormap; local
213 colormap = source->header.cmap;
221 *dest_row++ = (JSAMPLE) (colormap[val ] >> 8);
222 *dest_row++ = (JSAMPLE) (colormap[val + 256] >> 8);
223 *dest_row++ = (JSAMPLE) (colormap[val + 512] >> 8);
247 rle_map *colormap; local
    [all...]
wrgif.c 210 /* Emit 3 copies of same byte value --- handy subr for colormap construction */
219 emit_header (gif_dest_ptr dinfo, int num_colors, JSAMPARRAY colormap)
221 /* If colormap==NULL, synthesize a gray-scale colormap */
262 if (colormap != NULL) {
265 putc(GETJSAMPLE(colormap[0][i]) >> cshift, dinfo->pub.output_file);
266 putc(GETJSAMPLE(colormap[1][i]) >> cshift, dinfo->pub.output_file);
267 putc(GETJSAMPLE(colormap[2][i]) >> cshift, dinfo->pub.output_file);
270 put_3bytes(dinfo, GETJSAMPLE(colormap[0][i]) >> cshift);
307 emit_header(dest, cinfo->actual_number_of_colors, cinfo->colormap);
    [all...]
wrbmp.c 158 /* Write a Windows-style BMP file header, including colormap if needed */
173 /* Compute colormap size and total file size */
185 /* Grayscale output. We need to fake a 256-entry colormap. */
190 headersize = 14 + 40 + cmap_entries * 4; /* Header and colormap */
231 /* Write an OS2-style BMP file header, including colormap if needed */
238 /* Compute colormap size and total file size */
250 /* Grayscale output. We need to fake a 256-entry colormap. */
255 headersize = 14 + 12 + cmap_entries * 3; /* Header and colormap */
287 * Write the colormap.
295 JSAMPARRAY colormap = cinfo->colormap local
    [all...]
wrppm.c 135 register JSAMPROW color_map0 = cinfo->colormap[0];
136 register JSAMPROW color_map1 = cinfo->colormap[1];
137 register JSAMPROW color_map2 = cinfo->colormap[2];
159 register JSAMPROW color_map = cinfo->colormap[0];
241 /* When quantizing, we need an output buffer for colormap indexes
wrtarga.c 150 register JSAMPROW color_map0 = cinfo->colormap[0];
175 /* demap quantized gray output. Never emit a colormap. */
183 /* We only support 8-bit colormap indexes, so only 256 colors */
188 /* Write the colormap. Note Targa uses BGR byte order */
191 putc(GETJSAMPLE(cinfo->colormap[2][i]), outfile);
192 putc(GETJSAMPLE(cinfo->colormap[1][i]), outfile);
193 putc(GETJSAMPLE(cinfo->colormap[0][i]), outfile);
jquant2.c 57 * This allowed the color conversion math to be done only once per colormap
61 * externally-supplied colormap. We have therefore abandoned that approach.
127 #define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */
196 /* Space for the eventually created colormap is stashed here */
197 JSAMPARRAY sv_colormap; /* colormap allocated at init time */
198 int desired; /* desired # of colors = size of colormap */
252 * Next we have the really interesting routines: selection of a colormap
500 /* Compute representative color for a box, put it in colormap[icolor] */
532 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total);
533 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total)
    [all...]
  /external/qemu/distrib/jpeg-6b/
rdbmp.c 57 JSAMPARRAY colormap; /* BMP colormap (converted to my format) */ member in struct:_bmp_source_struct
82 /* Read the colormap from a BMP file */
90 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
91 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
92 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
98 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
99 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
100 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
120 /* This version is for reading 8-bit colormap indexes *
123 register JSAMPARRAY colormap = source->colormap; local
    [all...]
wrrle.c 57 rle_map *colormap; /* RLE-style color map, or NULL if none */ member in struct:__anon13266
110 /* Convert colormap, if any, to RLE format. */
112 dest->colormap = NULL;
117 dest->colormap = (rle_map *) (*cinfo->mem->alloc_small)
119 MEMZERO(dest->colormap, cmapsize);
125 dest->colormap[ci * CMAPLENGTH + i] =
126 GETJSAMPLE(cinfo->colormap[ci][i]) << 8;
200 header.cmap = dest->colormap;
201 /* Add a comment to the output image with the true colormap length. */
rdcolmap.c 9 * and constructs a colormap to be supplied to the JPEG decompressor.
12 * GIF: the contents of the GIF's global colormap are used.
48 JSAMPROW colormap0 = cinfo->colormap[0];
49 JSAMPROW colormap1 = cinfo->colormap[1];
50 JSAMPROW colormap2 = cinfo->colormap[2];
227 * Output: colormap and actual_number_of_colors fields are set in cinfo.
234 cinfo->colormap = (*cinfo->mem->alloc_sarray)
rdtarga.c 53 JSAMPARRAY colormap; /* Targa colormap (converted to my format) */ member in struct:_tga_source_struct
102 /* Read the colormap from a Targa file */
111 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
112 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
113 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
191 /* This version is for reading 8-bit colormap indexes */
197 register JSAMPARRAY colormap = source->colormap; local
203 *ptr++ = colormap[0][t]
    [all...]
rdrle.c 42 * GRAYSCALE - 8 bits, no colormap
44 * PSEUDOCOLOR - 8 bits, 3 channel colormap
45 * TRUECOLOR - 24 bits, 3 channel colormap
46 * DIRECTCOLOR - 24 bits, no colormap
210 rle_map *colormap; local
213 colormap = source->header.cmap;
221 *dest_row++ = (JSAMPLE) (colormap[val ] >> 8);
222 *dest_row++ = (JSAMPLE) (colormap[val + 256] >> 8);
223 *dest_row++ = (JSAMPLE) (colormap[val + 512] >> 8);
247 rle_map *colormap; local
    [all...]
wrgif.c 210 /* Emit 3 copies of same byte value --- handy subr for colormap construction */
219 emit_header (gif_dest_ptr dinfo, int num_colors, JSAMPARRAY colormap)
221 /* If colormap==NULL, synthesize a gray-scale colormap */
262 if (colormap != NULL) {
265 putc(GETJSAMPLE(colormap[0][i]) >> cshift, dinfo->pub.output_file);
266 putc(GETJSAMPLE(colormap[1][i]) >> cshift, dinfo->pub.output_file);
267 putc(GETJSAMPLE(colormap[2][i]) >> cshift, dinfo->pub.output_file);
270 put_3bytes(dinfo, GETJSAMPLE(colormap[0][i]) >> cshift);
307 emit_header(dest, cinfo->actual_number_of_colors, cinfo->colormap);
    [all...]
wrbmp.c 158 /* Write a Windows-style BMP file header, including colormap if needed */
173 /* Compute colormap size and total file size */
185 /* Grayscale output. We need to fake a 256-entry colormap. */
190 headersize = 14 + 40 + cmap_entries * 4; /* Header and colormap */
231 /* Write an OS2-style BMP file header, including colormap if needed */
238 /* Compute colormap size and total file size */
250 /* Grayscale output. We need to fake a 256-entry colormap. */
255 headersize = 14 + 12 + cmap_entries * 3; /* Header and colormap */
287 * Write the colormap.
295 JSAMPARRAY colormap = cinfo->colormap local
    [all...]
wrppm.c 135 register JSAMPROW color_map0 = cinfo->colormap[0];
136 register JSAMPROW color_map1 = cinfo->colormap[1];
137 register JSAMPROW color_map2 = cinfo->colormap[2];
159 register JSAMPROW color_map = cinfo->colormap[0];
241 /* When quantizing, we need an output buffer for colormap indexes
wrtarga.c 150 register JSAMPROW color_map0 = cinfo->colormap[0];
175 /* demap quantized gray output. Never emit a colormap. */
183 /* We only support 8-bit colormap indexes, so only 256 colors */
188 /* Write the colormap. Note Targa uses BGR byte order */
191 putc(GETJSAMPLE(cinfo->colormap[2][i]), outfile);
192 putc(GETJSAMPLE(cinfo->colormap[1][i]), outfile);
193 putc(GETJSAMPLE(cinfo->colormap[0][i]), outfile);
  /external/chromium/chrome/browser/ui/gtk/
theme_install_bubble_view_gtk.cc 107 GdkColormap* colormap = gdk_screen_get_rgba_colormap(screen); local
109 if (colormap)
110 gtk_widget_set_colormap(widget_, colormap);

Completed in 355 milliseconds

1 2 3 4 5