Home
last modified time | relevance | path

Searched refs:interp (Results 1 – 25 of 86) sorted by relevance

1234

/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/
Dmatrix-interpolation.js79 interp = webAnimations1.propertyInterpolation(
83 evaluatedInterp = interp(0.4);
88 evaluatedInterp = interp(0.6);
96 var interp = webAnimations1.propertyInterpolation(
100 var evaluatedInterp = interp(0.5);
106 interp = webAnimations1.propertyInterpolation(
110 evaluatedInterp = interp(0.5);
117 interp = webAnimations1.propertyInterpolation(
121 evaluatedInterp = interp(0.5);
132 interp = webAnimations1.propertyInterpolation(
[all …]
/external/valgrind/coregrind/m_ume/
Dscript.c51 const HChar* interp = script + 2; in VG_() local
59 while (interp < end && (*interp == ' ' || *interp == '\t')) interp++; in VG_()
62 if (interp >= end) return False; // can't find start of interp name in VG_()
65 if (*interp == '\n') return False; in VG_()
77 HChar* interp; in VG_() local
95 interp = hdr + 2; in VG_()
96 while (interp < end && (*interp == ' ' || *interp == '\t')) in VG_()
97 interp++; in VG_()
100 for (cp = interp; cp < end && !VG_(isspace)(*cp); cp++) in VG_()
119 info->interp_name = VG_(strdup)("ume.ls.1", interp); in VG_()
[all …]
Delf.c306 struct elfinfo *interp = NULL; in VG_() local
411 interp = readelf(intfd, buf); in VG_()
412 if (interp == NULL) { in VG_()
419 for (j = 0; j < interp->e.e_phnum; j++) { in VG_()
420 ESZ(Phdr) *iph = &interp->p[j]; in VG_()
510 if (interp != NULL) { in VG_()
552 (void)mapelf(interp, (ESZ(Addr))advised - interp_addr); in VG_()
554 VG_(close)(interp->fd); in VG_()
556 entry = (void *)(advised - interp_addr + interp->e.e_entry); in VG_()
564 VG_(free)(interp->p); in VG_()
[all …]
/external/speex/libspeex/
Dresample.c244 double interp[4]; in compute_func() local
250 interp[3] = -0.1666666667*frac + 0.1666666667*(frac*frac*frac); in compute_func()
251 interp[2] = frac + 0.5*(frac*frac) - 0.5*(frac*frac*frac); in compute_func()
253 interp[0] = -0.3333333333*frac + 0.5*(frac*frac) - 0.1666666667*(frac*frac*frac); in compute_func()
255 interp[1] = 1.f-interp[3]-interp[2]-interp[0]; in compute_func()
258 …return interp[0]*func->table[ind] + interp[1]*func->table[ind+1] + interp[2]*func->table[ind+2] + in compute_func()
303 static void cubic_coef(spx_word16_t x, spx_word16_t interp[4]) in cubic_coef()
310interp[0] = PSHR32(MULT16_16(QCONST16(-0.16667f, 15),x) + MULT16_16(QCONST16(0.16667f, 15),x3),15); in cubic_coef()
311 interp[1] = EXTRACT16(EXTEND32(x) + SHR32(SUB32(EXTEND32(x2),EXTEND32(x3)),1)); in cubic_coef()
312interp[3] = PSHR32(MULT16_16(QCONST16(-0.33333f, 15),x) + MULT16_16(QCONST16(.5f,15),x2) - MULT16_… in cubic_coef()
[all …]
/external/sonivox/arm-wt-22k/lib_src/
Deas_flog.c67 EAS_U32 interp; in EAS_flog2() local
85 interp = (n >> MANTISSA_LSB_SHIFT) & MANTISSA_LSB_MASK; in EAS_flog2()
91 interp = ((eas_log2_table[n+1] - eas_log2_table[n]) * interp) >> INTERPOLATION_SHIFT; in EAS_flog2()
92 exp += eas_log2_table[n] + interp; in EAS_flog2()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.c183 const unsigned interp = bld->interp[attrib]; in coeffs_init_simple() local
191 switch (interp) { in coeffs_init_simple()
274 const unsigned interp = bld->interp[attrib]; in attribs_update_simple() local
285 switch (interp) { in attribs_update_simple()
315 if (interp == LP_INTERP_PERSPECTIVE) { in attribs_update_simple()
388 const unsigned interp = bld->interp[attrib]; in coeffs_init() local
397 switch (interp) { in coeffs_init()
438 if (interp != LP_INTERP_CONSTANT && in coeffs_init()
439 interp != LP_INTERP_FACING) { in coeffs_init()
498 if (interp != LP_INTERP_CONSTANT && in coeffs_init()
[all …]
Dlp_state_fs.c224 struct lp_build_interp_soa_context *interp, in generate_fs() argument
317 lp_build_interp_soa_update_pos(interp, gallivm, i*type.length/4); in generate_fs()
318 z = interp->pos[2]; in generate_fs()
338 lp_build_interp_soa_update_inputs(interp, gallivm, i*type.length/4); in generate_fs()
343 interp->pos, interp->inputs, in generate_fs()
449 struct lp_build_interp_soa_context *interp, in generate_fs_loop() argument
556 lp_build_interp_soa_update_pos_dyn(interp, gallivm, loop_state.counter); in generate_fs_loop()
557 z = interp->pos[2]; in generate_fs_loop()
577 lp_build_interp_soa_update_inputs_dyn(interp, gallivm, loop_state.counter); in generate_fs_loop()
582 interp->pos, interp->inputs, in generate_fs_loop()
[all …]
Dlp_bld_interp.h70 uint interp:4; /* enum lp_interp */ member
86 enum lp_interp interp[1 + PIPE_MAX_SHADER_INPUTS]; member
Dlp_setup_point.c219 enum lp_interp interp = key->inputs[slot].interp; in setup_point_coefficients() local
220 boolean perspective = !!(interp == LP_INTERP_PERSPECTIVE); in setup_point_coefficients()
227 switch (interp) { in setup_point_coefficients()
/external/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.interp.ll13 %p0_0 = call float @llvm.amdgcn.interp.p1(i32 %i, i32 0, i32 0, i32 %3)
14 %p1_0 = call float @llvm.amdgcn.interp.p2(float %p0_0, i32 %j, i32 0, i32 0, i32 %3)
15 %p0_1 = call float @llvm.amdgcn.interp.p1(i32 %i, i32 1, i32 0, i32 %3)
16 %p1_1 = call float @llvm.amdgcn.interp.p2(float %p0_1, i32 %j, i32 1, i32 0, i32 %3)
22 declare float @llvm.amdgcn.interp.p1(i32, i32, i32, i32) #1
25 declare float @llvm.amdgcn.interp.p2(float, i32, i32, i32, i32) #1
Dllvm.SI.fs.interp.ll15 %6 = call float @llvm.SI.fs.interp(i32 0, i32 0, i32 %3, <2 x i32> %4)
16 %7 = call float @llvm.SI.fs.interp(i32 1, i32 0, i32 %3, <2 x i32> %4)
29 %22 = call float @llvm.SI.fs.interp(i32 0, i32 0, i32 %5, <2 x i32> %7)
30 %23 = call float @llvm.SI.fs.interp(i32 1, i32 0, i32 %5, <2 x i32> %7)
31 %24 = call float @llvm.SI.fs.interp(i32 2, i32 0, i32 %5, <2 x i32> %7)
53 declare float @llvm.SI.fs.interp(i32, i32, i32, <2 x i32>) #1
Dsi-sgpr-spill.ll98 %93 = call float @llvm.SI.fs.interp(i32 0, i32 0, i32 %4, <2 x i32> %6)
99 %94 = call float @llvm.SI.fs.interp(i32 1, i32 0, i32 %4, <2 x i32> %6)
100 %95 = call float @llvm.SI.fs.interp(i32 0, i32 1, i32 %4, <2 x i32> %6)
101 %96 = call float @llvm.SI.fs.interp(i32 1, i32 1, i32 %4, <2 x i32> %6)
102 %97 = call float @llvm.SI.fs.interp(i32 2, i32 1, i32 %4, <2 x i32> %6)
103 %98 = call float @llvm.SI.fs.interp(i32 0, i32 2, i32 %4, <2 x i32> %6)
104 %99 = call float @llvm.SI.fs.interp(i32 1, i32 2, i32 %4, <2 x i32> %6)
105 %100 = call float @llvm.SI.fs.interp(i32 2, i32 2, i32 %4, <2 x i32> %6)
106 %101 = call float @llvm.SI.fs.interp(i32 0, i32 3, i32 %4, <2 x i32> %6)
107 %102 = call float @llvm.SI.fs.interp(i32 1, i32 3, i32 %4, <2 x i32> %6)
[all …]
Dsi-lod-bias.ll19 %27 = call float @llvm.SI.fs.interp(i32 0, i32 0, i32 %3, <2 x i32> %5)
20 %28 = call float @llvm.SI.fs.interp(i32 1, i32 0, i32 %3, <2 x i32> %5)
41 declare float @llvm.SI.fs.interp(i32, i32, i32, <2 x i32>) #1
/external/skia/experimental/docs/
DinterpolatorFunctions.js1 function interp(A, B, t) { function
7 var ab = interp(x1, x2, t);
8 var bc = interp(x2, x3, t);
9 var cd = interp(x3, x4, t);
10 var abc = interp(ab, bc, t);
11 var bcd = interp(bc, cd, t);
12 var abcd = interp(abc, bcd, t);
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_derived.c91 enum interp_mode interp = INTERP_LINEAR; in softpipe_get_vertex_info() local
95 interp = INTERP_CONSTANT; in softpipe_get_vertex_info()
98 interp = INTERP_LINEAR; in softpipe_get_vertex_info()
101 interp = INTERP_PERSPECTIVE; in softpipe_get_vertex_info()
112 interp = INTERP_POS; in softpipe_get_vertex_info()
118 interp = INTERP_CONSTANT; in softpipe_get_vertex_info()
120 interp = INTERP_PERSPECTIVE; in softpipe_get_vertex_info()
134 draw_emit_vertex_attr(vinfo, EMIT_4F, interp, src); in softpipe_get_vertex_info()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_clip.c114 static void interp( const struct clip_stage *clip, in interp() function
382 interp( clipper, new_vert, t, vert, vert_prev ); in do_clip_tri()
403 interp( clipper, new_vert, t, vert_prev, vert ); in do_clip_tri()
499 interp( clipper, stage->tmp[0], t0, v0, v1 ); in do_clip_line()
508 interp( clipper, stage->tmp[1], t1, v1, v0 ); in do_clip_line()
622 int interp; in clip_init_state() local
628 interp = indexed_interp[vs->info.output_semantic_index[i]]; in clip_init_state()
634 interp = TGSI_INTERPOLATE_PERSPECTIVE; in clip_init_state()
639 interp = fs->info.input_interpolate[j]; in clip_init_state()
649 if (interp == TGSI_INTERPOLATE_CONSTANT) { in clip_init_state()
[all …]
Ddraw_vertex.h127 enum interp_mode interp, /* only used by softpipe??? */ in draw_emit_vertex_attr() argument
133 vinfo->attrib[n].interp_mode = interp; in draw_emit_vertex_attr()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_emit.c319 struct brw_reg interp[4]; in emit_linterp() local
323 interp[0] = brw_vec1_grf(nr, 0); in emit_linterp()
324 interp[1] = brw_vec1_grf(nr, 4); in emit_linterp()
325 interp[2] = brw_vec1_grf(nr+1, 0); in emit_linterp()
326 interp[3] = brw_vec1_grf(nr+1, 4); in emit_linterp()
331 brw_PLN(p, dst[i], interp[i], brw_vec8_grf(2, 0)); in emit_linterp()
333 brw_PLN(p, dst[i], interp[i], deltas[0]); in emit_linterp()
335 brw_LINE(p, brw_null_reg(), interp[i], deltas[0]); in emit_linterp()
336 brw_MAC(p, dst[i], suboffset(interp[i],1), deltas[1]); in emit_linterp()
351 struct brw_reg interp[4]; in emit_pinterp() local
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_vb_cliptmp.h55 interp( ctx, t, newvert, idx, idxPrev, GL_TRUE ); \
61 interp( ctx, t, newvert, idxPrev, idx, GL_FALSE ); \
122 tnl_interp_func interp = tnl->Driver.Render.Interp; in TAG() local
153 interp( ctx, t0, newvert, v0, v1, GL_FALSE ); in TAG()
167 interp( ctx, t1, newvert, v1, v0_orig, GL_FALSE ); in TAG()
191 tnl_interp_func interp = tnl->Driver.Render.Interp; in TAG() local
271 tnl_interp_func interp = tnl->Driver.Render.Interp; in TAG() local
/external/skia/samplecode/
DClockFaceView.cpp135 static SkPathEffect* makepe(float interp, SkTDArray<SkPoint>* pts) { in makepe() argument
137 SkScalar rad = 3 + SkIntToScalar(4) * (1 - interp); in makepe()
143 static void r7(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p, SkScalar interp) { in r7() argument
144 p.setPathEffect(makepe(SkScalarToFloat(interp), nullptr))->unref(); in r7()
150 p.setAlpha((1 - interp) * 255); in r7()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_vs_draw.c89 unsigned name, unsigned index, unsigned interp, in emit_output() argument
102 decl.Interp.Interpolate = interp; in emit_output()
109 unsigned name, unsigned index, unsigned interp) in insert_output_before() argument
120 emit_output(ctx, name, index, interp, in insert_output_before()
128 unsigned name, unsigned index, unsigned interp) in insert_output_after() argument
139 emit_output(ctx, name, index, interp, in insert_output_after()
/external/mesa3d/src/mesa/main/
Datifragshader.c515 _mesa_SampleMapATI(GLuint dst, GLuint interp, GLenum swizzle) in _mesa_SampleMapATI() argument
540 if (((interp < GL_REG_0_ATI) || (interp > GL_REG_5_ATI)) && in _mesa_SampleMapATI()
541 ((interp < GL_TEXTURE0_ARB) || (interp > GL_TEXTURE7_ARB) || in _mesa_SampleMapATI()
542 ((interp - GL_TEXTURE0_ARB) >= ctx->Const.MaxTextureUnits))) { in _mesa_SampleMapATI()
547 if ((curProg->cur_pass == 0) && (interp >= GL_REG_0_ATI)) { in _mesa_SampleMapATI()
555 if ((swizzle & 1) && (interp >= GL_REG_0_ATI)) { in _mesa_SampleMapATI()
559 if (interp <= GL_TEXTURE7_ARB) { in _mesa_SampleMapATI()
560 GLuint tmp = interp - GL_TEXTURE0_ARB; in _mesa_SampleMapATI()
577 curI->src = interp; in _mesa_SampleMapATI()
582 _mesa_lookup_enum_by_nr(dst), _mesa_lookup_enum_by_nr(interp), in _mesa_SampleMapATI()
/external/skia/src/gpu/text/
DGrDistanceFieldAdjustTable.cpp77 float interp = (127.5f - rowPtr[col]) / (rowPtr[col + 1] - rowPtr[col]); local
78 float borderAlpha = (col + interp) / 255.f;
/external/dng_sdk/source/
Ddng_gain_map.cpp282 dng_gain_map_interpolator interp (*this, in Interpolate() local
288 return interp.Interpolate (); in Interpolate()
572 dng_gain_map_interpolator interp (*fGainMap, in ProcessArea() local
581 real32 gain = interp.Interpolate (); in ProcessArea()
587 interp.Increment (); in ProcessArea()
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dproperty-interpolation.js46 var interp = scope.Interpolation.apply(null, interpolationArgs);
50 return interp(t);

1234