/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
SaturateFilter.java | 45 "uniform vec3 weights;\n" + 49 " float kv = dot(color.rgb, weights) + shift;\n" + 57 "uniform vec3 weights;\n" + 62 " float de = dot(color.rgb, weights);\n" + 142 float weights[] = { 2f/8f, 5f/8f, 1f/8f}; local 144 mBenProgram.setHostValue("weights", weights); 147 mHerfProgram.setHostValue("weights", weights);
|
/external/opencv3/modules/ml/src/ |
ann_mlp.cpp | 101 weights.clear(); 181 double* w = weights[i].ptr<double>(); 183 // initialize weights using Nguyen-Widrow algorithm 217 weights.resize(l_count + 2); 231 weights[i].create(layer_sizes[i-1]+1, n, CV_64F); 236 weights[0].create(1, ninputs*2, CV_64F); 237 weights[l_count].create(1, noutputs*2, CV_64F); 238 weights[l_count+1].create(1, noutputs*2, CV_64F); 296 Mat w = weights[j].rowRange(0, layer_in.cols); 298 calc_activ_func( layer_out, weights[j] ) 1303 vector<Mat> weights; member in class:cv::ml::ANN_MLPImpl [all...] |
/external/guava/guava/src/com/google/common/cache/ |
Weigher.java | 21 * Calculates the weights of cache entries. 31 * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
|
/external/icu/icu4c/source/i18n/ |
collationkeys.h | 119 // Secondary level: Compress up to 33 common weights as 05..25 or 25..45. 125 // Case level, lowerFirst: Compress up to 7 common weights as 1..7 or 7..13. 131 // Case level, upperFirst: Compress up to 13 common weights as 3..15. 136 // Tertiary level only (no case): Compress up to 97 common weights as 05..65 or 65..C5. 142 // Tertiary with case, lowerFirst: Compress up to 33 common weights as 05..25 or 25..45. 148 // Tertiary with case, upperFirst: Compress up to 33 common weights as 85..A5 or A5..C5. 154 // Quaternary level: Compress up to 113 common weights as 1C..8C or 8C..FC. 159 // Primary weights shifted to quaternary level must be encoded with
|
collationcompare.cpp | 42 // Fetch CEs, compare primaries, store secondary & tertiary weights. 107 // Compare the buffered secondary & tertiary weights. 131 // The backwards secondary level compares secondary weights backwards 190 // Primary+caseLevel: Ignore case level weights of primary ignorables. 194 // with only primary weights. 210 // ignore case level weights of secondary ignorables. 215 // Tertiary+caseLevel: Also ignore case level weights of secondary ignorables. 220 // but it's simpler to always ignore case weights of secondary ignorables, 276 // Pass through NO_CE and keep real tertiary weights larger than that. 279 // Their case+tertiary weights must be greater than those o [all...] |
/external/pdfium/third_party/freetype/include/freetype/ |
ftlcdfil.h | 73 * weights (as given by FT_LCD_FILTER_DEFAULT) are no longer optimal, as 75 * gamma correction. To preserve color neutrality, weights for a FIR5 77 * and the FIR weights should be 83 * This formula generates equal weights for all the color primaries 85 * set of weights is 91 * where `a' has value 0x30 and `b' value 0x20. The weights in filter 209 * Use this function to override the filter weights selected by 219 * weights :: 221 * uses them to specify the filter weights. 241 unsigned char *weights ); [all...] |
/prebuilts/misc/darwin-x86_64/freetype/include/freetype2/ |
ftlcdfil.h | 73 * weights (as given by FT_LCD_FILTER_DEFAULT) are no longer optimal, as 75 * gamma correction. To preserve color neutrality, weights for a FIR5 77 * and the FIR weights should be 83 * This formula generates equal weights for all the color primaries 85 * set of weights is 91 * where `a' has value 0x30 and `b' value 0x20. The weights in filter 209 * Use this function to override the filter weights selected by 219 * weights :: 221 * uses them to specify the filter weights. 241 unsigned char *weights ); [all...] |
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/ |
property_range.py | 309 weights = _get_weights(_STRING_LENGTH) 310 start_ord = _str_to_ord(start, weights) 313 end_ord = _str_to_ord(end, weights) 321 splitpoints = [_ord_to_str(start_ord, weights)] 328 splitpoints.append(_ord_to_str(point, weights)) 329 end_str = _ord_to_str(end_ord, weights) 341 """Get weights for each offset in str of certain max length. 347 A list of ints as weights. 353 weights = [1] 355 weights.append(weights[i-1] * len(_ALPHABET) + 1 [all...] |
/external/llvm/lib/Analysis/ |
BlockFrequencyInfoImpl.cpp | 62 /// 1. Initialize by saving the sum of the weights in \a RemWeight and the 115 Weights.push_back(Weight(Type, Node, Amount)); 133 static void combineWeightsBySorting(WeightList &Weights) { 135 std::sort(Weights.begin(), Weights.end(), 140 WeightList::iterator O = Weights.begin(); 141 for (WeightList::const_iterator I = O, L = O, E = Weights.end(); I != E; 145 // Find the adjacent weights to the same node. 151 Weights.erase(O, Weights.end()) [all...] |
BranchProbabilityInfo.cpp | 38 // Weights are for internal use only. They are used by heuristics to help to 41 // Using "Loop Branch Heuristics" we predict weights of edges for the 118 /// \brief Calculate edge weights for successors lead to unreachable. 155 // Return false here so that edge weights for InvokeInst could be decided 196 // Ensure there are weights for all of the successors. Note that the first 201 // Build up the final weights that will be used in a temporary buffer. 202 // Compute the sum of all weights to later decide whether they need to 205 SmallVector<uint32_t, 2> Weights; 206 Weights.reserve(TI->getNumSuccessors()); 214 Weights.push_back(Weight->getZExtValue()) [all...] |
/external/opencv/ml/src/ |
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...] |
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...] |
/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/opencv3/modules/photo/src/ |
merge.cpp | 55 weights(tringleWeights()) 100 LUT(splitted[c], weights, splitted[c]); 128 Mat weights; member in class:cv::MergeDebevecImpl 163 std::vector<Mat> weights(images.size()); 207 weights[i] = contrast; 209 weights[i] = weights[i].mul(saturation); 211 weights[i] = weights[i].mul(wellexp) + 1e-12f; 212 weight_sum += weights[i] [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
CollationKeys.java | 266 // Secondary level: Compress up to 33 common weights as 05..25 or 25..45. 272 // Case level, lowerFirst: Compress up to 7 common weights as 1..7 or 7..13. 278 // Case level, upperFirst: Compress up to 13 common weights as 3..15. 284 // Tertiary level only (no case): Compress up to 97 common weights as 05..65 or 65..C5. 290 // Tertiary with case, lowerFirst: Compress up to 33 common weights as 05..25 or 25..45. 296 // Tertiary with case, upperFirst: Compress up to 33 common weights as 85..A5 or A5..C5. 302 // Quaternary level: Compress up to 113 common weights as 1C..8C or 8C..FC. 307 // Primary weights shifted to quaternary level must be encoded with 387 // Shifted primary weights are lower than the common weight. 493 // Append reverse weights. The level will be re-reversed later [all...] |
CollationCompare.java | 33 // Fetch CEs, compare primaries, store secondary & tertiary weights. 97 // Compare the buffered secondary & tertiary weights. 123 // The backwards secondary level compares secondary weights backwards 184 // Primary+caseLevel: Ignore case level weights of primary ignorables. 188 // with only primary weights. 204 // ignore case level weights of secondary ignorables. 209 // Tertiary+caseLevel: Also ignore case level weights of secondary ignorables. 214 // but it's simpler to always ignore case weights of secondary ignorables, 272 // Pass through NO_CE and keep real tertiary weights larger than that. 275 // Their case+tertiary weights must be greater than those o [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
CollationKeys.java | 262 // Secondary level: Compress up to 33 common weights as 05..25 or 25..45. 268 // Case level, lowerFirst: Compress up to 7 common weights as 1..7 or 7..13. 274 // Case level, upperFirst: Compress up to 13 common weights as 3..15. 280 // Tertiary level only (no case): Compress up to 97 common weights as 05..65 or 65..C5. 286 // Tertiary with case, lowerFirst: Compress up to 33 common weights as 05..25 or 25..45. 292 // Tertiary with case, upperFirst: Compress up to 33 common weights as 85..A5 or A5..C5. 298 // Quaternary level: Compress up to 113 common weights as 1C..8C or 8C..FC. 303 // Primary weights shifted to quaternary level must be encoded with 383 // Shifted primary weights are lower than the common weight. 489 // Append reverse weights. The level will be re-reversed later [all...] |
CollationCompare.java | 29 // Fetch CEs, compare primaries, store secondary & tertiary weights. 93 // Compare the buffered secondary & tertiary weights. 119 // The backwards secondary level compares secondary weights backwards 180 // Primary+caseLevel: Ignore case level weights of primary ignorables. 184 // with only primary weights. 200 // ignore case level weights of secondary ignorables. 205 // Tertiary+caseLevel: Also ignore case level weights of secondary ignorables. 210 // but it's simpler to always ignore case weights of secondary ignorables, 268 // Pass through NO_CE and keep real tertiary weights larger than that. 271 // Their case+tertiary weights must be greater than those o [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Baseline7.java | 26 * Baseline alignment in RelativeLayout with various font weights.
|
/device/google/marlin/ |
thermal-engine-marlin.conf | 36 weights 1 -1
|
/external/icu/icu4c/source/test/intltest/ |
alphaindextst.h | 37 * Test labels with multiple primary weights.
|
/external/libopus/silk/ |
process_NLSFs.c | 66 /* Calculate NLSF weights */ 69 /* Update NLSF weights for interpolated NLSFs */ 76 /* Calculate first half NLSF weights for the interpolated NLSFs */ 79 /* Update NLSF weights with contribution from first half */
|
/external/llvm/test/CodeGen/AArch64/ |
fast-isel-branch_weights.ll | 4 ; Test if the BBs are reordred according to their branch weights.
|
/external/llvm/test/CodeGen/X86/ |
fast-isel-branch_weights.ll | 4 ; Test if the BBs are reordred according to their branch weights.
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
MidpointIntegrator.java | 50 /** Internal weights Butcher array. */ 55 /** Propagation weights Butcher array. */
|