HomeSort by relevance Sort by last modified time
    Searched defs:weights (Results 1 - 25 of 31) sorted by null

1 2

  /external/srec/srec/include/
swimodel.h 39 const wtdata *weights; /*pointer to weights*/ member in struct:__anon12686
  /external/freetype/src/base/
ftlcdfil.c 36 FT_Byte* weights = library->lcd_weights; local
54 fir[0] = weights[2] * val1;
55 fir[1] = weights[3] * val1;
56 fir[2] = weights[4] * val1;
61 fir[0] += weights[1] * val1;
62 fir[1] += weights[2] * val1;
63 fir[2] += weights[3] * val1;
64 fir[3] += weights[4] * val1;
72 pix = fir[0] + weights[0] * val;
73 fir[0] = fir[1] + weights[1] * val
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
CurveAndSurfaceMath.java 32 float[] weights = nurbSpline.getWeights(); local
39 float val = weights[i] * CurveAndSurfaceMath.computeBaseFunctionValue(i, nurbSpline.getBasisFunctionDegree(), u, knots);
Spline.java 28 private float[] weights; //weights of NURBS spline field in class:Spline
57 throw new IllegalArgumentException("To create NURBS spline use: 'public Spline(Vector3f[] controlPoints, float[] weights, float[] nurbKnots)' constructor!");
86 throw new IllegalArgumentException("To create NURBS spline use: 'public Spline(Vector3f[] controlPoints, float[] weights, float[] nurbKnots)' constructor!");
111 this.weights = new float[controlPoints.size()];
113 this.basisFunctionDegree = nurbKnots.size() - weights.length;
117 this.weights[i] = controlPoint.w;
379 return knots.get(weights.length);
391 * This method returns NURBS' spline weights.
392 * @return NURBS' spline weights
    [all...]
  /external/openfst/src/include/fst/script/
rmepsilon.h 174 vector<typename Arc::Weight> weights; local
176 RmEpsilonHelper(fst, &weights, opts);
178 // Copy the weights back
179 args->arg2->resize(weights.size());
180 for (unsigned i = 0; i < weights.size(); ++i) {
181 (*args->arg2)[i] = WeightClass(weights[i]);
shortest-distance.h 95 const Fst<Arc> &fst, const vector<typename Arc::Weight> *weights) {
106 vector<typename Arc::Weight> weights; local
112 fst, &weights);
115 ShortestDistance(fst, &weights, sdopts);
122 fst, &weights);
126 ShortestDistance(fst, &weights, sdopts);
133 fst, &weights);
137 ShortestDistance(fst, &weights, sdopts);
145 fst, &weights);
149 ShortestDistance(fst, &weights, sdopts)
    [all...]
shortest-path.h 65 vector<typename Arc::Weight> weights; local
73 ArcFilter>::Construct(ifst, &weights);
78 ShortestPath(ifst, ofst, &weights, spopts);
85 ArcFilter>::Construct(ifst, &weights);
90 ShortestPath(ifst, ofst, &weights, spopts);
97 ArcFilter >::Construct(ifst, &weights);
102 ShortestPath(ifst, ofst, &weights, spopts);
109 ArcFilter>::Construct(ifst, &weights);
114 ShortestPath(ifst, ofst, &weights, spopts);
121 ArcFilter>::Construct(ifst, &weights);
    [all...]
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
SepiaFilter.java 106 float weights[] = { 805.0f / 2048.0f, 715.0f / 2048.0f, 557.0f / 2048.0f, local
109 mProgram.setHostValue("matrix", weights);
SaturateFilter.java 48 "uniform vec3 weights;\n" +
52 " float kv = dot(color.rgb, weights) + shift;\n" +
60 "uniform vec3 weights;\n" +
65 " float de = dot(color.rgb, weights);\n" +
145 float weights[] = { 2f/8f, 5f/8f, 1f/8f}; local
147 mBenProgram.setHostValue("weights", weights);
150 mHerfProgram.setHostValue("weights", weights);
  /external/jmonkeyengine/engine/src/test/jme3test/model/anim/
TestCustomAnim.java 77 FloatBuffer weights = FloatBuffer.allocate( box.getVertexCount() * 4 ); local
79 weightsBuf.setupData(Usage.CpuOnly, 4, Format.Float, weights);
106 weights.array()[i+0] = 1;
107 weights.array()[i+1] = 0;
108 weights.array()[i+2] = 0;
109 weights.array()[i+3] = 0;
112 // Maximum number of weights per bone is 1
  /frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
StochasticLinearRanker.java 42 public HashMap<String, Float> weights = new HashMap<String, Float>(); field in class:StochasticLinearRanker.Model
95 slrModel.weights.put(wKeys[i], wValues[i]);
109 String[] wKeys = new String[model.weights.size()];
110 float[] wValues = new float[model.weights.size()];
112 for (Map.Entry<String, Float> e : model.weights.entrySet()){
144 for (Map.Entry<String, Float> e : model.weights.entrySet())
148 Log.i(TAG, "Weights are " + Sw);
  /external/jmonkeyengine/engine/src/core/com/jme3/animation/
PoseTrack.java 56 float[] weights; field in class:PoseTrack.PoseFrame
58 public PoseFrame(Pose[] poses, float[] weights) {
60 this.weights = weights;
71 result.weights = this.weights.clone();
87 out.write(weights, "weights", null);
93 weights = in.readFloatArray("weights", null)
    [all...]
SkeletonControl.java 300 throw new IllegalStateException("Max weights per vert is incorrectly set!");
315 // get boneIndexes and weights for mesh
322 float[] weights = wb.array(); local
354 float weight = weights[idxWeights];
394 * @param maxWeightsPerVert maximum number of weights per vertex
403 throw new IllegalStateException("Max weights per vert is incorrectly set!");
424 // get boneIndexes and weights for mesh
431 float[] weights = wb.array(); local
476 float weight = weights[idxWeights];
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
Learning_StochasticLinearRanker.java 90 HashMap<String, Float> weights = new HashMap<String, Float>(); local
92 weights.put(temp.get(i).key, temp.get(i).value);
95 return mLearningSlRanker.setModelPriorWeights(weights);
  /frameworks/compile/libbcc/lib/ScriptCRT/
rs_sample.c 96 getSample##vecsize(rs_allocation a, float2 weights, \
102 return p0 * weights.x + p1 * weights.y; \
106 getSample##vecsize(rs_allocation a, float4 weights, \
116 return p0 * weights.x + p1 * weights.y + p2 * weights.z + p3 * weights.w; \
184 result.xyz = getSample565(a, weights, iPixel, next, lod); \
190 result.x = getSample1(a, weights, iPixel, next, lod);
279 float2 weights; local
335 float4 weights; local
    [all...]
  /packages/apps/Phone/src/com/android/phone/
BitmapUtils.java 123 // (If you change RADIUS, you'll have to change the weights[] too.)
125 final int[] weights = { 13, 23, 32, 39, 42, 39, 32, 23, 13}; // Adds up to 256 local
139 int weight = weights[i+RADIUS];
  /external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
MeshLoader.java 302 * Normalizes weights if needed and finds largest amount of weights used
311 // No weights were actually written (the tag didn't have any entries)
370 // - 4 bone weights
381 VertexBuffer weights = new VertexBuffer(Type.BoneWeight); local
385 weights.setupData(usage, 4, Format.Float, weightsFloatData);
388 mesh.setBuffer(weights);
572 // see which weights are unused for a given bone
580 logger.log(Level.WARNING, "Vertex {0} has more than 4 weights per vertex! Ignoring..", vert);
  /external/openfst/src/include/fst/
accumulator.h 19 // Classes to accumulate arc weights. Useful for weight lookahead.
40 // This class accumulates arc weights using the semiring Plus().
77 // This class accumulates arc weights using the log semiring Plus()
79 // and from log64 weights.
135 vector<double> *Weights() { return &weights_; }
148 // weights_. Position -1 means no pre-computed weights for that
157 // This class accumulates arc weights using the log semiring Plus()
159 // from log64 weights. The member function Init(fst) has to be called
188 vector<double> &weights = *data_->Weights(); local
386 vector<double>* weights; \/\/ Accumulated weights for this state. member in struct:fst::CacheLogAccumulatorData::CacheState
    [all...]
  /external/skia/third_party/glu/libtess/
sweep.c 414 void *data[4], GLfloat weights[4], int needed )
424 CALL_COMBINE_OR_COMBINE_DATA( coords, data, weights, &isect->data );
447 GLfloat weights[4] = { 0.5, 0.5, 0.0, 0.0 }; local
451 CallCombine( tess, e1->Org, data, weights, FALSE );
456 GLfloat *weights )
458 * Find some weights which describe how the intersection vertex is
468 weights[0] = 0.5 * t2 / (t1 + t2);
469 weights[1] = 0.5 * t1 / (t1 + t2);
470 isect->coords[0] += weights[0]*org->coords[0] + weights[1]*dst->coords[0]
486 GLfloat weights[4]; local
    [all...]
  /external/opencv/ml/src/
mlboost.cpp 185 const double* weights = ensemble->get_subtree_weights()->data.db; local
200 double w = weights[i];
221 double w = weights[idx];
229 double w = weights[idx];
249 const double* weights = ensemble->get_subtree_weights()->data.db; local
252 const double* rcw0 = weights + n;
263 double w = weights[idx];
278 double w = weights[idx], w2 = w*w;
303 double w = weights[idx];
341 const double* weights = ensemble->get_subtree_weights()->data.db local
445 const double* weights = ensemble->get_subtree_weights()->data.db; local
493 const double* weights = ensemble->get_subtree_weights()->data.db; local
575 const double* weights = ensemble->get_subtree_weights()->data.db; local
641 const double* weights = ensemble->get_subtree_weights()->data.db; local
702 const double* weights = ensemble->get_weights()->data.db; local
    [all...]
  /external/icu4c/test/intltest/
wbnf.cpp 439 Buffer_int weights; member in class:WeightedRand
446 for (int i=0; i<size; ++i) weights.append(DEFAULT_WEIGHT);
450 weights.append_array( (*weight_list),s);
451 for (int i=s; i<size; ++i) weights.append(DEFAULT_WEIGHT);
453 weights.append_array( (*weight_list),size);
457 int c = weights.content_size();
459 total += weights[i];
464 weights.append(weight);
492 mark -= weights[i]; // 0 <= mark <= total
738 Repeat(Pick * base, int minCount =0, int maxCount = 1, Buffer_int * weights = NULL)
1040 Buffer_int weights; local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/
Mesh.java 365 // convert weights
366 VertexBuffer weights = getBuffer(Type.BoneWeight); local
367 FloatBuffer originalWeight = (FloatBuffer) weights.getData();
371 weights.updateData(arrayWeight);
468 * Returns the maximum number of weights per vertex on this mesh.
470 * @return maximum number of weights per vertex
479 * Set the maximum number of weights per vertex on this mesh.
    [all...]
  /external/v8/src/
hydrogen-instructions.cc 72 static const int weights[] = { 1, w, w*w, w*w*w, w*w*w*w }; local
73 return weights[Min(block()->LoopNestingDepth(),
74 static_cast<int>(ARRAY_SIZE(weights)-1))];
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/lib/
regcomp.c 3412 const unsigned char *weights, *extra, *cp; local
    [all...]
  /external/opencv/ml/include/
ml.h 562 start_step(0/*CvEM::START_AUTO_STEP*/), probs(0), weights(0), means(0), covs(0)
572 probs(_probs), weights(_weights), means(_means), covs(_covs), term_crit(_term_crit)
579 const CvMat* weights; member in struct:CvEMParams
630 CvMat* weights; member in class:CvEM
1135 CvMat* weights; member in class:CvBoost
1235 double** weights; member in class:CvANN_MLP
    [all...]

Completed in 710 milliseconds

1 2