Searched defs:weights (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/utils/ |
H A D | Blur.cpp | 26 void Blur::generateGaussianWeights(float* weights, int32_t radius) { argument 27 // Compute gaussian weights for the blur 52 weights[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2); 53 normalizeFactor += weights[r + radius]; 56 //Now we need to normalize the weights because all our coefficients need to add up to one 59 weights[r + radius] *= normalizeFactor; 63 void Blur::horizontal(float* weights, int32_t radius, argument 75 const float* gPtr = weights; 107 void Blur::vertical(float* weights, int32_t radius, argument 117 const float* gPtr = weights; [all...] |
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/ |
H A D | 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())
|
/frameworks/rs/driver/runtime/ |
H A D | rs_sample.c | 269 getBilinearSample1D(const Allocation_t *alloc, float2 weights, argument 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 443 float2 weights; local [all...] |
Completed in 2901 milliseconds