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

1 2

  /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/freetype/include/freetype/
ftlcdfil.h 171 * Use this function to override the filter weights selected by
181 * weights ::
183 * uses them to specify the filter weights.
203 unsigned char *weights );
  /external/opencv/ml/src/
mlcnn.cpp 297 // 3) Update weights by the gradient descent
635 CvMat* connect_mask, CvMat* weights )
656 CV_CALL(layer->weights = cvCreateMat( n_output_planes, K*K+1, CV_32FC1 ));
659 if( weights )
661 if( !ICV_IS_MAT_OF_TYPE( weights, CV_32FC1 ) )
662 CV_ERROR( CV_StsBadSize, "Type of initial weights matrix must be CV_32FC1" );
663 if( !CV_ARE_SIZES_EQ( weights, layer->weights ) )
664 CV_ERROR( CV_StsBadSize, "Invalid size of initial weights matrix" );
665 CV_CALL(cvCopy( weights, layer->weights ))
    [all...]
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...]
mlem.cpp 74 means = weights = probs = inv_eigen_values = log_weight_div_det = 0;
81 means = weights = probs = inv_eigen_values = log_weight_div_det = 0;
99 cvReleaseMat( &weights );
156 const CvMat* p = params.weights;
178 if( params.weights )
180 const CvMat* w = params.weights;
186 CV_ERROR( CV_StsBadArg, "The array of weights must be a valid "
344 CV_CALL( weights = cvCreateMat( 1, nclusters, CV_64FC1 ));
429 if( params.weights && params.covs )
432 cvReshape( weights, weights, 1, params.weights->rows )
    [all...]
mlann_mlp.cpp 97 weights = 0;
110 weights = 0;
127 cvFree( &weights );
185 double* w = weights[i];
187 // initialize weights using Nguyen-Widrow algorithm
254 CV_CALL( weights = (double**)cvAlloc( (l_count+1)*sizeof(weights[0]) ));
256 weights[0] = wbuf->data.db;
257 weights[1] = weights[0] + l_dst[0]*2
    [all...]
ml_inner_functions.cpp 215 float weights[],
238 cvRandSeries(weights, clsnum, sample_clsnum, amount);
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
SensorTest.java 44 public RunAve(float[] weights) {
45 mWeights = weights;
48 for (int i = 0; i < weights.length; i++) {
49 sum += weights[i];
53 mDepth = weights.length;
  /system/media/mca/filterpacks/imageproc/java/
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);
SepiaFilter.java 106 float weights[] = { 805.0f / 2048.0f, 715.0f / 2048.0f, 557.0f / 2048.0f, local
109 mProgram.setHostValue("matrix", weights);
  /external/srec/srec/include/
swimodel.h 39 const wtdata *weights; /*pointer to weights*/ member in struct:__anon11393
  /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/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...]
  /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/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;
  /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...]
  /frameworks/base/libs/hwui/
FontRenderer.h 322 void computeGaussianWeights(float* weights, int32_t radius);
323 void horizontalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest,
325 void verticalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest,
FontRenderer.cpp 787 void FontRenderer::computeGaussianWeights(float* weights, int32_t radius) {
788 // Compute gaussian weights for the blur
813 weights[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2);
814 normalizeFactor += weights[r + radius];
817 //Now we need to normalize the weights because all our coefficients need to add up to one
820 weights[r + radius] *= normalizeFactor;
824 void FontRenderer::horizontalBlur(float* weights, int32_t radius,
836 const float* gPtr = weights;
868 void FontRenderer::verticalBlur(float* weights, int32_t radius,
879 const float* gPtr = weights;
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
queue.h 240 // Given a vector that maps from states to weights and a Less
241 // comparison function object between weights, this class defines a
250 StateWeightCompare(const vector<Weight>* weights, const L &less)
251 : weights_(weights), less_(less) {}
642 // true if the semiring is idempotent and all the arc weights are equal to
  /external/webp/src/enc/
vp8enci.h 477 const uint16_t* const weights);
  /external/v8/tools/
profile.js 368 // Propagate weights so percents can be calculated correctly.
569 * Computes total weights in the call graph.
650 * Node total weight (includes weights of all children).
profile_view.js 45 * of self weights for a bottom up view is needed.
  /ndk/sources/host-tools/sed-4.2.1/lib/
regcomp.c 3412 const unsigned char *weights, *extra, *cp; local
    [all...]
regexec.c 3894 const unsigned char *weights, *extra; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/include/
SDL_opengl.h     [all...]

Completed in 484 milliseconds

1 2