/external/libpng/contrib/gregbook/ |
readpng.c | 208 double gamma; local 240 * this file may have come from--so if it doesn't have a file gamma, don't 243 if (png_get_gAMA(png_ptr, info_ptr, &gamma)) 244 png_set_gamma(png_ptr, display_exponent, gamma);
|
readpng2.c | 383 double gamma; local 485 * such images have a file gamma of 0.45455, which corresponds to a PC-like 491 * "gamma" value for the entire display system, i.e., the product of 494 if (png_get_gAMA(png_ptr, info_ptr, &gamma)) 495 png_set_gamma(png_ptr, mainprog_ptr->display_exponent, gamma);
|
writepng.h | 91 double gamma; member in struct:_mainprog_info
|
/development/simulator/app/ |
PrefsDialog.cpp | 91 pPrefs->GetDouble("gamma", &mGammaCorrection); 121 wxTextCtrl* gamma = (wxTextCtrl*) FindWindow(IDC_RPREFS_GAMMA); local 132 gamma->SetValue(tmpStr); 156 wxTextCtrl* gamma = (wxTextCtrl*) FindWindow(IDC_RPREFS_GAMMA); local 165 tmpStr = gamma->GetValue(); 169 wxMessageBox(wxT("Bad value for gamma -- must be > 0.0 and <= 2.0"), 198 pPrefs->SetDouble("gamma", mGammaCorrection); 261 wxT("Gamma correction:"));
|
/external/webkit/WebCore/platform/graphics/filters/ |
FEComponentTransfer.cpp | 141 static void gamma(unsigned char* values, const ComponentTransferFunction& transferFunction) function in namespace:WebCore 165 TransferType callEffect[] = {identity, identity, table, discrete, linear, gamma};
|
/external/webkit/WebCore/platform/image-decoders/png/ |
PNGImageDecoder.cpp | 46 // Gamma constants. 283 // Deal with gamma and keep it under our control. 284 double gamma; local 285 if (png_get_gAMA(png, info, &gamma)) { 286 if ((gamma <= 0.0) || (gamma > cMaxGamma)) { 287 gamma = cInverseGamma; 288 png_set_gAMA(png, info, gamma); 290 png_set_gamma(png, cDefaultGamma, gamma);
|
/development/apps/FontLab/src/com/android/fontlab/ |
FontLab.java | 331 // default to gamma of 1.0 335 int gamma = Math.min(MAX_GAMMA, Math.max(MIN_GAMMA, mGamma + delta)); local 336 if (gamma != mGamma) { 337 mGamma = gamma;
|
/external/qemu/distrib/libpng-1.2.19/ |
pngset.c | 157 double gamma; local 165 png_warning(png_ptr, "Limiting gamma to 21474.83"); 166 gamma=21474.83; 169 gamma=file_gamma; 170 info_ptr->gamma = (float)gamma; 172 info_ptr->int_gamma = (int)(gamma*100000.+.5); 175 if(gamma == 0.0) 176 png_warning(png_ptr, "Setting gamma=0"); 183 png_fixed_point gamma; local [all...] |
png.h | 726 /* The gAMA chunk describes the gamma characteristics of the system 730 float gamma; \/* gamma value of image, if (valid & PNG_INFO_gAMA) *\/ member in struct:png_info_struct 1225 float gamma; \/* file gamma value *\/ member in struct:png_struct_def [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_sysvideo.h | 151 /* Gamma support */ 153 Uint16 *gamma; member in struct:SDL_VideoDevice 155 /* Set the gamma correction directly (emulated with gamma ramps) */ 158 /* Get the gamma correction directly (emulated with gamma ramps) */ 161 /* Set the gamma ramp */ 164 /* Get the gamma ramp */ 282 SDL_Color *gammacols; /* gamma-corrected colours, or NULL */
|
/external/quake/quake/src/QW/client/ |
gl_vidlinux_svga.c | 142 float gamma, f, inf; local 148 gamma = Q_atof (Cmd_Argv(1)); 152 f = pow ( (host_basepal[i]+1)/256.0 , gamma );
|
gl_vidlinux_x11.c | 123 float gamma, f, inf; local 129 gamma = Q_atof (Cmd_Argv(1)); 133 f = pow ( (host_basepal[i]+1)/256.0 , gamma );
|
vid_svgalib.c | 239 float gamma, f, inf; local 245 gamma = Q_atof (Cmd_Argv(1)); 249 f = pow ( (host_basepal[i]+1)/256.0 , gamma ); 567 // Cmd_AddCommand ("gamma", VID_Gamma_f);
|
gl_vidnt.c | 715 float gamma;
local [all...] |
/external/quake/quake/src/WinQuake/ |
vid_svgalib.cpp | 238 float gamma, f, inf; local 244 gamma = Q_atof (Cmd_Argv(1)); 248 f = pow ( (host_basepal[i]+1)/256.0 , gamma ); 564 // Cmd_AddCommand ("gamma", VID_Gamma_f);
|
gl_vidnt.cpp | 715 float gamma;
local [all...] |
/external/libpng/ |
pngtest.c | 935 png_fixed_point gamma; local 937 if (png_get_gAMA_fixed(read_ptr, read_info_ptr, &gamma)) 938 png_set_gAMA_fixed(write_ptr, write_info_ptr, gamma); 957 double gamma; local 959 if (png_get_gAMA(read_ptr, read_info_ptr, &gamma)) 960 png_set_gAMA(write_ptr, write_info_ptr, gamma); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
SDL_dx5video.c | 435 /* WinDIB driver functions for manipulating gamma ramps */ 841 /*if gamma is undefined then we really have directx <= 0x500*/ 2288 LPDIRECTDRAWGAMMACONTROL gamma; local 2334 LPDIRECTDRAWGAMMACONTROL gamma; local [all...] |
/external/speex/libspeex/ |
preprocess.c | 291 y = gamma(1.25)^2 * M(-.25;1;-x) / sqrt(x) 351 y = gamma(1.25)^2 * M(-.25;1;-x) / sqrt(x) 794 spx_word16_t gamma; local 803 /* Computing update gamma = .1 + .9*(old/(old+noise))^2 */ 804 gamma = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.89f,15),SQR16_Q15(DIV32_16_Q15(st->old_ps[i],ADD32(st->old_ps[i],tot_noise)))); 806 /* A priori SNR update = gamma*max(0,post) + (1-gamma)*old/noise */ 807 st->prior[i] = EXTRACT16(PSHR32(ADD32(MULT16_16(gamma,MAX16(0,st->post[i])), MULT16_16(Q15_ONE-gamma,DIV32_16_Q8(st->old_ps[i],tot_noise))), 15)); [all...] |
/frameworks/base/awt/java/awt/color/ |
ICC_Profile.java | 1451 float gamma = getGammaOrTRC(tagSignature, dataTRC); local [all...] |
/prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/lib/gcc/i686-unknown-linux-gnu/4.2.1/include/xorg/ |
edid.h | 141 #define GAMMA _GAMMA(GET(D_GAMMA)) 367 float gamma; member in struct:disp_features
|
xf86str.h | 196 typedef struct { float red, green, blue; } Gamma; 198 /* The permitted gamma range is 1 / GAMMA_MAX <= g <= GAMMA_MAX */ 213 Gamma gamma; /* Gamma of the monitor */ member in struct:__anon12870 838 typedef int xf86ChangeGammaProc (int, Gamma); 889 Gamma gamma; /* Gamma of the monitor */ member in struct:_ScrnInfoRec [all...] |
/external/kernel-headers/original/linux/ |
fb.h | 449 __u16 gamma; /* Gamma - in fractions of 100 */ member in struct:fb_monspecs [all...] |