Home
last modified time | relevance | path

Searched refs:bias (Results 1 – 25 of 262) sorted by relevance

1234567891011

/external/mesa3d/src/glsl/builtins/profiles/
D140.frag2 /* texture - bias variants */
3 vec4 texture( sampler1D sampler, float P, float bias);
4 ivec4 texture(isampler1D sampler, float P, float bias);
5 uvec4 texture(usampler1D sampler, float P, float bias);
7 vec4 texture( sampler2D sampler, vec2 P, float bias);
8 ivec4 texture(isampler2D sampler, vec2 P, float bias);
9 uvec4 texture(usampler2D sampler, vec2 P, float bias);
11 vec4 texture( sampler3D sampler, vec3 P, float bias);
12 ivec4 texture(isampler3D sampler, vec3 P, float bias);
13 uvec4 texture(usampler3D sampler, vec3 P, float bias);
[all …]
D130.frag3 /* texture - bias variants */
4 vec4 texture( sampler1D sampler, float P, float bias);
5 ivec4 texture(isampler1D sampler, float P, float bias);
6 uvec4 texture(usampler1D sampler, float P, float bias);
8 vec4 texture( sampler2D sampler, vec2 P, float bias);
9 ivec4 texture(isampler2D sampler, vec2 P, float bias);
10 uvec4 texture(usampler2D sampler, vec2 P, float bias);
12 vec4 texture( sampler3D sampler, vec3 P, float bias);
13 ivec4 texture(isampler3D sampler, vec3 P, float bias);
14 uvec4 texture(usampler3D sampler, vec3 P, float bias);
[all …]
D110.frag4 * "The bias parameter is not accepted in a vertex shader."
6 vec4 texture1D (sampler1D sampler, float coord, float bias);
7 vec4 texture1DProj (sampler1D sampler, vec2 coord, float bias);
8 vec4 texture1DProj (sampler1D sampler, vec4 coord, float bias);
10 vec4 texture2D (sampler2D sampler, vec2 coord, float bias);
11 vec4 texture2DProj (sampler2D sampler, vec3 coord, float bias);
12 vec4 texture2DProj (sampler2D sampler, vec4 coord, float bias);
14 vec4 texture3D (sampler3D sampler, vec3 coord, float bias);
15 vec4 texture3DProj (sampler3D sampler, vec4 coord, float bias);
17 vec4 textureCube (samplerCube sampler, vec3 coord, float bias);
[all …]
D120.frag5 vec4 texture1D (sampler1D sampler, float coord, float bias);
6 vec4 texture1DProj (sampler1D sampler, vec2 coord, float bias);
7 vec4 texture1DProj (sampler1D sampler, vec4 coord, float bias);
9 vec4 texture2D (sampler2D sampler, vec2 coord, float bias);
10 vec4 texture2DProj (sampler2D sampler, vec3 coord, float bias);
11 vec4 texture2DProj (sampler2D sampler, vec4 coord, float bias);
13 vec4 texture3D (sampler3D sampler, vec3 coord, float bias);
14 vec4 texture3DProj (sampler3D sampler, vec4 coord, float bias);
16 vec4 textureCube (samplerCube sampler, vec3 coord, float bias);
18 vec4 shadow1D (sampler1DShadow sampler, vec3 coord, float bias);
[all …]
D100.frag2 vec4 texture2D (sampler2D sampler, vec2 coord, float bias);
3 vec4 texture2DProj (sampler2D sampler, vec3 coord, float bias);
4 vec4 texture2DProj (sampler2D sampler, vec4 coord, float bias);
6 vec4 textureCube (samplerCube sampler, vec3 coord, float bias);
/external/deqp/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp63 …rfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) in renderReference() argument
86 … float r = projectedTriInterpolate(triR[triNdx], triW[triNdx], triNx, triNy) * scale[0] + bias[0]; in renderReference()
87 … float g = projectedTriInterpolate(triG[triNdx], triW[triNdx], triNx, triNy) * scale[1] + bias[1]; in renderReference()
88 … float b = projectedTriInterpolate(triB[triNdx], triW[triNdx], triNx, triNy) * scale[2] + bias[2]; in renderReference()
212 tcu::Vec3 bias = -1.0f*m_min*scale; in iterate() local
215 (0.0f - bias[0])/scale[0], (0.5f - bias[1])/scale[1], (1.0f - bias[2])/scale[2], in iterate()
216 (0.5f - bias[0])/scale[0], (1.0f - bias[1])/scale[1], (0.5f - bias[2])/scale[2], in iterate()
217 (0.5f - bias[0])/scale[0], (0.0f - bias[1])/scale[1], (0.5f - bias[2])/scale[2], in iterate()
218 (1.0f - bias[0])/scale[0], (0.5f - bias[1])/scale[1], (0.0f - bias[2])/scale[2] in iterate()
221 …g::Message << "a_coords = " << ((tcu::Vec3(0.0f) - bias)/scale) << " -> " << ((tcu::Vec3(1.0f) - b… in iterate()
[all …]
/external/deqp/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp66 …rfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) in renderReference() argument
89 … float r = projectedTriInterpolate(triR[triNdx], triW[triNdx], triNx, triNy) * scale[0] + bias[0]; in renderReference()
90 … float g = projectedTriInterpolate(triG[triNdx], triW[triNdx], triNx, triNy) * scale[1] + bias[1]; in renderReference()
91 … float b = projectedTriInterpolate(triB[triNdx], triW[triNdx], triNx, triNy) * scale[2] + bias[2]; in renderReference()
219 tcu::Vec3 bias = -1.0f*m_min*scale; in iterate() local
222 (0.0f - bias[0])/scale[0], (0.5f - bias[1])/scale[1], (1.0f - bias[2])/scale[2], in iterate()
223 (0.5f - bias[0])/scale[0], (1.0f - bias[1])/scale[1], (0.5f - bias[2])/scale[2], in iterate()
224 (0.5f - bias[0])/scale[0], (0.0f - bias[1])/scale[1], (0.5f - bias[2])/scale[2], in iterate()
225 (1.0f - bias[0])/scale[0], (0.5f - bias[1])/scale[1], (0.0f - bias[2])/scale[2] in iterate()
228 …g::Message << "a_coords = " << ((tcu::Vec3(0.0f) - bias)/scale) << " -> " << ((tcu::Vec3(1.0f) - b… in iterate()
[all …]
/external/elfutils/src/libdwfl/
Ddwfl_report_elf.c59 GElf_Addr start = 0, end = 0, bias = 0; in __libdwfl_elf_address_range() local
86 || (bias == 0 && end > start && end != next)) in __libdwfl_elf_address_range()
139 if (first || bias > shdr->sh_addr) in __libdwfl_elf_address_range()
141 bias = shdr->sh_addr; in __libdwfl_elf_address_range()
143 if ((shdr->sh_addr - bias + base) & (align - 1)) in __libdwfl_elf_address_range()
148 + (bias & (align - 1))); in __libdwfl_elf_address_range()
155 if (bias != 0) in __libdwfl_elf_address_range()
161 end = end - bias + start; in __libdwfl_elf_address_range()
162 bias = start - bias; in __libdwfl_elf_address_range()
194 bias = base; in __libdwfl_elf_address_range()
[all …]
Dlibdwfl.h139 const GElf_Phdr *phdr, GElf_Addr bias,
423 extern Elf *dwfl_module_getelf (Dwfl_Module *, GElf_Addr *bias)
476 Elf **elfp, Dwarf_Addr *bias)
504 Dwarf_Addr *bias)
526 Dwarf_Addr *bias)
535 extern Dwarf *dwfl_module_getdwarf (Dwfl_Module *, Dwarf_Addr *bias)
547 extern Dwarf *dwfl_addrdwarf (Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Addr *bias)
552 extern Dwarf_Die *dwfl_addrdie (Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Addr *bias)
555 Dwarf_Addr addr, Dwarf_Addr *bias)
559 extern Dwarf_Die *dwfl_nextcu (Dwfl *dwfl, Dwarf_Die *lastcu, Dwarf_Addr *bias)
[all …]
Ddwfl_module_eh_cfi.c33 dwfl_module_eh_cfi (mod, bias) in dwfl_module_eh_cfi() argument
35 Dwarf_Addr *bias;
42 *bias = dwfl_adjusted_address (mod, 0);
53 *bias = dwfl_adjusted_address (mod, 0);
Ddwfl_module_dwarf_cfi.c54 dwfl_module_dwarf_cfi (mod, bias) in dwfl_module_dwarf_cfi() argument
56 Dwarf_Addr *bias;
63 *bias = dwfl_adjusted_dwarf_addr (mod, 0);
69 (INTUSE(dwfl_module_getdwarf) (mod, bias)));
/external/icu/icu4c/source/test/intltest/
Dpunyref.c133 punycode_uint n, delta, h, b, out, max_out, bias, j, m, q, k, t; in punycode_encode() local
140 bias = initial_bias; in punycode_encode()
192 t = k <= bias /* + tmin */ ? tmin : /* +tmin not needed */ in punycode_encode()
193 k >= bias + tmax ? tmax : k - bias; in punycode_encode()
200 bias = adapt(delta, h + 1, h == b); in punycode_encode()
222 punycode_uint n, out, i, max_out, bias, in punycode_decode() local
230 bias = initial_bias; in punycode_decode()
264 t = k <= bias /* + tmin */ ? tmin : /* +tmin not needed */ in punycode_decode()
265 k >= bias + tmax ? tmax : k - bias; in punycode_decode()
271 bias = adapt(i - oldi, out + 1, oldi == 0); in punycode_decode()
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/ssao/
DSSAOFilter.java70 private float bias = 0.1f; field in SSAOFilter
93 public SSAOFilter(float sampleRadius, float intensity, float scale, float bias) { in SSAOFilter() argument
98 this.bias = bias; in SSAOFilter()
170 ssaoMat.setFloat("Bias", bias); in initFilter()
192 return bias; in getBias()
199 public void setBias(float bias) { in setBias() argument
200 this.bias = bias; in setBias()
202 ssaoMat.setFloat("Bias", bias); in setBias()
312 oc.write(bias, "bias", 0.1f); in write()
322 bias = ic.readFloat("bias", 0.1f); in read()
/external/elfutils/src/tests/
Daddrcfi.c51 print_detail (int result, const Dwarf_Op *ops, size_t nops, Dwarf_Addr bias) in print_detail() argument
66 printf ("(%#" PRIx64 ")", ops[i].number + bias); in print_detail()
81 Dwarf_Addr bias; member
101 print_detail (result, ops, nops, stuff->bias); in print_register()
116 int result = dwarf_cfi_addrframe (cfi, pc - stuff->bias, &stuff->frame); in handle_cfi()
129 start += stuff->bias; in handle_cfi()
130 end += stuff->bias; in handle_cfi()
151 print_detail (result, cfa_ops, cfa_nops, stuff->bias); in handle_cfi()
166 dwfl_module_eh_cfi (mod, &stuff.bias), pc, &stuff) in handle_address()
168 dwfl_module_dwarf_cfi (mod, &stuff.bias), pc, &stuff)); in handle_address()
/external/elfutils/include/elfutils/
Dlibdwfl.h139 const GElf_Phdr *phdr, GElf_Addr bias,
423 extern Elf *dwfl_module_getelf (Dwfl_Module *, GElf_Addr *bias)
476 Elf **elfp, Dwarf_Addr *bias)
504 Dwarf_Addr *bias)
526 Dwarf_Addr *bias)
535 extern Dwarf *dwfl_module_getdwarf (Dwfl_Module *, Dwarf_Addr *bias)
547 extern Dwarf *dwfl_addrdwarf (Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Addr *bias)
552 extern Dwarf_Die *dwfl_addrdie (Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Addr *bias)
555 Dwarf_Addr addr, Dwarf_Addr *bias)
559 extern Dwarf_Die *dwfl_nextcu (Dwfl *dwfl, Dwarf_Die *lastcu, Dwarf_Addr *bias)
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_wide_line.c84 const float bias = gl_rasterization_rules ? 0.125f : 0.0f; in wideline_line() local
94 pos0[1] = pos0[1] - half_width - bias; in wideline_line()
95 pos1[1] = pos1[1] + half_width - bias; in wideline_line()
96 pos2[1] = pos2[1] - half_width - bias; in wideline_line()
97 pos3[1] = pos3[1] + half_width - bias; in wideline_line()
117 pos0[0] = pos0[0] - half_width + bias; in wideline_line()
118 pos1[0] = pos1[0] + half_width + bias; in wideline_line()
119 pos2[0] = pos2[0] - half_width + bias; in wideline_line()
120 pos3[0] = pos3[0] + half_width + bias; in wideline_line()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java140 int delta, h, b, out, max_out, bias, j, q, k, t; in encode() local
147 bias = initial_bias; in encode()
199 t = k <= bias /* + tmin */ ? tmin : /* +tmin not needed */ in encode()
200 k >= bias + tmax ? tmax : k - bias; in encode()
207 bias = adapt(delta, h + 1, (h == b)); in encode()
300 int n, out, i, max_out, bias, in decode() local
308 bias = initial_bias; in decode()
346 t = (k <= bias) /* + tmin */ ? tmin : /* +tmin not needed */ in decode()
347 (k >= (bias + tmax)) ? tmax : k - bias; in decode()
353 bias = adapt(i - oldi, out + 1, (oldi == 0)); in decode()
/external/skia/src/core/
DSkFloatBits.cpp186 int bias = 8 - SkCLZ(value); in SkIntToFloatCast() local
187 SkDebugf("value = %d, bias = %d\n", value, bias); in SkIntToFloatCast()
188 SkASSERT(bias > 0 && bias < 8); in SkIntToFloatCast()
189 value >>= bias; // need to round? in SkIntToFloatCast()
190 shift += bias; in SkIntToFloatCast()
/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.h26 SkScalar bias, in Create() argument
35 bias, in Create()
45 SkScalar bias,
59 float bias() const { return fBias; } in bias() function
75 SkScalar bias,
DGrMatrixConvolutionEffect.cpp73 const char* bias = builder->getUniformCStr(fBiasUni); in emitCode() local
99 fsBuilder->codeAppendf("%s = sum * %s + %s;", outputColor, gain, bias); in emitCode()
105 fsBuilder->codeAppendf("%s.rgb = sum.rgb * %s + %s;", outputColor, gain, bias); in emitCode()
138 pdman.set1f(fBiasUni, conv.bias()); in setData()
147 SkScalar bias, in GrMatrixConvolutionEffect() argument
154 fBias(SkScalarToFloat(bias) / 255.0f), in GrMatrixConvolutionEffect()
183 fBias == s.bias() && in onIsEqual()
195 SkScalar bias, in CreateGaussian() argument
232 bias, in CreateGaussian()
254 SkScalar bias = random->nextSScalar1(); in TestCreate() local
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPunycode.java131 int n, delta, handledCPCount, basicLength, bias, j, m, q, k, t, srcCPCount; in encode() local
178 bias=INITIAL_BIAS; in encode()
222 t=k-bias; in encode()
225 } else if(k>=(bias+TMAX)) { in encode()
238 bias=adaptBias(delta, handledCPCount+1,(handledCPCount==basicLength)); in encode()
274 int n, i, bias, basicLength, j, in, oldi, w, k, digit, t, in decode() local
308 bias=INITIAL_BIAS; in decode()
341 t=k-bias; in decode()
344 } else if(k>=(bias+TMAX)) { in decode()
364 bias=adaptBias(i-oldi, destCPCount, (oldi==0)); in decode()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_picklpf.c83 int bias = (best_err >> (15 - (filt_mid / 8))) * filter_step; in search_filter_level() local
86 bias = (bias * cpi->twopass.section_intra_rating) / 20; in search_filter_level()
90 bias >>= 1; in search_filter_level()
102 if ((filt_err - bias) < best_err) { in search_filter_level()
120 if (filt_err < (best_err - bias)) { in search_filter_level()
/external/llvm/test/CodeGen/SystemZ/
Dfp-move-02.ll262 %bias = call i64 @foo()
263 %add0 = add i64 %int0, %bias
264 %add1 = add i64 %int1, %bias
265 %add2 = add i64 %int2, %bias
266 %add3 = add i64 %int3, %bias
267 %add4 = add i64 %int4, %bias
268 %add5 = add i64 %int5, %bias
269 %add6 = add i64 %int6, %bias
270 %add7 = add i64 %int7, %bias
271 %add8 = add i64 %int8, %bias
[all …]
/external/icu/icu4c/source/common/
Dpunycode.cpp188 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount; in u_strToPunycode() local
294 bias=INITIAL_BIAS; in u_strToPunycode()
339 t=k-bias; in u_strToPunycode()
342 } else if(k>=(bias+TMAX)) { in u_strToPunycode()
361 bias=adaptBias(delta, handledCPCount+1, (UBool)(handledCPCount==basicLength)); in u_strToPunycode()
379 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, in u_strFromPunycode() local
432 bias=INITIAL_BIAS; in u_strFromPunycode()
476 t=k-bias; in u_strFromPunycode()
479 } else if(k>=(bias+TMAX)) { in u_strFromPunycode()
500 bias=adaptBias(i-oldi, destCPCount, (UBool)(oldi==0)); in u_strFromPunycode()
/external/icu/icu4c/source/i18n/
Dwintzimpl.cpp36 …imeZone *tz, SYSTEMTIME &daylightDate, SYSTEMTIME &standardDate, int32_t &bias, int32_t &daylightB… in getSystemTimeInformation() argument
46 bias = -1 * (initial->getRawOffset()/60000); in getSystemTimeInformation()
58 bias = -1 * (std->getRawOffset()/60000); in getSystemTimeInformation()
122 int32_t bias; in getWindowsTimeZoneInfo() local
128 … if (getSystemTimeInformation(tz, daylightDate, standardDate, bias, daylightBias, standardBias)) { in getWindowsTimeZoneInfo()
130 zoneInfo->Bias = bias; in getWindowsTimeZoneInfo()

1234567891011