Home
last modified time | relevance | path

Searched refs:ab (Results 1 - 7 of 7) sorted by relevance

/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/
H A D3d_dm_brdf_common.h115 float dGGXAnisotropic(float at, float ab, float NoH, float ToH, float BoH, float anisotropy) in dGGXAnisotropic() argument
117 float a2 = at * ab; in dGGXAnisotropic()
118 vec3 d = vec3(ab * ToH, at * BoH, a2 * NoH); in dGGXAnisotropic()
143 float at, float ab, float NoL, float NoV, float ToL, float ToV, float BoL, float BoV, float anisotropy) in vGGXAnisotropic()
145 float gv = NoL * length(vec3(at * ToV, ab * BoV, NoV)); in vGGXAnisotropic()
146 float gl = NoV * length(vec3(at * ToL, ab * BoL, NoL)); in vGGXAnisotropic()
175 const float ab = max(alpha * (1.0 - anisotropy), CORE_BRDF_EPSILON); in microfacedSpecularBrdfAnisotropic() local
177 float D = dGGXAnisotropic(at, ab, NoH, ToH, BoH, anisotropy); in microfacedSpecularBrdfAnisotropic()
178 float V = vGGXAnisotropic(at, ab, NoL, NoV, BoV, ToV, ToL, BoL, anisotropy); in microfacedSpecularBrdfAnisotropic()
142 vGGXAnisotropic( float at, float ab, float NoL, float NoV, float ToL, float ToV, float BoL, float BoV, float anisotropy) vGGXAnisotropic() argument
H A D3d_dm_indirect_lighting_common.h66 vec2 ab = vec2(-1.04, 1.04) * a004 + r.zw; in EnvBRDFApprox() local
67 // f0 has baked transparency, ab.y needs to take alpha into account in EnvBRDFApprox()
70 return f0 * ab.x + ab.y * f90; in EnvBRDFApprox()
H A D3d_dm_lighting_common.h557 const float ab = max(asv.alpha * (1.0 - asv.anisotropy), CORE3D_PBR_LIGHTING_EPSILON); in CalculateLight() local
559 const float D = dGGXAnisotropic(at, ab, NoH, ToH, BoH, asv.anisotropy); in CalculateLight()
560 const float G = vGGXAnisotropic(at, ab, NoL, sd.NoV, ToL, asv.ToV, BoL, asv.BoV, asv.anisotropy); in CalculateLight()
/foundation/distributedhardware/distributed_camera/common/src/utils/
H A Danonymous_string.cpp35 uint64_t ab = dist(rd); in GetRandomID() local
39 ab = (ab & 0xFFFFFFFFFFFF0FFFULL) | 0x0000000000004000ULL; in GetRandomID()
41 a = (ab >> 32U); in GetRandomID()
42 b = (ab & 0xFFFFFFFFU); in GetRandomID()
/foundation/distributedhardware/distributed_screen/common/src/
H A Ddscreen_util.cpp62 uint64_t ab = dist(randomDevice); in GetRandomID() local
69 ab = (ab & 0xFFFFFFFFFFFF0FFFULL) | 0x0000000000004000ULL; in GetRandomID()
71 a = (ab >> 32U); in GetRandomID()
72 b = (ab & 0xFFFFFFFFU); in GetRandomID()
/foundation/distributedhardware/distributed_hardware_fwk/utils/src/
H A Ddh_utils_tool.cpp64 uint64_t ab = dist(rd); in GetRandomID() local
71 ab = (ab & 0xFFFFFFFFFFFF0FFFULL) | 0x0000000000004000ULL; in GetRandomID()
73 a = (ab >> 32U); in GetRandomID()
74 b = (ab & 0xFFFFFFFFU); in GetRandomID()
/foundation/distributedhardware/distributed_audio/common/src/
H A Ddaudio_util.cpp151 uint64_t ab = dist(rd); in GetRandomID() local
155 ab = (ab & 0xFFFFFFFFFFFF0FFFULL) | 0x0000000000004000ULL; in GetRandomID()
157 a = (ab >> 32U); in GetRandomID()
158 b = (ab & 0xFFFFFFFFU); in GetRandomID()
559 dumpFile = fopen(filePath.c_str(), "ab+"); in OpenDumpFileInner()

Completed in 7 milliseconds