HomeSort by: relevance | last modified time | path
    Searched refs:gamma (Results 1 - 25 of 29) sorted by relevancy

1 2

  /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/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...]
amdgpu_dc.c 1673 if (u->gamma) {
1879 if (srf_update->gamma &&
1881 srf_update->gamma)) {
1883 &srf_update->gamma->entries,
1886 srf_update->gamma->is_identity;
1888 srf_update->gamma->num_entries;
1890 srf_update->gamma->type;
  /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/amd/display/dc/inc/hw/
ipp.h 102 const struct dc_gamma *gamma);
dpp.h 199 const struct dc_gamma *gamma);
transform.h 248 const struct dc_gamma *gamma);
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/
amdgpu_dce_ipp.c 178 const struct dc_gamma *gamma)
203 for (i = 0; i < gamma->num_entries; i++) {
206 gamma->entries.red[i]));
209 gamma->entries.green[i]));
212 gamma->entries.blue[i]));
  /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/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);
n_lgamma.c 49 /* Log gamma function.
58 * Use gamma(x+1) = x*gamma(x) for argument reduction.
294 y = gamma(x);
  /src/tests/lib/lua/libm/
h_lualibm.c 58 TEST(gamma(5.0));
lualibm.lua 64 test("gamma(5.0)", lm.gamma(5.0))
  /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/dcn10/
amdgpu_dcn10_dpp_cm.c 368 /*program re gamma RAM A*/
397 /*program re gamma RAM B*/
521 /*program de gamma RAM B*/
550 /*program de gamma RAM A*/
607 /* Setting de gamma bypass for now */
757 * Input gamma LUT currently supports 256 values only. This means input color
762 * In the future, this function should support additional input gamma methods,
763 * such as piecewise linear mapping, and input gamma bypass.
767 const struct dc_gamma *gamma)
796 for (i = 0; i < gamma->num_entries; i++)
    [all...]
  /src/lib/lua/libm/
libm.c 131 DFUNC_DBL(gamma)
268 { "gamma", libm_gamma },
  /src/include/
math.h 275 double gamma(double);
400 /* 7.12.8 error / gamma */
552 * Reentrant version of gamma & lgamma; passes signgam back by reference
590 * Float versions of reentrant version of gamma & lgamma; passes
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/
amdgpu_dcn20_dpp.c 97 const struct dc_gamma *gamma)
  /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
  /src/sys/dev/stbi/
stb_image.c 157 // LDR, assuming gamma 2.2 and an arbitrary scale factor defaulting to 1;
226 extern void stbi_hdr_to_ldr_gamma(float gamma);
229 extern void stbi_ldr_to_hdr_gamma(float gamma);
800 void stbi_hdr_to_ldr_gamma(float gamma) { h2l_gamma_i = 1/gamma; }
803 void stbi_ldr_to_hdr_gamma(float gamma) { l2h_gamma = gamma; }
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/mediatek/
mt8183.dtsi 1321 gamma0: gamma@14011000 {
1322 compatible = "mediatek,mt8183-disp-gamma";
  /src/lib/libm/
Makefile 525 lgamma.3 gamma.3 lgamma.3 gammaf.3 lgamma.3 gamma_r.3 \

Completed in 32 milliseconds

1 2