/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]);
|
/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);
|
/external/chromium_org/third_party/opus/src/src/ |
mlp.c | 93 const opus_val16 *W = m->weights; 117 const float *W = m->weights;
|
mlp_train.h | 80 double **weights; member in struct:__anon13819
|
mlp_data.c | 2 It contains multi-layer perceptron (MLP) weights. */ 8 static const float weights[422] = { variable 104 weights
|
/external/opencv/cv/src/ |
cvlinefit.cpp | 46 icvFitLine2D_wods( CvPoint2D32f * points, int _count, float *weights, float *line ) 56 if( weights == 0 ) 72 x += weights[i] * points[i].x; 73 y += weights[i] * points[i].y; 74 x2 += weights[i] * points[i].x * points[i].x; 75 y2 += weights[i] * points[i].y * points[i].y; 76 xy += weights[i] * points[i].x * points[i].y; 77 w += weights[i]; 102 icvFitLine3D_wods( CvPoint3D32f * points, int count, float *weights, float *line ) 116 if( weights ) [all...] |
/frameworks/rs/driver/runtime/ |
rs_sample.c | 269 getBilinearSample1D(const Allocation_t *alloc, float2 weights, 277 return getSample_RGBA(p, iPixel, next, weights.x, weights.y); 279 return getSample_A(p, iPixel, next, weights.x, weights.y); 282 return getSample_565(p, iPixel, next, weights.x, weights.y); 284 return getSample_RGB(p, iPixel, next, weights.x, weights.y); 286 return getSample_L(p, iPixel, next, weights.x, weights.y) 443 float2 weights; local [all...] |
/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/chromium_org/third_party/icu/source/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/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/math/ |
CurveAndSurfaceMath.java | 32 float[] weights = nurbSpline.getWeights();
local 39 float val = weights[i] * CurveAndSurfaceMath.computeBaseFunctionValue(i, nurbSpline.getBasisFunctionDegree(), u, knots);
|
/external/srec/srec/clib/ |
swimodel.c | 375 PLogMessage("loaded models %s num_hmmstates %d num_dims %d num_pdfs %d weights[0] %d\n", 387 hmmstates[i].weights = weight_ptr; 453 weightptr = spd->weights;
|
/frameworks/base/libs/hwui/ |
FontRenderer.h | 216 static void computeGaussianWeights(float* weights, int32_t radius); 217 static void horizontalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest, 219 static void verticalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest,
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/ |
filter.js | 209 * @param {Array.<number>} weights See the picture above. 216 filter.convolve5x5 = function(weights, dst, src, offsetX, offsetY) { 217 var w0 = filter.floatToFixedPoint(weights[0]); 218 var w1 = filter.floatToFixedPoint(weights[1]); 219 var w2 = filter.floatToFixedPoint(weights[2]); 220 var w3 = filter.floatToFixedPoint(weights[3]); 432 * Return a convolution filter function bound to specific weights. 434 * @param {Array.<number>} weights Weights for the convolution matrix 438 filter.createConvolutionFilter = function(weights) { [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...] |
/external/chromium_org/third_party/skia/include/core/ |
SkPathRef.h | 79 * requisite points & weights. 81 * If 'verb' is kConic_Verb, 'weights' will return a pointer to the 82 * space for the conic weights (indexed normally). 86 SkScalar** weights = NULL) { 87 return fPathRef->growForRepeatedVerb(verb, numVbs, weights); 358 * verb. If 'verb' is kConic_Verb, 'weights' will return a pointer to the 359 * uninitialized conic weights. 361 SkPoint* growForRepeatedVerb(int /*SkPath::Verb*/ verb, int numVbs, SkScalar** weights);
|
/external/skia/include/core/ |
SkPathRef.h | 79 * requisite points & weights. 81 * If 'verb' is kConic_Verb, 'weights' will return a pointer to the 82 * space for the conic weights (indexed normally). 86 SkScalar** weights = NULL) { 87 return fPathRef->growForRepeatedVerb(verb, numVbs, weights); 358 * verb. If 'verb' is kConic_Verb, 'weights' will return a pointer to the 359 * uninitialized conic weights. 361 SkPoint* growForRepeatedVerb(int /*SkPath::Verb*/ verb, int numVbs, SkScalar** weights);
|
/hardware/samsung_slsi/exynos5/include/ |
ExynosCamera.h | 606 bool setFocusAreas(int num, ExynosRect* rects, int *weights); 609 bool setFocusAreas(int num, ExynosRect2* rect2s, int *weights); 639 bool setMeteringAreas(int num, ExynosRect *rects, int *weights); 642 bool setMeteringAreas(int num, ExynosRect2 *rect2s, int *weights);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_mpeg12_decoder.c | 242 MacroBlockTypeToPipeWeights(const struct pipe_mpeg12_macroblock *mb, unsigned weights[2]) 248 weights[0] = PIPE_VIDEO_MV_WEIGHT_MAX; 249 weights[1] = PIPE_VIDEO_MV_WEIGHT_MIN; 253 weights[0] = PIPE_VIDEO_MV_WEIGHT_HALF; 254 weights[1] = PIPE_VIDEO_MV_WEIGHT_HALF; 258 weights[0] = PIPE_VIDEO_MV_WEIGHT_MIN; 259 weights[1] = PIPE_VIDEO_MV_WEIGHT_MAX; 264 weights[0] = PIPE_VIDEO_MV_WEIGHT_MIN; 265 weights[1] = PIPE_VIDEO_MV_WEIGHT_MIN; 269 weights[0] = PIPE_VIDEO_MV_WEIGHT_MAX [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_mpeg12_decoder.c | 242 MacroBlockTypeToPipeWeights(const struct pipe_mpeg12_macroblock *mb, unsigned weights[2]) 248 weights[0] = PIPE_VIDEO_MV_WEIGHT_MAX; 249 weights[1] = PIPE_VIDEO_MV_WEIGHT_MIN; 253 weights[0] = PIPE_VIDEO_MV_WEIGHT_HALF; 254 weights[1] = PIPE_VIDEO_MV_WEIGHT_HALF; 258 weights[0] = PIPE_VIDEO_MV_WEIGHT_MIN; 259 weights[1] = PIPE_VIDEO_MV_WEIGHT_MAX; 264 weights[0] = PIPE_VIDEO_MV_WEIGHT_MIN; 265 weights[1] = PIPE_VIDEO_MV_WEIGHT_MIN; 269 weights[0] = PIPE_VIDEO_MV_WEIGHT_MAX [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkPathRef.cpp | 293 SkScalar** weights) { 362 SkASSERT(NULL != weights); 363 *weights = fConicWeights.append(numVbs);
|
/external/skia/src/core/ |
SkPathRef.cpp | 293 SkScalar** weights) { 362 SkASSERT(NULL != weights); 363 *weights = fConicWeights.append(numVbs);
|
/external/chromium_org/third_party/libwebp/dsp/ |
dsp.h | 77 const uint16_t* const weights);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_graph.h | 169 // @weights: indexed by Node::tag 170 int findLightestPathWeight(Node *, Node *, const std::vector<int>& weights);
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
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];
|