OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:gamma_ramp
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/ui/display/chromeos/x11/
native_display_delegate_x11.cc
47
XRRCrtcGamma* ResampleGammaRamp(XRRCrtcGamma*
gamma_ramp
, int gamma_ramp_size) {
48
if (
gamma_ramp
->size == gamma_ramp_size)
49
return
gamma_ramp
;
56
int base_index =
gamma_ramp
->size * i / gamma_ramp_size;
57
int remaining =
gamma_ramp
->size * i % gamma_ramp_size;
58
if (base_index <
gamma_ramp
->size - 1) {
59
resampled->red[i] = RESAMPLE(
gamma_ramp
->red, base_index, remaining);
60
resampled->green[i] = RESAMPLE(
gamma_ramp
->green, base_index, remaining);
61
resampled->blue[i] = RESAMPLE(
gamma_ramp
->blue, base_index, remaining);
63
resampled->red[i] =
gamma_ramp
->red[gamma_ramp->size - 1]
657
XRRCrtcGamma*
gamma_ramp
= CreateGammaRampForProfile(x11_output, new_profile);
local
[
all
...]
/external/qemu/distrib/sdl-1.2.15/test/
testpalette.c
144
int
gamma_ramp
= 0;
local
160
gamma_ramp
= 1;
302
} else if(
gamma_ramp
) {
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
SDL_dx5video.c
2308
DDGAMMARAMP
gamma_ramp
;
local
2354
DDGAMMARAMP
gamma_ramp
;
local
[
all
...]
Completed in 70 milliseconds