Home
last modified time | relevance | path

Searched refs:scales (Results 1 – 25 of 46) sorted by relevance

12

/external/jmonkeyengine/engine/src/core/com/jme3/animation/
DBoneTrack.java58 private CompactVector3Array scales; field in BoneTrack
87 …rgetBoneIndex, float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) { in BoneTrack() argument
89 this.setKeyframes(times, translations, rotations, scales); in BoneTrack()
120 return scales == null ? null : scales.toObjectArray(); in getScales()
168 …d setKeyframes(float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) { in setKeyframes() argument
170 assert times.length == scales.length; in setKeyframes()
171 if (scales != null) { in setKeyframes()
172 this.scales = new CompactVector3Array(); in setKeyframes()
173 this.scales.add(scales); in setKeyframes()
174 this.scales.freeze(); in setKeyframes()
[all …]
DSpatialTrack.java34 private CompactVector3Array scales; field in SpatialTrack
57 Quaternion[] rotations, Vector3f[] scales) { in SpatialTrack() argument
58 setKeyframes(times, translations, rotations, scales); in SpatialTrack()
84 if (scales != null) { in setTime()
85 scales.get(0, tempS); in setTime()
92 if (scales != null) { in setTime()
93 scales.get(lastFrame, tempS); in setTime()
110 if (scales != null) { in setTime()
111 scales.get(startFrame, tempS); in setTime()
117 if (scales != null) { in setTime()
[all …]
DAnimationFactory.java140 protected Vector3f[] scales; field in AnimationFactory
172 scales = new Vector3f[totalFrames]; in AnimationFactory()
392 SpatialTrack spatialTrack = new SpatialTrack(times, translations, rotations, scales); in buildAnimation()
437scales[j] = FastMath.interpolateLinear(val, (Vector3f) keyFrames[i], (Vector3f) keyFrames[key]); in interpolate()
455 scales[j] = ((Vector3f) keyFrames[i]).clone(); in interpolate()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
DCalculationBone.java27 private Vector3f[] scales; field in CalculationBone
38 this.scales = new Vector3f[boneFramesCount]; in CalculationBone()
42 Arrays.fill(this.scales, 0, boneFramesCount, this.startScale); in CalculationBone()
58 this.scales = track.getScales(); in CalculationBone()
107 if (scales != null) { in rotate()
108 scales[frame].set(this.getLocalScale()); in rotate()
115 track.setKeyframes(track.getTimes(), translations, rotations, scales); in applyCalculatedTracks() local
118 bone.setUserTransforms(translations[0], rotations[0], scales[0]); in applyCalculatedTracks()
DIpo.java139 Vector3f[] scales = new Vector3f[framesAmount + 1]; in calculateTrack() local
226 scales[index] = new Vector3f(scale[0], scale[1], scale[2]); in calculateTrack()
229 calculatedTrack = new SpatialTrack(times, translations, rotations, scales); in calculateTrack()
231 calculatedTrack = new BoneTrack(targetIndex, times, translations, rotations, scales); in calculateTrack()
/external/skia/tests/
DMatrixTest.cpp162 SkScalar scales[2]; in test_matrix_min_max_scale() local
169 success = identity.getMinMaxScales(scales); in test_matrix_min_max_scale()
170 REPORTER_ASSERT(reporter, success && SK_Scalar1 == scales[0] && SK_Scalar1 == scales[1]); in test_matrix_min_max_scale()
176 success = scale.getMinMaxScales(scales); in test_matrix_min_max_scale()
177 … REPORTER_ASSERT(reporter, success && SK_Scalar1 * 2 == scales[0] && SK_Scalar1 * 4 == scales[1]); in test_matrix_min_max_scale()
184 success = rot90Scale.getMinMaxScales(scales); in test_matrix_min_max_scale()
185 … REPORTER_ASSERT(reporter, success && SK_Scalar1 / 4 == scales[0] && SK_Scalar1 / 2 == scales[1]); in test_matrix_min_max_scale()
191 success = rotate.getMinMaxScales(scales); in test_matrix_min_max_scale()
193 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(SK_Scalar1, scales[0], SK_ScalarNearlyZero)); in test_matrix_min_max_scale()
194 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(SK_Scalar1, scales[1], SK_ScalarNearlyZero)); in test_matrix_min_max_scale()
[all …]
/external/skia/gm/
Dimagefiltersscaled.cpp109 SkVector scales[] = { in onDraw() local
122 for (size_t j = 0; j < SK_ARRAY_COUNT(scales); ++j) { in onDraw()
130 canvas->scale(scales[j].fX, scales[j].fY); in onDraw()
139 canvas->translate(r.width() * scales[j].fX + margin, 0); in onDraw()
142 canvas->translate(0, r.height() * scales[j].fY + margin); in onDraw()
Ddftext.cpp52 SkScalar scales[] = { 2.0f*5.0f, 5.0f, 2.0f, 1.0f }; in onDraw() local
89 canvas->scale(scales[i], scales[i]); in onDraw()
92 y += paint.getFontMetrics(NULL)*scales[i]; in onDraw()
118 SkScalar scaleFactor = SkScalarInvert(scales[arraySize - i - 1]); in onDraw()
Dconvex_all_line_paths.cpp267 const float scales[] = { 1.0f, 0.75f, 0.5f, 0.25f, 0.1f, 0.01f, 0.001f }; in drawPath() local
272 for (size_t i = 0; i < SK_ARRAY_COUNT(scales); ++i) { in drawPath()
277 canvas->scale(scales[i], scales[i]); in drawPath()
Dblurrect.cpp116 SkScalar scales[] = { SK_Scalar1, 0.6f }; in onDraw() local
118 for (size_t s = 0; s < SK_ARRAY_COUNT(scales); ++s) { in onDraw()
133 canvas->scale(scales[s], scales[s]); in onDraw()
143 canvas->translate(0, SK_ARRAY_COUNT(procs) * r.height() * 4/3 * scales[s]); in onDraw()
146 canvas->translate(4 * r.width() * 4/3 * scales[s], 0); in onDraw()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DConstraintSizeLike.java64 Vector3f[] scales = track.getScales(); in bakeConstraint() local
65 int maxFrames = scales.length; in bakeConstraint()
67 this.sizeLike(scales[frame], targetScale, ipo.calculateValue(frame)); in bakeConstraint()
69 track.setKeyframes(track.getTimes(), track.getTranslations(), track.getRotations(), scales); in bakeConstraint() local
DConstraintSizeLimit.java83 Vector3f[] scales = track.getScales(); in bakeConstraint() local
84 int maxFrames = scales.length; in bakeConstraint()
86 this.sizeLimit(scales[frame], ipo.calculateValue(frame)); in bakeConstraint()
88 track.setKeyframes(track.getTimes(), track.getTranslations(), track.getRotations(), scales); in bakeConstraint() local
DBlenderTrack.java108 Quaternion[] rotations, Vector3f[] scales) { in setKeyframes() argument
110 boneTrack.setKeyframes(times, translations, rotations, scales); in setKeyframes()
112 spatialTrack.setKeyframes(times, translations, rotations, scales); in setKeyframes()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_aos.c157 LLVMValueRef scales[4]; in lp_build_unpack_arith_rgba_aos() local
201 scales[i] = LLVMConstNull(LLVMFloatTypeInContext(gallivm->context)); in lp_build_unpack_arith_rgba_aos()
216 scales[i] = lp_build_const_float(gallivm, 1.0 / mask); in lp_build_unpack_arith_rgba_aos()
220 scales[i] = lp_build_const_float(gallivm, 1.0); in lp_build_unpack_arith_rgba_aos()
246 scaled = LLVMBuildFMul(builder, casted, LLVMConstVector(scales, 4), ""); in lp_build_unpack_arith_rgba_aos()
273 LLVMValueRef scales[4]; in lp_build_pack_rgba_aos() local
307 scales[i] = LLVMGetUndef(LLVMFloatTypeInContext(gallivm->context)); in lp_build_pack_rgba_aos()
318 scales[i] = lp_build_const_float(gallivm, mask); in lp_build_pack_rgba_aos()
322 scales[i] = lp_build_const_float(gallivm, 1.0); in lp_build_pack_rgba_aos()
329 scaled = LLVMBuildFMul(builder, unswizzled, LLVMConstVector(scales, 4), ""); in lp_build_pack_rgba_aos()
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/
DTestSpatialAnim.java60 Vector3f[] scales = new Vector3f[totalFrames]; in simpleInitApp() local
67 scales[i] = Vector3f.UNIT_XYZ; in simpleInitApp()
69 SpatialTrack spatialTrack = new SpatialTrack(times, translations, rotations, scales); in simpleInitApp()
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DSkeletonLoader.java76 private ArrayList<Vector3f> scales = new ArrayList<Vector3f>(); field in SkeletonLoader
188 scales.add(scale); in endElement()
190 scales.add(new Vector3f(1,1,1)); in endElement()
206 Vector3f[] scalesArray = scales.toArray(new Vector3f[scales.size()]); in endElement()
217 scales.clear(); in endElement()
/external/skia/src/gpu/effects/
DGrBicubicEffect.cpp205 SkScalar scales[2]; in ShouldUseBicubic() local
206 if (!matrix.getMinMaxScales(scales) || scales[0] < SK_Scalar1) { in ShouldUseBicubic()
213 if (scales[1] == SK_Scalar1) { in ShouldUseBicubic()
/external/jpeg/
Djddctmgr.c266 static const unsigned short scales[DCTSIZE2] = { in start_pass() local
281 ifmtbl[j] = (qtbl->quantval[i] * scales[i] + 2) >> 2; in start_pass()
/external/llvm/docs/
DBlockFrequencyTerminology.rst104 multiplying these masses and loop scales together. A given block's frequency
106 containing loops' loop scales.
125 * loop scales are ignored.
/external/noto-fonts/other/
DREADME.android12 Tamil UI fonts, scales the fonts down by 90%). It does not include any
/external/libvorbis/lib/
DMakefile.am16 registry.h scales.h window.h lookup.h lookup_data.h\
/external/opencv/cvaux/src/
Dcvhmm1d.cpp73 double* scales)
133 scales[t] = scale;
/external/libvorbis/macosx/Vorbis.xcodeproj/
Dproject.pbxproj98 …F5D8F65803389C830112CE8F /* scales.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.…
202 F5D8F65803389C830112CE8F /* scales.h */,
/external/llvm/lib/Target/R600/
DCaymanInstructions.td57 // The multiplication scales from [0,1] to the unsigned integer range
/external/llvm/test/Analysis/BlockFrequencyInfo/
Dloops_with_profile_info.ll7 ; scales were limited to no more than 4,096.

12