Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DBlur.cpp61 void Blur::generateGaussianWeights(float* weights, float radius) { in generateGaussianWeights() argument
83 weights[r + intRadius] = coeff1 * pow(e, floatR * floatR * coeff2); in generateGaussianWeights()
84 normalizeFactor += weights[r + intRadius]; in generateGaussianWeights()
90 weights[r + intRadius] *= 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, float 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/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/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/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.h209 static void computeGaussianWeights(float* weights, int32_t radius);
210 static void horizontalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest,
212 static void verticalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest,
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in844 …lWeightPathsNV)(GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights) {
845 CALL_GL_API(glWeightPathsNV, resultPath, numPaths, paths, weights);
/frameworks/base/docs/html/design/wear/
Dwatchfaces.jd75 <p>Try using a common set of colors, line weights, shading, and other design elements
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h2526 …GHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
2584 …glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
/frameworks/native/opengl/libs/
Dentries.in896 … glWeightPathsNV, GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights)
/frameworks/base/docs/html/ndk/downloads/
Drevision_history.jd1015 && "Need at least two branch weights!"</code> (Issue <a href="http://b.android.com/57381">57381</a>…