/external/jpeg/ |
D | rdbmp.c | 57 JSAMPARRAY colormap; /* BMP colormap (converted to my format) */ member 90 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 91 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 92 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 98 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 99 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 100 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 123 register JSAMPARRAY colormap = source->colormap; in get_8bit_row() local 140 *outptr++ = colormap[0][t]; /* can omit GETJSAMPLE() safely */ in get_8bit_row() 141 *outptr++ = colormap[1][t]; in get_8bit_row() [all …]
|
D | rdtarga.c | 53 JSAMPARRAY colormap; /* Targa colormap (converted to my format) */ member 111 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 112 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 113 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 197 register JSAMPARRAY colormap = source->colormap; in get_8bit_row() local 203 *ptr++ = colormap[0][t]; in get_8bit_row() 204 *ptr++ = colormap[1][t]; in get_8bit_row() 205 *ptr++ = colormap[2][t]; in get_8bit_row() 451 source->colormap = (*cinfo->mem->alloc_sarray) in start_input_tga() 458 source->colormap = NULL; in start_input_tga()
|
D | wrrle.c | 57 rle_map *colormap; /* RLE-style color map, or NULL if none */ member 112 dest->colormap = NULL; in start_output_rle() 117 dest->colormap = (rle_map *) (*cinfo->mem->alloc_small) in start_output_rle() 119 MEMZERO(dest->colormap, cmapsize); in start_output_rle() 125 dest->colormap[ci * CMAPLENGTH + i] = in start_output_rle() 126 GETJSAMPLE(cinfo->colormap[ci][i]) << 8; in start_output_rle() 200 header.cmap = dest->colormap; in finish_output_rle()
|
D | wrbmp.c | 295 JSAMPARRAY colormap = cinfo->colormap; in write_colormap() local 300 if (colormap != NULL) { in write_colormap() 304 putc(GETJSAMPLE(colormap[2][i]), outfile); in write_colormap() 305 putc(GETJSAMPLE(colormap[1][i]), outfile); in write_colormap() 306 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap() 313 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap() 314 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap() 315 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap()
|
D | rdrle.c | 210 rle_map *colormap; in get_pseudocolor_row() local 213 colormap = source->header.cmap; in get_pseudocolor_row() 221 *dest_row++ = (JSAMPLE) (colormap[val ] >> 8); in get_pseudocolor_row() 222 *dest_row++ = (JSAMPLE) (colormap[val + 256] >> 8); in get_pseudocolor_row() 223 *dest_row++ = (JSAMPLE) (colormap[val + 512] >> 8); in get_pseudocolor_row() 247 rle_map *colormap; in load_image() local 253 colormap = source->header.cmap; in load_image() 298 (colormap[GETJSAMPLE(rle_row[channel][col]) + 256 * channel] >> 8); in load_image()
|
D | wrgif.c | 219 emit_header (gif_dest_ptr dinfo, int num_colors, JSAMPARRAY colormap) in emit_header() argument 262 if (colormap != NULL) { in emit_header() 265 putc(GETJSAMPLE(colormap[0][i]) >> cshift, dinfo->pub.output_file); in emit_header() 266 putc(GETJSAMPLE(colormap[1][i]) >> cshift, dinfo->pub.output_file); in emit_header() 267 putc(GETJSAMPLE(colormap[2][i]) >> cshift, dinfo->pub.output_file); in emit_header() 270 put_3bytes(dinfo, GETJSAMPLE(colormap[0][i]) >> cshift); in emit_header() 307 emit_header(dest, cinfo->actual_number_of_colors, cinfo->colormap); in start_output_gif()
|
D | rdcolmap.c | 48 JSAMPROW colormap0 = cinfo->colormap[0]; in add_map_entry() 49 JSAMPROW colormap1 = cinfo->colormap[1]; in add_map_entry() 50 JSAMPROW colormap2 = cinfo->colormap[2]; in add_map_entry() 234 cinfo->colormap = (*cinfo->mem->alloc_sarray) in read_color_map()
|
D | wrtarga.c | 150 register JSAMPROW color_map0 = cinfo->colormap[0]; in put_demapped_gray() 191 putc(GETJSAMPLE(cinfo->colormap[2][i]), outfile); in start_output_tga() 192 putc(GETJSAMPLE(cinfo->colormap[1][i]), outfile); in start_output_tga() 193 putc(GETJSAMPLE(cinfo->colormap[0][i]), outfile); in start_output_tga()
|
D | wrppm.c | 135 register JSAMPROW color_map0 = cinfo->colormap[0]; in put_demapped_rgb() 136 register JSAMPROW color_map1 = cinfo->colormap[1]; in put_demapped_rgb() 137 register JSAMPROW color_map2 = cinfo->colormap[2]; in put_demapped_rgb() 159 register JSAMPROW color_map = cinfo->colormap[0]; in put_demapped_gray()
|
D | jquant2.c | 532 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total); in compute_color() 533 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total); in compute_color() 534 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total); in compute_color() 689 x = GETJSAMPLE(cinfo->colormap[0][i]); in find_nearby_colors() 712 x = GETJSAMPLE(cinfo->colormap[1][i]); in find_nearby_colors() 734 x = GETJSAMPLE(cinfo->colormap[2][i]); in find_nearby_colors() 814 inc0 = (minc0 - GETJSAMPLE(cinfo->colormap[0][icolor])) * C0_SCALE; in find_best_colors() 816 inc1 = (minc1 - GETJSAMPLE(cinfo->colormap[1][icolor])) * C1_SCALE; in find_best_colors() 818 inc2 = (minc2 - GETJSAMPLE(cinfo->colormap[2][icolor])) * C2_SCALE; in find_best_colors() 969 JSAMPROW colormap0 = cinfo->colormap[0]; in pass2_fs_dither() [all …]
|
D | jdmaster.c | 349 cinfo->colormap = NULL; in master_selection() 350 } else if (cinfo->colormap != NULL) { in master_selection() 476 if (cinfo->quantize_colors && cinfo->colormap == NULL) { in prepare_for_output_pass() 547 cinfo->colormap != NULL) { in jpeg_new_colormap()
|
D | jquant1.c | 276 JSAMPARRAY colormap; /* Created colormap */ in create_colormap() local 295 colormap = (*cinfo->mem->alloc_sarray) in create_colormap() 314 colormap[i][ptr+k] = (JSAMPLE) val; in create_colormap() 323 cquantize->sv_colormap = colormap; in create_colormap() 748 cinfo->colormap = cquantize->sv_colormap; in start_pass_1_quant()
|
/external/quake/quake/src/WinQuake/ |
D | cl_parse.cpp | 87 cl_entities[cl.num_entities].colormap = vid.colormap; in CL_EntityNum() 408 i = ent->baseline.colormap; in CL_ParseUpdate() 410 ent->colormap = vid.colormap; in CL_ParseUpdate() 415 ent->colormap = cl.scores[i-1].translations; in CL_ParseUpdate() 497 ent->baseline.colormap = MSG_ReadByte(); in CL_ParseBaseline() 639 source = vid.colormap; in CL_NewTranslation() 640 memcpy (dest, vid.colormap, sizeof(cl.scores[slot].translations)); in CL_NewTranslation() 683 ent->colormap = vid.colormap; in CL_ParseStatic()
|
D | vid_null.cpp | 51 vid.colormap = host_colormap; in VID_Init() 52 vid.fullbright = 256 - LittleLong (*((int *)vid.colormap + 2048)); in VID_Init()
|
D | r_surf.cpp | 371 prowdest[b] = ((unsigned char *)vid.colormap) in R_DrawSurfaceBlock8_mip0() 421 prowdest[b] = ((unsigned char *)vid.colormap) in R_DrawSurfaceBlock8_mip1() 471 prowdest[b] = ((unsigned char *)vid.colormap) in R_DrawSurfaceBlock8_mip2() 521 prowdest[b] = ((unsigned char *)vid.colormap) in R_DrawSurfaceBlock8_mip3()
|
/external/quake/quake/src/QW/client/ |
D | cl_ents.c | 190 to->colormap = MSG_ReadByte(); in CL_ParseDelta() 459 if (s1->colormap && (s1->colormap < MAX_CLIENTS) in CL_LinkPacketEntities() 462 ent->colormap = cl.players[s1->colormap-1].translations; in CL_LinkPacketEntities() 463 ent->scoreboard = &cl.players[s1->colormap-1]; in CL_LinkPacketEntities() 467 ent->colormap = vid.colormap; in CL_LinkPacketEntities() 637 ent->colormap = vid.colormap; in CL_LinkProjectiles() 853 ent->colormap = info->translations; in CL_LinkPlayers()
|
D | vid_null.c | 32 vid.colormap = host_colormap; in VID_Init() 33 vid.fullbright = 256 - LittleLong (*((int *)vid.colormap + 2048)); in VID_Init()
|
D | r_surf.c | 354 prowdest[b] = ((unsigned char *)vid.colormap) in R_DrawSurfaceBlock8_mip0() 404 prowdest[b] = ((unsigned char *)vid.colormap) in R_DrawSurfaceBlock8_mip1() 454 prowdest[b] = ((unsigned char *)vid.colormap) in R_DrawSurfaceBlock8_mip2() 504 prowdest[b] = ((unsigned char *)vid.colormap) in R_DrawSurfaceBlock8_mip3()
|
D | cl_parse.c | 708 es->colormap = MSG_ReadByte(); in CL_ParseBaseline() 744 ent->colormap = vid.colormap; in CL_ParseStatic() 902 source = vid.colormap; in CL_NewTranslation() 903 memcpy (dest, vid.colormap, sizeof(player->translations)); in CL_NewTranslation()
|
/external/libpng/contrib/gregbook/ |
D | rpng-x.c | 148 static Colormap colormap; variable 509 colormap = XCreateColormap(display, root, visual, AllocNone); in rpng_x_create_window() 510 if (!colormap) { in rpng_x_create_window() 545 attr.colormap = colormap; in rpng_x_create_window() 561 XSetWindowColormap(display, window, colormap); in rpng_x_create_window() 884 XFreeColormap(display, colormap); in rpng_x_cleanup()
|
/external/quake/quake/src/QW/server/ |
D | sv_ents.c | 180 if ( to->colormap != from->colormap ) in SV_WriteDelta() 223 MSG_WriteByte (msg, to->colormap); in SV_WriteDelta() 505 state->colormap = ent->v.colormap; in SV_WriteEntitiesToClient()
|
D | sv_init.c | 106 svent->baseline.colormap = entnum; in SV_CreateBaseline() 111 svent->baseline.colormap = 0; in SV_CreateBaseline() 130 MSG_WriteByte (&sv.signon, svent->baseline.colormap); in SV_CreateBaseline()
|
/external/webkit/WebCore/platform/gtk/ |
D | RenderThemeGtk.cpp | 180 GdkColormap* colormap = 0; in partsForDrawable() local 182 colormap = gdk_screen_get_default_colormap(gdk_screen_get_default()); in partsForDrawable() 184 colormap = gdk_drawable_get_colormap(drawable); in partsForDrawable() 186 …ThemeParts* parts = static_cast<GtkThemeParts*>(g_hash_table_lookup(m_partsTable.get(), colormap)); in partsForDrawable() 189 parts->colormap = colormap; in partsForDrawable() 190 g_hash_table_insert(m_partsTable.get(), colormap, parts); in partsForDrawable()
|
/external/webkit/WebCore/plugins/qt/ |
D | PluginViewQt.cpp | 703 static void getVisualAndColormap(int depth, Visual **visual, Colormap *colormap) in getVisualAndColormap() argument 706 *colormap = 0; in getVisualAndColormap() 743 … *colormap = XCreateColormap(QX11Info::display(), QX11Info::appRootWindow(), *visual, AllocNone); in getVisualAndColormap() 787 wsi->colormap = x11Info->colormap(); in platformStart() 808 wsi->colormap = m_colormap; in platformStart()
|
/external/webkit/WebCore/plugins/gtk/ |
D | PluginViewGtk.cpp | 788 static void getVisualAndColormap(int depth, Visual** visual, Colormap* colormap) in getVisualAndColormap() argument 791 *colormap = 0; in getVisualAndColormap() 821 *colormap = XCreateColormap(GDK_DISPLAY(), GDK_ROOT_WINDOW(), *visual, AllocNone); in getVisualAndColormap() 872 …ws->colormap = GDK_COLORMAP_XCOLORMAP(gdk_drawable_get_colormap(GDK_DRAWABLE(platformPluginWidget(… in platformStart() 878 ws->colormap = GTK_XTBIN(platformPluginWidget())->xtclient.xtcolormap; in platformStart() 904 ws->colormap = m_colormap; in platformStart()
|