/src/lib/libm/src/ |
w_gamma.c | 18 /* double gamma(double x) 19 * Return the logarithm of the Gamma function of x. 28 gamma(double x) function in typeref:typename:double 38 return __kernel_standard(x,x,41); /* gamma pole */ 40 return __kernel_standard(x,x,40); /* gamma overflow */
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/ |
amdgpu_dc_surface.c | 202 void dc_gamma_retain(struct dc_gamma *gamma) 204 kref_get(&gamma->refcount); 209 struct dc_gamma *gamma = container_of(kref, struct dc_gamma, refcount); local in function:dc_gamma_free 210 kvfree(gamma); 213 void dc_gamma_release(struct dc_gamma **gamma) 215 kref_put(&(*gamma)->refcount, dc_gamma_free); 216 *gamma = NULL; 221 struct dc_gamma *gamma = kvzalloc(sizeof(*gamma), GFP_KERNEL); local in function:dc_create_gamma 223 if (gamma == NULL [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/ |
amdgpu_dm_color.c | 41 * - Input gamma LUT (de-normalized) 54 * The input gamma LUT block isn't really applicable here since it operates 132 struct dc_gamma *gamma, bool is_legacy) 143 gamma->entries.red[i] = dc_fixpt_from_int(r); 144 gamma->entries.green[i] = dc_fixpt_from_int(g); 145 gamma->entries.blue[i] = dc_fixpt_from_int(b); 156 gamma->entries.red[i] = dc_fixpt_from_fraction(r, MAX_DRM_LUT_VALUE); 157 gamma->entries.green[i] = dc_fixpt_from_fraction(g, MAX_DRM_LUT_VALUE); 158 gamma->entries.blue[i] = dc_fixpt_from_fraction(b, MAX_DRM_LUT_VALUE); 202 struct dc_gamma *gamma = NULL local in function:__set_legacy_tf 228 struct dc_gamma *gamma = NULL; local in function:__set_output_tf 267 struct dc_gamma *gamma = NULL; local in function:__set_input_tf [all...] |
/src/lib/libm/noieee_src/ |
n_gamma.c | 33 static char sccsid[] = "@(#)gamma.c 8.1 (Berkeley) 6/4/93"; 71 * Accuracy: Gamma(x) is accurate to within 138 gamma(double x) function in typeref:typename:double 226 /* Return r*gamma(y). */ 328 y = gamma(y); 330 y = -x*gamma(-x);
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/modules/color/ |
color_gamma.h | 44 unsigned int gammaFromEdid :1; //gamma from edid is in use 45 unsigned int gammaFromEdidEx :1; //gamma from edid is in use , but only for Display Id 1.2 46 unsigned int gammaFromUser :1; //user custom gamma is used 50 unsigned int gammaPredefinedSRGB :1; //flag for SRGB gamma 51 unsigned int gammaPredefinedPQ :1; //flag for PQ gamma 52 unsigned int gammaPredefinedPQ2084Interim :1; //flag for PQ gamma, lower max nits 53 unsigned int gammaPredefined36 :1; //flag for 3.6 gamma 54 unsigned int gammaPredefinedReset :1; //flag to return to previous gamma 59 unsigned short gamma[256*3]; // gamma ramp packed in same way as OS windows ,r , g & member in struct:regamma_ramp 63 int gamma[3]; member in struct:regamma_coeff 93 struct fixed31_32 gamma; member in struct:translate_from_linear_space_args [all...] |
amdgpu_color_gamma.c | 53 /* Helper to optimize gamma calculation, only use in translate_from_linear, in 59 * The other fact is that (2x)^gamma = 2^gamma * x^gamma 60 * So we compute and save x^gamma for the first 16 regions, and for every next region 61 * just multiply with 2^gamma which can be computed once, and save the result so we 65 static struct fixed31_32 gamma_of_2; // 2^gamma 119 /* consts for PQ gamma formula. */ 148 /* consts for dePQ gamma formula. */ 185 /*de gamma, none linear to linear* 423 struct fixed31_32 gamma = dc_fixpt_from_fraction(22, 10); local in function:calculate_gamma22 [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_sprite.c | 714 static void i9xx_plane_linear_gamma(u16 gamma[8]) 721 gamma[i] = (in[i] << 8) / 32; 994 u16 gamma[8]; local in function:vlv_update_gamma 997 /* Seems RGB data bypasses the gamma always */ 1001 i9xx_plane_linear_gamma(gamma); 1007 gamma[i] << 16 | 1008 gamma[i] << 8 | 1009 gamma[i]); 1372 u16 gamma[18]) 1380 * brought up to full amplitude by using sprite internal gamma 1401 u16 gamma[18]; local in function:ivb_update_gamma 1685 u16 gamma[8]; local in function:g4x_update_gamma 1717 u16 gamma[17]; local in function:ilk_update_gamma [all...] |
/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_edid.h | 128 u8 gamma; /* need to divide by 100 then add 1 */ member in struct:detailed_data_wpindex 302 u8 gamma; member in struct:edid
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/ |
dc.h | 193 * gamma need to be adjusted or pipe needs to be turned on (or disconnected) we do 829 const struct dc_gamma *gamma; member in struct:dc_surface_update
|
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/device_include/ |
svga3d_cmd.h | 1329 uint32 gamma; member in struct:SVGA3dCmdLogicOpsClearTypeBlend
|