Home
last modified time | relevance | path

Searched refs:LOG2 (Results 1 – 14 of 14) sorted by relevance

/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/
DFog.frag10 const float LOG2 = 1.442695;
17 float fogFactor = exp2( -m_FogDensity * m_FogDensity * depth * depth * LOG2 );
DFog15.frag13 const float LOG2 = 1.442695;
20 float fogFactor = exp2( -m_FogDensity * m_FogDensity * depth * depth * LOG2 );
/external/mesa3d/src/mesa/main/
Dimports.h167 static inline GLfloat LOG2(GLfloat x)
179 static inline GLfloat LOG2(GLfloat val) in LOG2() function
195 #define LOG2(x) ((GLfloat) (log(x) * 1.442695F)) macro
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dimports.h167 static inline GLfloat LOG2(GLfloat x)
179 static inline GLfloat LOG2(GLfloat val) in LOG2() function
195 #define LOG2(x) ((GLfloat) (log(x) * 1.442695F)) macro
/external/aac/libSBRenc/src/
Dsbr_def.h114 #define LOG2 0.69314718056f /* natural logarithm of 2 */ macro
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/
DWater.frag121 const float LOG2 = 1.442695;
198 fogFactor = exp2( -fogIntensity * fogIntensity * cameraDepth * 0.03 * LOG2 );
218 fogFactor = exp2( -fogIntensity * fogIntensity * fogDepth * fogDepth * LOG2 );
DWater15.frag117 const float LOG2 = 1.442695;
200 fogFactor = exp2( -fogIntensity * fogIntensity * cameraDepth * 0.03 * LOG2 );
220 fogFactor = exp2( -fogIntensity * fogIntensity * fogDepth * fogDepth * LOG2 );
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
DImageToAwt.java269 private static final double LOG2 = Math.log(2); field in ImageToAwt
279 int expectedMipmaps = 1 + (int) Math.ceil(Math.log(Math.max(h, w)) / LOG2); in createData()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DDDSLoader.java96 private static final double LOG2 = Math.log(2); field in DDSLoader
222 int expectedMipmaps = 1 + (int) Math.ceil(Math.log(Math.max(height, width)) / LOG2); in loadHeader()
/external/mesa3d/src/mesa/swrast/
Ds_span.c425 GLfloat lambda = LOG2(rho); in _swrast_compute_lambda()
452 lambda = LOG2(rho);
Ds_texfilter.c1959 lod = 0.5 * LOG2(Pmin2); in sample_lambda_2d_aniso()
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_span.c425 GLfloat lambda = LOG2(rho); in _swrast_compute_lambda()
452 lambda = LOG2(rho);
Ds_texfilter.c1959 lod = 0.5 * LOG2(Pmin2); in sample_lambda_2d_aniso()
/external/aac/libAACenc/src/
Dmetadata_compressor.cpp96 #define LOG2 0.69314718056f /* natural logarithm of 2 */ macro