Home
last modified time | relevance | path

Searched refs:weights (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/utils/
DBlur.cpp63 void Blur::generateGaussianWeights(float* weights, int32_t radius) { in generateGaussianWeights() argument
83 weights[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2); in generateGaussianWeights()
84 normalizeFactor += weights[r + radius]; in generateGaussianWeights()
90 weights[r + radius] *= normalizeFactor; in generateGaussianWeights()
94 void Blur::horizontal(float* weights, int32_t radius, in horizontal() argument
106 const float* gPtr = weights; in horizontal()
138 void Blur::vertical(float* weights, int32_t radius, in vertical() argument
148 const float* gPtr = weights; in vertical()
DBlur.h37 static void generateGaussianWeights(float* weights, int32_t radius);
38 static void horizontal(float* weights, int32_t radius, const uint8_t* source,
40 static void vertical(float* weights, int32_t radius, const uint8_t* source,
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
DStochasticLinearRanker.java42 public HashMap<String, Float> weights = new HashMap<String, Float>(); field in StochasticLinearRanker.Model
95 slrModel.weights.put(wKeys[i], wValues[i]); in getUModel()
109 String[] wKeys = new String[model.weights.size()]; in loadModel()
110 float[] wValues = new float[model.weights.size()]; in loadModel()
112 for (Map.Entry<String, Float> e : model.weights.entrySet()){ in loadModel()
144 for (Map.Entry<String, Float> e : model.weights.entrySet()) in print()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DSaturateFilter.java142 float weights[] = { 2f/8f, 5f/8f, 1f/8f}; in initParameters() local
144 mBenProgram.setHostValue("weights", weights); in initParameters()
147 mHerfProgram.setHostValue("weights", weights); in initParameters()
DSepiaFilter.java103 float weights[] = { 805.0f / 2048.0f, 715.0f / 2048.0f, 557.0f / 2048.0f, in initParameters() local
106 mProgram.setHostValue("matrix", weights); in initParameters()
/frameworks/rs/driver/runtime/
Drs_sample.c268 getBilinearSample1D(const Allocation_t *alloc, float2 weights, in getBilinearSample1D() argument
276 return getSample_RGBA(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D()
278 return getSample_A(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D()
281 return getSample_565(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D()
283 return getSample_RGB(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D()
285 return getSample_L(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D()
287 return getSample_LA(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D()
442 float2 weights; in sample_LOD_LinearPixel() local
443 weights.x = oneMinusFrac; in sample_LOD_LinearPixel()
444 weights.y = frac; in sample_LOD_LinearPixel()
[all …]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DLearning_StochasticLinearRanker.java90 HashMap<String, Float> weights = new HashMap<String, Float>(); in SetModelPriorWeight() local
92 weights.put(temp.get(i).key, temp.get(i).value); in SetModelPriorWeight()
95 return mLearningSlRanker.setModelPriorWeights(weights); in SetModelPriorWeight()
/frameworks/base/libs/hwui/
DFontRenderer.h214 static void computeGaussianWeights(float* weights, int32_t radius);
215 static void horizontalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest,
217 static void verticalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest,
/frameworks/base/docs/html/design/style/
Dtypography.jd27 weights, along with an italic style for each weight. The framework also offers the
29 variant in regular and bold weights, along with an italic style for each weight.</p>
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dthreshold.fs35 // Compute gaussian weights for the blur
65 //Now we need to normalize the weights because all our coefficients need to add up to one
/frameworks/base/docs/html/design/wear/
Dwatchfaces.jd75 <p>Try using a common set of colors, line weights, shading, and other design elements
/frameworks/base/docs/html/tools/sdk/
Declipse-adt.jd1605 In LinearLayout, sizes are mapped to weights instead of pixel widths.
/frameworks/base/docs/html/tools/sdk/ndk/
Dindex.jd861 && "Need at least two branch weights!"</code> (Issue <a href="http://b.android.com/57381">57381</a>…