Searched defs:gamma (Results 1 - 15 of 15) sorted by relevance

/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/
H A Dw_gamma.c27 /* double gamma(double x)
38 double gamma(double x) function
40 double gamma(x)
52 return __kernel_standard(x,x,41); /* gamma pole */
54 return __kernel_standard(x,x,40); /* gamma overflow */
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_png.c54 double gamma; local
98 if (png_get_gAMA(png_ptr, info_ptr, &gamma))
99 png_set_gamma(png_ptr, 2.2, gamma);
/openjdk7/jdk/src/solaris/native/sun/java2d/opengl/
H A DGLXGraphicsConfig.c259 int dtype, rtype, depth, stencil, db, alpha, gamma; local
286 * glXChooseFBConfig(). The first will be a linear (gamma
288 * as the first, except it will be a non-linear (non-gamma
291 * visuals that have gamma values other than 1.0 (the value
293 * by 100, so 100 corresponds to a gamma value of 1.0, 220
297 GLX_GAMMA_VALUE_SUN, &gamma);
298 if (gamma != 100) {
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpnginfo.h114 /* The gAMA chunk describes the gamma characteristics of the system
118 png_fixed_point gamma; member in struct:png_info_def
H A Dpngstruct.h171 png_color_16 background; /* background color in screen gamma space */
173 png_color_16 background_1; /* background normalized to gamma 1.0 */
184 int gamma_shift; /* number of "insignificant" bits in 16-bit gamma */
185 png_fixed_point gamma; /* file gamma value */ member in struct:png_struct_def
186 png_fixed_point screen_gamma; /* screen gamma value (display_exponent) */
190 png_bytep gamma_table; /* gamma table for 8-bit depth files */
193 png_uint_16pp gamma_16_table; /* gamma table for 16-bit depth files */
H A Dpngtest.c1034 png_fixed_point gamma; local
1036 if (png_get_gAMA_fixed(read_ptr, read_info_ptr, &gamma))
1037 png_set_gAMA_fixed(write_ptr, write_info_ptr, gamma);
1057 double gamma; local
1059 if (png_get_gAMA(read_ptr, read_info_ptr, &gamma))
1060 png_set_gAMA(write_ptr, write_info_ptr, gamma);
/openjdk7/jdk/src/windows/native/sun/font/
H A Dlcdglyph.c93 static unsigned char* getIGTable(int gamma) { argument
98 if (gamma < MIN_GAMMA) {
99 gamma = MIN_GAMMA;
100 } else if (gamma > MAX_GAMMA) {
101 gamma = MAX_GAMMA;
104 index = gamma - MIN_GAMMA;
115 ig = ((double)gamma)/100.0;
199 int gamma, orient; local
396 err = SystemParametersInfo(SPI_GETFONTSMOOTHINGCONTRAST, 0, &gamma, 0);
400 igTable = getIGTable(gamma/1
[all...]
/openjdk7/jdk/src/share/native/sun/font/
H A DDrawGlyphList.c232 static unsigned char* getLCDGammaLUT(int gamma);
233 static unsigned char* getInvLCDGammaLUT(int gamma);
664 /* LCD text needs to go through a gamma (contrast) adjustment.
675 * to a gamma adjusted space, and
676 * lcdInvGammaLUT references LUTs which convert gamma adjusted colour
685 void initLUT(int gamma) { argument
689 index = gamma-MIN_GAMMA;
693 if (gamma==100) {
701 ig = ((double)gamma)/100.0;
716 static unsigned char* getLCDGammaLUT(int gamma) { argument
731 getInvLCDGammaLUT(int gamma) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DPNGImageDecoder.java70 private int gamma = 100000; field in class:PNGImageDecoder
140 gamma = getInt(st);
141 if(gamma!=100000) property("gamma",gamma/100000.0f);
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DX11Color.c701 double gamma = atof(gammastr ? gammastr : "1.6"); local
702 if (gamma < 0.01) gamma = 1.0;
705 jio_fprintf(stderr, "gamma = %f\n", gamma);
709 img_bwgamma[i] = (int) (pow(i/255.0, gamma) * 255);
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DTextRenderer.cpp90 * Updates the gamma and inverse gamma values for the LCD text shader.
100 jfloat gamma = 1.0f / invgamma; local
110 // update the "gamma" parameter of the shader program
111 vals[0] = gamma;
112 vals[1] = gamma;
113 vals[2] = gamma;
121 * Updates the current gamma-adjusted source color ("src_adj") of the LCD
126 * gamma-adjusted value once and update the uniform parameter of the LCD
133 jfloat gamma local
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsgamma.c293 // Type 1 Reversed: X = Y ^1/gamma
579 // Create an empty gamma curve, by using tables. This specifies only the limited-precision part, and leaves the
594 // Create a segmented gamma, fill the table
689 // Build a gamma table based on gamma constant
696 // Free all memory taken by the gamma curve
734 // Utility function, free 3 gamma tables
748 // Duplicate a gamma table
850 // Reverse a gamma table
914 // Reverse a gamma tabl
1179 cmsFloat64Number gamma, sum, sum2; local
[all...]
H A Dcmsps2.c499 cmsFloat64Number gamma; local
509 gamma = cmsEstimateGamma(Table, 0.001);
510 if (gamma > 0) {
511 _cmsIOPrintf(m, "{ %g exp } bind ", gamma);
563 // Compare gamma table
572 // Does write a set of gamma curves
H A Dcmstypes.c1124 case 1: // Specified as the exponent of gamma function
1161 // Single gamma, preserve number
1190 cmsToneCurve* gamma = (cmsToneCurve*) Ptr; local
1192 cmsFreeToneCurve(gamma);
1299 cmsToneCurve* gamma = (cmsToneCurve*) Ptr; local
1301 cmsFreeToneCurve(gamma);
1639 // Read 8 bit tables as gamma functions
1982 // Read 16 bit tables as gamma functions
4668 // In this case, gamma is stored as a formula
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLTextRenderer.c98 * The size of one of the gamma LUT textures in any one dimension along
104 * These are the texture object handles for the gamma and inverse gamma
280 * So instead we build two 3D textures containing gamma (and inverse gamma)
315 // gamma adjust the dest color using the invgamma LUT
319 // gamma re-adjust the resulting color (alpha is always set to 1.0)
363 * Initializes a 3D texture object for use as a three-dimensional gamma
401 * (Re)Initializes the gamma lookup table textures.
405 * that essentially calculates pow(x, gamma) an
417 double gamma = ((double)contrast) / 100.0; local
481 double gamma = ((double)contrast) / 100.0; local
[all...]

Completed in 85 milliseconds