Home
last modified time | relevance | path

Searched refs:disp_gam (Results 1 – 9 of 9) sorted by relevance

/dports/x11/xloadimage/xloadimage.4.1/
H A Dbright.c72 void gammacorrect(image, disp_gam, verbose) in gammacorrect() argument
74 double disp_gam;
87 printf(" Adjusting colormap for display gamma of %4.2f...", disp_gam);
91 if( disp_gam != old_gamma)
92 make_gamma(disp_gam,gammamap);
93 old_gamma = disp_gam;
H A Drle.c43 static float disp_gam = 1.0; /* default display gamma correction factor */ variable
291 disp_gam /= img_gam; /* amount to change their map */
323 dithermap( 6, disp_gam, colmap, divN, modN, magic );
350 make_gamma(disp_gam,gammamap); /* we'll need it */
H A Dimage.h220 void gammacorrect _ArgProto((Image *image, double disp_gam, unsigned int verbose));
/dports/graphics/urt/urt-3.1b1_12/tools/
H A Dto8.c47 double disp_gam = 2.5; variable
95 &iflag, &img_gam, &gflag, &disp_gam,
171 sprintf( comment, "display_gamma=%g", disp_gam );
222 dithermap( 6, disp_gam, colmap, divN, modN, dm16 ); in init_color()
/dports/misc/magicpoint/magicpoint-1.13a/image/
H A Drle.c43 static float disp_gam = 1.0; /* default display gamma correction factor */ variable
338 disp_gam /= img_gam; /* amount to change their map */
370 dithermap( 6, disp_gam, colmap, divN, modN, magic );
397 make_gamma(disp_gam,gammamap); /* we'll need it */
H A Dbright.c73 void gammacorrect(image, disp_gam, verbose) in gammacorrect() argument
75 float disp_gam;
87 fprintf(stderr, " Adjusting colormap for display gamma of %4.2f...", disp_gam);
91 make_gamma(disp_gam,gammamap);
/dports/graphics/urt/urt-3.1b1_12/get/
H A Dgetsun.c78 double disp_gam = 2.5; /* default gammas for display and image */ variable
139 &gflag, &disp_gam,
495 dithermap( levels, disp_gam, rgbmap, divN, modN, dm16 ); in init_color()
519 bwdithermap( levels, disp_gam, bwmap, divN, modN, dm16 ); in init_color()
H A Dgetx10.c85 double disp_gam = 2.5; /* default gammas for display and image */ variable
175 &gflag, &disp_gam,
969 dithermap( levels, disp_gam, rgbmap, divN, modN, dm16 ); in init_color()
1021 bwdithermap( levels, disp_gam, bwmap, divN, modN, dm16 ); in init_color()
1113 gammamap[i] = (int)(0.5 + 255 * pow( i / 255.0, 1.0/disp_gam )); in load_x_map()
/dports/x11/xloadimage/debian/patches/
H A D02_png-support.patch53 double disp_gam;
69 - make_gamma(disp_gam,gammamap);
70 + if( disp_gam != old_gamma)
71 + make_gamma(disp_gam,gammamap);
72 + old_gamma = disp_gam;