Home
last modified time | relevance | path

Searched refs:ramp (Results 1 – 25 of 25) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_gamma.c41 static void CalculateGammaRamp(float gamma, Uint16 *ramp) in CalculateGammaRamp() argument
48 ramp[i] = 0; in CalculateGammaRamp()
55 ramp[i] = (i << 8) | i; in CalculateGammaRamp()
67 ramp[i] = (Uint16)value; in CalculateGammaRamp()
71 static void CalculateGammaFromRamp(float *gamma, Uint16 *ramp) in CalculateGammaFromRamp() argument
81 if ( (ramp[i] != 0) && (ramp[i] != 65535) ) { in CalculateGammaFromRamp()
83 double A = ramp[i] / 65535.0; in CalculateGammaFromRamp()
102 Uint16 ramp[3][256]; in SDL_SetGamma() local
104 CalculateGammaRamp(red, ramp[0]); in SDL_SetGamma()
105 CalculateGammaRamp(green, ramp[1]); in SDL_SetGamma()
[all …]
DSDL_sysvideo.h162 int (*SetGammaRamp)(_THIS, Uint16 *ramp);
165 int (*GetGammaRamp)(_THIS, Uint16 *ramp);
/external/qemu/distrib/sdl-1.2.15/test/
Dtestgamma.c19 void CalculateGamma(double gamma, Uint16 *ramp) in CalculateGamma() argument
29 ramp[i] = (Uint16)value; in CalculateGamma()
81 Uint16 ramp[256]; in main() local
180 CalculateGamma(1.0/gamma, ramp); in main()
181 SDL_SetGammaRamp(red_ramp, ramp, ramp); in main()
185 memset(ramp, 0, sizeof(ramp)); in main()
186 SDL_SetGammaRamp(red_ramp, ramp, ramp); in main()
Dtestpalette.c304 Uint16 ramp[256]; in main() local
306 ramp[i] = (i * fade_level / fade_max) << 8; in main()
307 if(SDL_SetGammaRamp(ramp, ramp, ramp) < 0) in main()
DREADME15 testgamma Tests video device gamma ramp
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/
DSDL_macwm_c.h38 extern int Mac_SetGammaRamp(_THIS, Uint16 *ramp);
39 extern int Mac_GetGammaRamp(_THIS, Uint16 *ramp);
DSDL_macwm.c409 int Mac_SetGammaRamp(_THIS, Uint16 *ramp) in Mac_SetGammaRamp() argument
416 shiftedRamp[i] = ramp[i] >> 8; in Mac_SetGammaRamp()
425 int Mac_GetGammaRamp(_THIS, Uint16 *ramp) in Mac_GetGammaRamp() argument
432 ramp[i] = shiftedRamp[i] << 8; in Mac_GetGammaRamp()
/external/eigen/doc/examples/
Dclass_CwiseUnaryOp_ptrfun.cpp7 double ramp(double x) in ramp() function
18 cout << m1 << endl << "becomes: " << endl << m1.unaryExpr(ptr_fun(ramp)) << endl; in main()
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
DSDL_nxvideo.c50 static int NX_SetGammaRamp (_THIS, Uint16 * ramp) ;
51 static int NX_GetGammaRamp (_THIS, Uint16 * ramp) ;
485 static int NX_SetGammaRamp (_THIS, Uint16 * ramp) in NX_SetGammaRamp() argument
505 red = ramp ; in NX_SetGammaRamp()
506 green = ramp + CI_SIZE ; in NX_SetGammaRamp()
520 static int NX_GetGammaRamp (_THIS, Uint16 * ramp) in NX_GetGammaRamp() argument
528 red = ramp ; in NX_GetGammaRamp()
529 green = ramp + CI_SIZE ; in NX_GetGammaRamp()
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
DSDL_dx5video.c427 static int DX5_SetGammaRamp(_THIS, Uint16 *ramp);
428 static int DX5_GetGammaRamp(_THIS, Uint16 *ramp);
452 extern int DIB_SetGammaRamp(_THIS, Uint16 *ramp);
453 extern int DIB_GetGammaRamp(_THIS, Uint16 *ramp);
2304 static int DX5_SetGammaRamp(_THIS, Uint16 *ramp) argument
2314 return DIB_SetGammaRamp(this, ramp);
2336 SDL_memcpy(gamma_ramp.red, &ramp[0*256], 256*sizeof(*ramp));
2337 SDL_memcpy(gamma_ramp.green, &ramp[1*256], 256*sizeof(*ramp));
2338 SDL_memcpy(gamma_ramp.blue, &ramp[2*256], 256*sizeof(*ramp));
2350 static int DX5_GetGammaRamp(_THIS, Uint16 *ramp) argument
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
DSDL_QuartzVideo.h190 int QZ_SetGammaRamp (_THIS, Uint16 *ramp);
191 int QZ_GetGammaRamp (_THIS, Uint16 *ramp);
DSDL_QuartzVideo.m1642 int QZ_SetGammaRamp (_THIS, Uint16 *ramp)
1653 redTable[i % 256] = ramp[i] / 65535.0;
1656 greenTable[i % 256] = ramp[i] / 65535.0;
1659 blueTable[i % 256] = ramp[i] / 65535.0;
1668 int QZ_GetGammaRamp (_THIS, Uint16 *ramp)
1685 ramp[i] = redTable[i % 256] * 65535.0;
1688 ramp[i] = greenTable[i % 256] * 65535.0;
1691 ramp[i] = blueTable[i % 256] * 65535.0;
/external/qemu/distrib/sdl-1.2.15/src/video/windib/
DSDL_dibvideo.c100 int DIB_SetGammaRamp(_THIS, Uint16 *ramp);
101 int DIB_GetGammaRamp(_THIS, Uint16 *ramp);
1090 WORD ramp[3*256]; local
1094 if ( ! GetDeviceGammaRamp(hdc, ramp) ) {
1140 int DIB_SetGammaRamp(_THIS, Uint16 *ramp) argument
1162 succeeded = SetDeviceGammaRamp(hdc, ramp);
1171 int DIB_GetGammaRamp(_THIS, Uint16 *ramp) argument
1182 succeeded = GetDeviceGammaRamp(hdc, ramp);
/external/qemu/distrib/sdl-1.2.15/src/video/dga/
DSDL_dgavideo.c52 static int DGA_SetGammaRamp(_THIS, Uint16 *ramp);
1021 int DGA_SetGammaRamp(_THIS, Uint16 *ramp) in DGA_SetGammaRamp() argument
1041 xcmap[i].red = ramp[0*256+c]; in DGA_SetGammaRamp()
1042 xcmap[i].green = ramp[1*256+c]; in DGA_SetGammaRamp()
1043 xcmap[i].blue = ramp[2*256+c]; in DGA_SetGammaRamp()
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11video.c68 static int X11_SetGammaRamp(_THIS, Uint16 *ramp);
1467 int X11_SetGammaRamp(_THIS, Uint16 *ramp) in X11_SetGammaRamp() argument
1483 xcmap[i].red = ramp[0*256+c]; in X11_SetGammaRamp()
1484 xcmap[i].green = ramp[1*256+c]; in X11_SetGammaRamp()
1485 xcmap[i].blue = ramp[2*256+c]; in X11_SetGammaRamp()
/external/webrtc/src/modules/audio_processing/aec/
Daec_core.c652 const float ramp = 1.0002f; in ProcessBlock() local
720 aec->dPow[i])) * ramp; in ProcessBlock()
723 aec->dMinPow[i] *= ramp; in ProcessBlock()
/external/chromium_org/third_party/webrtc/modules/audio_processing/aec/
Daec_core.c1039 const float ramp = 1.0002f; in ProcessBlock() local
1097 (aec->dPow[i] + step * (aec->dMinPow[i] - aec->dPow[i])) * ramp; in ProcessBlock()
1099 aec->dMinPow[i] *= ramp; in ProcessBlock()
/external/kernel-headers/original/uapi/linux/
Dinput.h1144 struct ff_ramp_effect ramp; member
/external/deqp/modules/gles31/functional/
Des31fSynchronizationTests.cpp103 void generateShuffledRamp (int numElements, std::vector<int>& ramp) in generateShuffledRamp() argument
108 ramp.resize(numElements); in generateShuffledRamp()
110 ramp[callNdx] = callNdx + 1; in generateShuffledRamp()
112 rng.shuffle(ramp.begin(), ramp.end()); in generateShuffledRamp()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_text.cpp1245 static void _CalcContrastRamp(FX_LPBYTE ramp, int level) in _CalcContrastRamp() argument
1249 ramp[i] = 0; in _CalcContrastRamp()
1252 ramp[i] = 255 * (i - contrast_min) / (contrast_max - contrast_min); in _CalcContrastRamp()
1255 ramp[i] = 255; in _CalcContrastRamp()
/external/chromium_org/third_party/skia/src/animator/
DSkAnimateSchema.xsd1761 LinearGradient sets the paint shader to ramp between two or more colors.
2257 RadialGradient sets the paint shader to ramp between two or more colors in concentric circles.
/external/skia/src/animator/
DSkAnimateSchema.xsd1761 LinearGradient sets the paint shader to ramp between two or more colors.
2257 RadialGradient sets the paint shader to ramp between two or more colors in concentric circles.
/external/chromium_org/third_party/sqlite/src/test/
Dfts1porter.test16494 ramping ramp
16496 ramps ramp
/external/srec/config/en.us/dictionary/
Dlarge.ok23523 ramp ramp
/external/chromium_org/third_party/WebKit/PerformanceTests/Parser/resources/
Dfinal-url-en77303 http://www.unesco.org/webworld/ramp/html/r8722e/r8722e0d.htm
77304 http://www.unesco.org/webworld/ramp/html/r8722e/r8722e10.htm
77305 http://www.unesco.org/webworld/ramp/html/r8722e/r8722e12.htm
77306 http://www.unesco.org/webworld/ramp/html/r8809e/r8809e09.htm
77307 http://www.unesco.org/webworld/ramp/html/r8815e/r8815e06.htm