Searched defs:weights (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/utils/ |
H A D | Blur.cpp | 61 void Blur::generateGaussianWeights(float* weights, float radius) { argument 64 // Compute gaussian weights for the blur 83 weights[r + intRadius] = coeff1 * pow(e, floatR * floatR * coeff2); 84 normalizeFactor += weights[r + intRadius]; 87 //Now we need to normalize the weights because all our coefficients need to add up to one 90 weights[r + intRadius] *= normalizeFactor; 94 void Blur::horizontal(float* weights, int32_t radius, argument 106 const float* gPtr = weights; 138 void Blur::vertical(float* weights, int32_t radius, argument 148 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 | 268 getBilinearSample1D(const Allocation_t *alloc, float2 weights, argument 276 return getSample_RGBA(p, iPixel, next, weights.x, weights.y); 278 return getSample_A(p, iPixel, next, weights.x, weights.y); 281 return getSample_565(p, iPixel, next, weights.x, weights.y); 283 return getSample_RGB(p, iPixel, next, weights.x, weights.y); 285 return getSample_L(p, iPixel, next, weights 442 float2 weights; local [all...] |
Completed in 111 milliseconds