Home
last modified time | relevance | path

Searched refs:saturate (Results 1 – 25 of 133) sorted by relevance

123456

/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/
DWater.frag94 float saturate(in float val){
98 vec3 saturate(in vec3 val){
113 float angle = 1.0 - saturate(dot(normal, eyeVec));
117 return saturate(fresnel * (1.0 - saturate(m_R0)) + m_R0 - m_RefractionStrength);
165 float waterCol = saturate(length(m_LightColor.rgb) / m_SunScale);
175saturate((level - (m_WaterHeight + m_FoamExistence.z)) / (m_MaxAmplitude - m_FoamExistence.z))).rg…
191 float dotSpec = saturate(dot(mirrorEye.xyz, -lightDir) * 0.5 + 0.5);
192 …specular = vec3((1.0 - fresnel) * saturate(-lightDir.y) * ((pow(dotSpec, 512.0)) * (m_Shininess * …
193 specular += specular * 25.0 * saturate(m_Shininess - 0.05);
202 color = saturate(color + max(specular, foam ));
[all …]
DWater15.frag91 float saturate(in float val){
95 vec3 saturate(in vec3 val){
113 return saturate(fresnel * (1.0 - saturate(m_R0)) + m_R0 - m_RefractionStrength);
167 float waterCol = saturate(length(m_LightColor.rgb) / m_SunScale);
177saturate((level - (m_WaterHeight + m_FoamExistence.z)) / (m_MaxAmplitude - m_FoamExistence.z))).rg…
193 float dotSpec = saturate(dot(mirrorEye.xyz, -lightDir) * 0.5 + 0.5);
194 …specular = vec3((1.0 - fresnel) * saturate(-lightDir.y) * ((pow(dotSpec, 512.0)) * (m_Shininess * …
195 specular += specular * 25.0 * saturate(m_Shininess - 0.05);
204 color = saturate(color + max(specular, foam ));
212 caustics=saturate(mix(m_WaterColor.rgb,caustics,m_CausticsIntensity));
[all …]
/external/sonivox/arm-hybrid-22k/lib_src/
DARM-E_mastergain_gnu.s80 MOVGT r4, r6 @saturate
82 MVNLT r4, r6 @saturate
89 MOVGT r5, r6 @saturate
91 MVNLT r5, r6 @saturate
/external/sonivox/arm-wt-22k/lib_src/
DARM-E_mastergain_gnu.s80 MOVGT r4, r6 @saturate
82 MVNLT r4, r6 @saturate
89 MOVGT r5, r6 @saturate
91 MVNLT r5, r6 @saturate
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_bld_blend_aos.c77 LLVMValueRef saturate; member
108 if(!bld->saturate) in lp_build_blend_factor_unswizzled()
109 bld->saturate = lp_build_min(&bld->base, bld->src, bld->inv_dst); in lp_build_blend_factor_unswizzled()
110 return bld->saturate; in lp_build_blend_factor_unswizzled()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend_aos.c77 LLVMValueRef saturate; member
108 if(!bld->saturate) in lp_build_blend_factor_unswizzled()
109 bld->saturate = lp_build_min(&bld->base, bld->src, bld->inv_dst); in lp_build_blend_factor_unswizzled()
110 return bld->saturate; in lp_build_blend_factor_unswizzled()
/external/libgsm/src/
Dadd.c20 #define saturate(x) \ macro
26 return saturate(sum);
32 return saturate(diff);
/external/opencv/otherlibs/highgui/
Dgrfmt_jpeg.cpp1188 data1[x*3] = data1[x*3 + 1] = data1[x*3 + 2] = saturate( val ); in ProcessScan()
1196 data1[x] = saturate( val ); in ProcessScan()
1218 data1[x*3] = saturate(t); in ProcessScan()
1220 data1[x*3 + 1] = saturate(t); in ProcessScan()
1222 data1[x*3 + 2] = saturate(t); in ProcessScan()
1233 data1[x*3] = saturate(t); in ProcessScan()
1235 data1[x*3 + 1] = saturate(t); in ProcessScan()
1237 data1[x*3 + 2] = saturate(t); in ProcessScan()
1240 data1[x*3 + 3] = saturate(t); in ProcessScan()
1242 data1[x*3 + 4] = saturate(t); in ProcessScan()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_cse.cpp107 inst->saturate == entry->generator->saturate && in opt_cse_local()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_fs_cse.cpp107 inst->saturate == entry->generator->saturate && in opt_cse_local()
/external/libvpx/libvpx/vp8/common/x86/
Didctllm_mmx.asm260 packuswb mm1, mm0 ; pack and unpack to saturate
265 packuswb mm2, mm0 ; pack and unpack to saturate
269 packuswb mm3, mm0 ; pack and unpack to saturate
273 packuswb mm4, mm0 ; pack and unpack to saturate
/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dprogramopt.h37 GLboolean saturate);
/external/mesa3d/src/mesa/program/
Dprogramopt.h37 GLboolean saturate);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
Dd3d11gears.hlsl69 float diffuse_c = saturate(dot(nnormal, nlight));
70 …float specular_c = pow(saturate(dot(nnormal, normalize(normalize(input.eye) + nlight))), specular_…
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
Dd3d11gears.hlsl69 float diffuse_c = saturate(dot(nnormal, nlight));
70 …float specular_c = pow(saturate(dot(nnormal, normalize(normalize(input.eye) + nlight))), specular_…
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DDynamicsCompressorKernel.cpp113 float DynamicsCompressorKernel::saturate(float x, float k) in saturate() function in WebCore::DynamicsCompressorKernel
234 float fullRangeGain = saturate(1, k); in process()
395 float shapedInput = saturate(absInput, k); in process()
DDynamicsCompressorKernel.h101 float saturate(float x, float k);
/external/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c147 static unsigned translate_saturate(unsigned saturate) in translate_saturate() argument
149 switch(saturate) { in translate_saturate()
151 fprintf(stderr, "Unknown saturate mode: %i\n", saturate); in translate_saturate()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c147 static unsigned translate_saturate(unsigned saturate) in translate_saturate() argument
149 switch(saturate) { in translate_saturate()
151 fprintf(stderr, "Unknown saturate mode: %i\n", saturate); in translate_saturate()
/external/libvpx/libvpx/vp8/common/arm/neon/
Dbilinearpredict8x8_neon.asm62 vqrshrn.u16 d22, q6, #7 ;shift/round/saturate to u8
91 vqrshrn.u16 d26, q6, #7 ;shift/round/saturate to u8
129 vqrshrn.u16 d2, q1, #7 ;shift/round/saturate to u8
Dbilinearpredict16x16_neon.asm93 vqrshrn.u16 d14, q7, #7 ;shift/round/saturate to u8
155 vqrshrn.u16 d10, q9, #7 ;shift/round/saturate to u8
209 vqrshrn.u16 d2, q1, #7 ;shift/round/saturate to u8
278 vqrshrn.u16 d14, q7, #7 ;shift/round/saturate to u8
331 vqrshrn.u16 d2, q1, #7 ;shift/round/saturate to u8
Dbilinearpredict4x4_neon.asm65 vqrshrn.u16 d28, q7, #7 ;shift/round/saturate to u8
93 vqrshrn.u16 d2, q1, #7 ;shift/round/saturate to u8
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_emit_nvc0.cpp450 if (i->saturate) in emitFMAD()
455 assert(!i->saturate && !i->src(2).mod.neg()); in emitFMAD()
483 if (i->saturate) in emitFMUL()
492 assert(!neg && !i->saturate && !i->ftz && !i->postFactor); in emitFMUL()
525 assert(!i->saturate); in emitFADD()
539 if (i->saturate) in emitFADD()
548 assert(!i->saturate && i->op != OP_SUB && in emitFADD()
588 if (i->saturate) in emitUADD()
611 code[1] |= i->saturate << 24; in emitIMAD()
731 if (i->saturate) code[0] |= 1 << 5; in emitSFnOp()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_emit_nvc0.cpp450 if (i->saturate) in emitFMAD()
455 assert(!i->saturate && !i->src(2).mod.neg()); in emitFMAD()
483 if (i->saturate) in emitFMUL()
492 assert(!neg && !i->saturate && !i->ftz && !i->postFactor); in emitFMUL()
525 assert(!i->saturate); in emitFADD()
539 if (i->saturate) in emitFADD()
548 assert(!i->saturate && i->op != OP_SUB && in emitFADD()
588 if (i->saturate) in emitUADD()
611 code[1] |= i->saturate << 24; in emitIMAD()
731 if (i->saturate) code[0] |= 1 << 5; in emitSFnOp()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
Dtgsi_text.c831 unsigned *saturate, in match_inst() argument
839 *saturate = TGSI_SAT_NONE; in match_inst()
847 *saturate = TGSI_SAT_ZERO_ONE; in match_inst()
853 *saturate = TGSI_SAT_MINUS_PLUS_ONE; in match_inst()
867 uint saturate = TGSI_SAT_NONE; in parse_instruction() local
919 if (match_inst(&cur, &saturate, info)) { in parse_instruction()
939 inst.Instruction.Saturate = saturate; in parse_instruction()

123456