Home
last modified time | relevance | path

Searched refs:mix (Results 1 – 25 of 222) sorted by relevance

123456789

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/
DShaderUtils.java60 public static final float mix(final float a, final float b, final float f) { in mix() method in ShaderUtils
64 public static final Color mix(final Color a, final Color b, final float f) { in mix() method in ShaderUtils
65 …return new Color((int) ShaderUtils.clamp(ShaderUtils.mix(a.getRed(), b.getRed(), f), 0, 255), (int… in mix()
66 ShaderUtils.mix(a.getGreen(), b.getGreen(), f), 0, 255), (int) ShaderUtils.clamp( in mix()
67 ShaderUtils.mix(a.getBlue(), b.getBlue(), f), 0, 255)); in mix()
70 public static final int mix(final int a, final int b, final float f) { in mix() method in ShaderUtils
74 public static final float[] mix(final float[] c1, final float[] c2, final float f) { in mix() method in ShaderUtils
75 …return new float[] { ShaderUtils.mix(c1[0], c2[0], f), ShaderUtils.mix(c1[1], c2[1], f), ShaderUti… in mix()
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/
DTerrainLighting.frag209 diffuseColor = mix( diffuseColor, diffuseColor1, alphaBlend.g );
212 diffuseColor = mix( diffuseColor, diffuseColor2, alphaBlend.b );
215 diffuseColor = mix( diffuseColor, diffuseColor3, alphaBlend.a );
219 diffuseColor = mix( diffuseColor, diffuseColor4, alphaBlend1.r );
222 diffuseColor = mix( diffuseColor, diffuseColor5, alphaBlend1.g );
225 diffuseColor = mix( diffuseColor, diffuseColor6, alphaBlend1.b );
228 diffuseColor = mix( diffuseColor, diffuseColor7, alphaBlend1.a );
232 diffuseColor = mix( diffuseColor, diffuseColor8, alphaBlend2.r );
235 diffuseColor = mix( diffuseColor, diffuseColor9, alphaBlend2.g );
238 diffuseColor = mix( diffuseColor, diffuseColor10, alphaBlend2.b );
[all …]
DTerrain.frag59 outColor = mix( outColor, tex2, alpha.g ); // Green channel
60 outColor = mix( outColor, tex3, alpha.b ); // Blue channel
/external/vulkan-validation-layers/libs/glm/gtx/
Dcompatibility.hpp64 …template <typename T> GLM_FUNC_QUALIFIER T lerp(T x, T y, T a){return mix(x, y, a);} … in lerp()
65 …rp(const detail::tvec2<T, P>& x, const detail::tvec2<T, P>& y, T a){return mix(x, y, a);} //… in lerp()
67 …rp(const detail::tvec3<T, P>& x, const detail::tvec3<T, P>& y, T a){return mix(x, y, a);} //… in lerp()
68 …rp(const detail::tvec4<T, P>& x, const detail::tvec4<T, P>& y, T a){return mix(x, y, a);} //… in lerp()
69 … P>& x, const detail::tvec2<T, P>& y, const detail::tvec2<T, P>& a){return mix(x, y, a);} //!< \br… in lerp()
70 … P>& x, const detail::tvec3<T, P>& y, const detail::tvec3<T, P>& a){return mix(x, y, a);} //!< \br… in lerp()
71 … P>& x, const detail::tvec4<T, P>& y, const detail::tvec4<T, P>& a){return mix(x, y, a);} //!< \br… in lerp()
73 …:tquat<T, P> const & x, detail::tquat<T, P> const & y, T const & a){return mix(x, y, a);} //!< \br… in slerp()
/external/clang/test/CodeGen/
Dpragma-weak.c96 void mix(void);
97 #pragma weak mix macro
98 __attribute((weak)) void mix(void) { } in mix() function
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/
DCrossHatch.frag46 vec4 lineColor = mix(m_LineColor, texVal, m_ColorInfluenceLine);
48 vec4 paperColor = mix(m_PaperColor, texVal, m_ColorInfluencePaper);
50 gl_FragColor = mix(paperColor, lineColor, linePixel);
DCrossHatch15.frag48 vec4 lineColor = mix(m_LineColor, texVal, m_ColorInfluenceLine);
50 vec4 paperColor = mix(m_PaperColor, texVal, m_ColorInfluencePaper);
52 gl_FragColor = mix(paperColor, lineColor, linePixel);
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/
DWater15.frag168 …refraction = mix(mix(refraction, m_DeepWaterColor.rgb * waterCol, m_WaterTransparency), m_WaterCo…
202 color =mix(m_DeepWaterColor.rgb,refraction,fogFactor);
212 caustics=saturate(mix(m_WaterColor.rgb,caustics,m_CausticsIntensity));
213 color=mix(color2,caustics,m_CausticsIntensity);
222 color =mix(m_DeepWaterColor.rgb,color,fogFactor);
358 refraction = mix(mix(refraction, m_WaterColor.rgb * waterCol, saturate(depthN / visibility)),
372 …foam = mix((texture2D(m_FoamMap, texC) + texture2D(m_FoamMap, texCoord2)) * m_FoamIntensity , vec4…
395 color = mix(refraction, reflection, fresnel);
396 color = mix(refraction, color, saturate(depth * m_ShoreHardness));
398 color = mix(refraction, color, saturate(depth* m_FoamHardness));
[all …]
DWater.frag166 …refraction = mix(mix(refraction, m_DeepWaterColor.rgb * waterCol, m_WaterTransparency), m_WaterCo…
200 color =mix(m_DeepWaterColor.rgb,refraction,fogFactor);
210 caustics=saturate(mix(m_WaterColor.rgb,caustics,m_CausticsIntensity));
211 color=mix(color2,caustics,m_CausticsIntensity);
220 color =mix(m_DeepWaterColor.rgb,color,fogFactor);
352 refraction = mix(mix(refraction, m_WaterColor.rgb * waterCol, saturate(depthN / visibility)),
363 …foam = mix((texture2D(m_FoamMap, texC) + texture2D(m_FoamMap, texCoord2)) * m_FoamIntensity, vec4(…
385 color = mix(refraction, reflection, fresnel);
386 color = mix(refraction, color, saturate(depth * m_ShoreHardness));
388 color = mix(refraction, color, saturate(depth* m_FoamHardness));
/external/ceres-solver/internal/ceres/
Dcollections_port.cc35 mix(num, b, c); in Hash32NumWithSeed()
41 mix(num, b, c); in Hash64NumWithSeed()
/external/regex-re2/util/
Dhash.cc89 #define mix(a,b,c) \ macro
166 mix(a,b,c); in hashword()
212 mix(a,b,c); in hashword2()
/external/toybox/toys/posix/
Dps.c1171 } plist[2], *plold, *plnew, old, new, mix; in top_common() local
1211 mix.tb = xmalloc((old.count+new.count)*sizeof(struct carveup)); in top_common()
1212 mix.count = 0; in top_common()
1226 if (!old.count || *otb->slot > *ntb->slot) mix.tb[mix.count] = ntb; in top_common()
1230 mix.tb[mix.count] = otb; in top_common()
1231 mix.count++; in top_common()
1245 qsort(mix.tb, mix.count, sizeof(struct carveup *), (void *)ksort); in top_common()
1264 for (i = 0; i<mix.count; i++) in top_common()
1265 run[1+stridx("RSTZ", *string_field(mix.tb[i], &alluc))]++; in top_common()
1269 "%4ld zombie", mix.count, run[1], run[2], run[3], run[4]); in top_common()
[all …]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/
DPerturbFilter.java81 float c0 = ShaderUtils.mix(c00, c01, noisex); in filter()
82 float c1 = ShaderUtils.mix(c10, c11, noisex); in filter()
83 retval[y * workSize + x] = ShaderUtils.mix(c0, c1, noisey); in filter()
/external/elfutils/libdwfl/
Ddwfl_segment_report_module.c173 for (size_t mix = 0; mix < count; mix++) in handle_file_note() local
181 firstix = lastix = mix; in handle_file_note()
183 lastix = mix; in handle_file_note()
191 for (ssize_t mix = 0; mix <= lastix; mix++) in handle_file_note() local
196 if (mix == firstix) in handle_file_note()
198 if (firstix < mix && mix <= lastix && strcmp (fptr, retval) != 0) in handle_file_note()
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Hdr/
DToneMap.frag17 float lerpedLum = mix(avgLumA, avgLumB, m_BlendFactor);
26 //vec3 final = mix(c2, c1, clamp(l1, 0.0, 1.0));
/external/vulkan-validation-layers/libs/glm/detail/
Dfunc_common.hpp262 GLM_FUNC_DECL vecType<T, P> mix(
268 GLM_FUNC_DECL vecType<T, P> mix(
274 GLM_FUNC_DECL genTypeT mix(
/external/deqp/framework/referencerenderer/
DrrRenderer.cpp249 …const ClipVec4 clippedV0 = tcu::mix(v0, v1, ComponentPlane<+1, CompNdx>().clipLineSegmentEnd(v0, … in getLineIntersectionPoint()
250 …const ClipVec4 clippedV1 = tcu::mix(v0, v1, ComponentPlane<-1, CompNdx>().clipLineSegmentEnd(v0, … in getLineIntersectionPoint()
255 return tcu::mix(clippedV0, clippedV1, clipRatio); in getLineIntersectionPoint()
259 return tcu::mix(clippedV1, clippedV0, complementClipRatio); in getLineIntersectionPoint()
297 const ClipVec4 approximatedClipPoint = tcu::mix(inside.position, outside.position, hitDist); in clipTriangleOneVertex()
301 middle.weight[0] = tcu::mix(inside.weight[0], outside.weight[0], hitDist); in clipTriangleOneVertex()
302 middle.weight[1] = tcu::mix(inside.weight[1], outside.weight[1], hitDist); in clipTriangleOneVertex()
303 middle.weight[2] = tcu::mix(inside.weight[2], outside.weight[2], hitDist); in clipTriangleOneVertex()
321 const ClipVec4 approximatedClipPoint = tcu::mix(inside.position, outside.position, hitDist); in clipTriangleOneVertex()
325 middle.weight[0] = tcu::mix(inside.weight[0], outside.weight[0], hitDist); in clipTriangleOneVertex()
[all …]
/external/llvm/include/llvm/ADT/
DHashing.h272 state.mix(s); in create()
291 void mix(const char *s) { in mix() function
432 state.mix(buffer);
461 state.mix(s_begin);
465 state.mix(s_end - 64);
535 state.mix(buffer);
582 state.mix(buffer);
/external/libgdx/tests/gdx-tests-android/assets/data/g3d/shaders/
Dlights.glsl117 return squaredNormal.x * mix(u_ambientCubemap[0], u_ambientCubemap[1], isPositive.x) +
118 squaredNormal.y * mix(u_ambientCubemap[2], u_ambientCubemap[3], isPositive.y) +
119 squaredNormal.z * mix(u_ambientCubemap[4], u_ambientCubemap[5], isPositive.z);
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/
DShadow.glsllib80 float xb0 = mix(s_00, s_10, clamp(bl.x, 0.0, 1.0));
81 float xb1 = mix(s_01, s_11, clamp(bl.x, 0.0, 1.0));
82 float yb = mix(xb0, xb1, clamp(bl.y, 0.0, 1.0));
/external/mesa3d/src/glsl/builtins/profiles/
D100.glsl152 float mix(float x, float y, float a);
153 vec2 mix(vec2 x, vec2 y, vec2 a);
154 vec3 mix(vec3 x, vec3 y, vec3 a);
155 vec4 mix(vec4 x, vec4 y, vec4 a);
157 vec2 mix(vec2 x, vec2 y, float a);
158 vec3 mix(vec3 x, vec3 y, float a);
159 vec4 mix(vec4 x, vec4 y, float a);
D110.glsl152 float mix(float x, float y, float a);
153 vec2 mix(vec2 x, vec2 y, vec2 a);
154 vec3 mix(vec3 x, vec3 y, vec3 a);
155 vec4 mix(vec4 x, vec4 y, vec4 a);
157 vec2 mix(vec2 x, vec2 y, float a);
158 vec3 mix(vec3 x, vec3 y, float a);
159 vec4 mix(vec4 x, vec4 y, float a);
D120.glsl152 float mix(float x, float y, float a);
153 vec2 mix(vec2 x, vec2 y, vec2 a);
154 vec3 mix(vec3 x, vec3 y, vec3 a);
155 vec4 mix(vec4 x, vec4 y, vec4 a);
157 vec2 mix(vec2 x, vec2 y, float a);
158 vec3 mix(vec3 x, vec3 y, float a);
159 vec4 mix(vec4 x, vec4 y, float a);
/external/llvm/test/Object/
Dmri5.test2 ; CHECK: Cannot mix -M and other options.
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/SSAO/
Dssao15.frag27 float x = mix(-m_FrustumCorner.x, m_FrustumCorner.x, uv.x);
28 float y = mix(-m_FrustumCorner.y, m_FrustumCorner.y, uv.y);

123456789