/third_party/flutter/skia/third_party/externals/freetype/src/base/ |
D | ftlcdfil.c | 80 FT_LcdFiveTapFilter weights ) in ft_lcd_filter_fir() argument 109 fir[2] = weights[2] * val; in ft_lcd_filter_fir() 110 fir[3] = weights[3] * val; in ft_lcd_filter_fir() 111 fir[4] = weights[4] * val; in ft_lcd_filter_fir() 114 fir[1] = fir[2] + weights[1] * val; in ft_lcd_filter_fir() 115 fir[2] = fir[3] + weights[2] * val; in ft_lcd_filter_fir() 116 fir[3] = fir[4] + weights[3] * val; in ft_lcd_filter_fir() 117 fir[4] = weights[4] * val; in ft_lcd_filter_fir() 122 fir[0] = fir[1] + weights[0] * val; in ft_lcd_filter_fir() 123 fir[1] = fir[2] + weights[1] * val; in ft_lcd_filter_fir() [all …]
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftlcdfil.c | 79 FT_LcdFiveTapFilter weights ) in ft_lcd_filter_fir() argument 108 fir[2] = weights[2] * val; in ft_lcd_filter_fir() 109 fir[3] = weights[3] * val; in ft_lcd_filter_fir() 110 fir[4] = weights[4] * val; in ft_lcd_filter_fir() 113 fir[1] = fir[2] + weights[1] * val; in ft_lcd_filter_fir() 114 fir[2] = fir[3] + weights[2] * val; in ft_lcd_filter_fir() 115 fir[3] = fir[4] + weights[3] * val; in ft_lcd_filter_fir() 116 fir[4] = weights[4] * val; in ft_lcd_filter_fir() 121 fir[0] = fir[1] + weights[0] * val; in ft_lcd_filter_fir() 122 fir[1] = fir[2] + weights[1] * val; in ft_lcd_filter_fir() [all …]
|
/third_party/freetype/src/base/ |
D | ftlcdfil.c | 79 FT_LcdFiveTapFilter weights ) in ft_lcd_filter_fir() argument 108 fir[2] = weights[2] * val; in ft_lcd_filter_fir() 109 fir[3] = weights[3] * val; in ft_lcd_filter_fir() 110 fir[4] = weights[4] * val; in ft_lcd_filter_fir() 113 fir[1] = fir[2] + weights[1] * val; in ft_lcd_filter_fir() 114 fir[2] = fir[3] + weights[2] * val; in ft_lcd_filter_fir() 115 fir[3] = fir[4] + weights[3] * val; in ft_lcd_filter_fir() 116 fir[4] = weights[4] * val; in ft_lcd_filter_fir() 121 fir[0] = fir[1] + weights[0] * val; in ft_lcd_filter_fir() 122 fir[1] = fir[2] + weights[1] * val; in ft_lcd_filter_fir() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
D | discrete_distribution_test.cc | 157 std::vector<double> weights(kBuckets, 0); in TEST() local 158 std::iota(std::begin(weights), std::end(weights), 1); in TEST() 159 absl::discrete_distribution<int> dist(std::begin(weights), std::end(weights)); in TEST() 174 for (double x : weights) { in TEST() 177 for (double& x : weights) { in TEST() 183 std::begin(weights), std::end(weights)); in TEST() 192 absl::StrAppend(&msg, i, ": ", counts[i], " vs ", weights[i], "\n"); in TEST()
|
/third_party/flutter/skia/third_party/externals/freetype/src/type1/ |
D | t1load.c | 260 mm_weights_unmap( FT_Fixed* weights, in mm_weights_unmap() argument 267 axiscoords[0] = weights[1]; in mm_weights_unmap() 271 axiscoords[0] = weights[3] + weights[1]; in mm_weights_unmap() 272 axiscoords[1] = weights[3] + weights[2]; in mm_weights_unmap() 277 axiscoords[0] = weights[7] + weights[5] + weights[3] + weights[1]; in mm_weights_unmap() 278 axiscoords[1] = weights[7] + weights[6] + weights[3] + weights[2]; in mm_weights_unmap() 279 axiscoords[2] = weights[7] + weights[6] + weights[5] + weights[4]; in mm_weights_unmap() 284 axiscoords[0] = weights[15] + weights[13] + weights[11] + weights[9] + in mm_weights_unmap() 285 weights[7] + weights[5] + weights[3] + weights[1]; in mm_weights_unmap() 286 axiscoords[1] = weights[15] + weights[14] + weights[11] + weights[10] + in mm_weights_unmap() [all …]
|
/third_party/freetype/src/type1/ |
D | t1load.c | 245 mm_weights_unmap( FT_Fixed* weights, in mm_weights_unmap() argument 252 axiscoords[0] = weights[1]; in mm_weights_unmap() 256 axiscoords[0] = weights[3] + weights[1]; in mm_weights_unmap() 257 axiscoords[1] = weights[3] + weights[2]; in mm_weights_unmap() 262 axiscoords[0] = weights[7] + weights[5] + weights[3] + weights[1]; in mm_weights_unmap() 263 axiscoords[1] = weights[7] + weights[6] + weights[3] + weights[2]; in mm_weights_unmap() 264 axiscoords[2] = weights[7] + weights[6] + weights[5] + weights[4]; in mm_weights_unmap() 269 axiscoords[0] = weights[15] + weights[13] + weights[11] + weights[9] + in mm_weights_unmap() 270 weights[7] + weights[5] + weights[3] + weights[1]; in mm_weights_unmap() 271 axiscoords[1] = weights[15] + weights[14] + weights[11] + weights[10] + in mm_weights_unmap() [all …]
|
/third_party/skia/third_party/externals/freetype/src/type1/ |
D | t1load.c | 245 mm_weights_unmap( FT_Fixed* weights, in mm_weights_unmap() argument 252 axiscoords[0] = weights[1]; in mm_weights_unmap() 256 axiscoords[0] = weights[3] + weights[1]; in mm_weights_unmap() 257 axiscoords[1] = weights[3] + weights[2]; in mm_weights_unmap() 262 axiscoords[0] = weights[7] + weights[5] + weights[3] + weights[1]; in mm_weights_unmap() 263 axiscoords[1] = weights[7] + weights[6] + weights[3] + weights[2]; in mm_weights_unmap() 264 axiscoords[2] = weights[7] + weights[6] + weights[5] + weights[4]; in mm_weights_unmap() 269 axiscoords[0] = weights[15] + weights[13] + weights[11] + weights[9] + in mm_weights_unmap() 270 weights[7] + weights[5] + weights[3] + weights[1]; in mm_weights_unmap() 271 axiscoords[1] = weights[15] + weights[14] + weights[11] + weights[10] + in mm_weights_unmap() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_atadenoise.c | 59 float weights[4][SIZE]; member 151 int thra, int thrb, const float *weights) \ 175 sum += srcjx * weights[j]; \ 176 wsum += weights[j]; \ 186 sum += srcix * weights[i]; \ 187 wsum += weights[i]; \ 202 const float *weights) \ 226 sum += srcjx * weights[j]; \ 227 wsum += weights[j]; \ 239 sum += srcix * weights[i]; \ [all …]
|
D | af_amix.c | 175 float *weights; /**< custom weights for every input */ member 220 weight_sum += FFABS(s->weights[i]); in calculate_scales() 224 if (s->scale_norm[i] > weight_sum / FFABS(s->weights[i])) { in calculate_scales() 225 s->scale_norm[i] -= ((s->weight_sum / FFABS(s->weights[i])) / s->nb_inputs) * in calculate_scales() 227 s->scale_norm[i] = FFMAX(s->scale_norm[i], weight_sum / FFABS(s->weights[i])); in calculate_scales() 235 s->input_scale[i] = FFABS(s->weights[i]); in calculate_scales() 237 s->input_scale[i] = 1.0f / s->scale_norm[i] * FFSIGN(s->weights[i]); in calculate_scales() 282 s->scale_norm[i] = s->weight_sum / FFABS(s->weights[i]); in config_output() 527 s->weights[i] = last_weight; in parse_weights() 538 s->weights[i] = last_weight; in parse_weights() [all …]
|
D | vf_mix.c | 39 float *weights; member 83 if (av_sscanf(arg, "%f", &s->weights[i]) != 1) { in parse_weights() 87 s->wfactor += s->weights[i]; in parse_weights() 92 s->weights[i] = s->weights[last]; in parse_weights() 93 s->wfactor += s->weights[i]; in parse_weights() 115 s->weights = av_calloc(s->nb_inputs, sizeof(*s->weights)); in init() 116 if (!s->weights) in init() 163 val += src * s->weights[i]; in mix_frames() 185 val += src * s->weights[i]; in mix_frames() 304 av_freep(&s->weights); in uninit()
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
D | ARB_vertex_blend.txt | 46 these results are scaled by the weights for the respective 67 Should integer blending weights be allowed? 74 Should the blending weights be forced to sum to 1? 78 be noted that even if the weights do not sum to one, 82 had the weights been scaled to sum to one. 119 the sum of the square of the weights is equal to one. 121 Should weights be specified as vectors rather than independent 130 void Weight{bsifd ubusui}vARB(int size, T* weights) 217 coordinates, current color, and a set of current weights 230 weights (Vertex, Color, Index, Normal, TexCoord, [all …]
|
/third_party/openGLES/extensions/ARB/ |
D | ARB_vertex_blend.txt | 56 these results are scaled by the weights for the respective 77 Should integer blending weights be allowed? 84 Should the blending weights be forced to sum to 1? 88 be noted that even if the weights do not sum to one, 92 had the weights been scaled to sum to one. 129 the sum of the square of the weights is equal to one. 131 Should weights be specified as vectors rather than independent 140 void Weight{bsifd ubusui}vARB(int size, T* weights) 227 coordinates, current color, and a set of current weights 240 weights (Vertex, Color, Index, Normal, TexCoord, [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/SGI/ |
D | GLU_SGI_filter4_parameters.txt | 27 weights themselves are typically a set of equidistant samples along a 63 const GLfloat *parms, GLint n, GLfloat *weights) 84 or equal to 1025 and weights must point to n GLfloat's worth of memory. 86 After the coefficients are successfully generated and saved in weights, 100 GLfloat *weights, control[2]; 104 weights = (GLfloat *)malloc(n*sizeof(GLfloat)); 106 n, weights); 110 * (const float *)weights); 126 (const GLfloat *)control, n, weights); 130 * (const float *)weights);
|
/third_party/openGLES/extensions/SGI/ |
D | GLU_SGI_filter4_parameters.txt | 27 weights themselves are typically a set of equidistant samples along a 63 const GLfloat *parms, GLint n, GLfloat *weights) 84 or equal to 1025 and weights must point to n GLfloat's worth of memory. 86 After the coefficients are successfully generated and saved in weights, 100 GLfloat *weights, control[2]; 104 weights = (GLfloat *)malloc(n*sizeof(GLfloat)); 106 n, weights); 110 * (const float *)weights); 126 (const GLfloat *)control, n, weights); 130 * (const float *)weights);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktSampleVerifier.cpp | 323 const Vec2& weights, in getFilteredSample2D() argument 346 … m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - weights[1] : weights[1]), false); in getFilteredSample2D() 350 …ion[compNdx]->roundOut(iWeightInterval * Interval(j == 0 ? 1.0f - weights[0] : weights[0]), false); in getFilteredSample2D() 363 const Vec3& weights, in getFilteredSample3D() argument 389 … m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - weights[2] : weights[2]), false); in getFilteredSample3D() 393 …ion[compNdx]->roundOut(iWeightInterval * Interval(j == 0 ? 1.0f - weights[1] : weights[1]), false); in getFilteredSample3D() 397 …ion[compNdx]->roundOut(jWeightInterval * Interval(k == 0 ? 1.0f - weights[0] : weights[0]), false); in getFilteredSample3D() 412 const Vec3& weights, in getFilteredSample() argument 423 getFilteredSample1D(texelBase, weights.x(), layer, level, resultMin, resultMax); in getFilteredSample() 427 getFilteredSample2D(texelBase, weights.swizzle(0, 1), layer, level, resultMin, resultMax); in getFilteredSample() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifier.cpp | 323 const Vec2& weights, in getFilteredSample2D() argument 346 … m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - weights[1] : weights[1]), false); in getFilteredSample2D() 350 …ion[compNdx]->roundOut(iWeightInterval * Interval(j == 0 ? 1.0f - weights[0] : weights[0]), false); in getFilteredSample2D() 363 const Vec3& weights, in getFilteredSample3D() argument 389 … m_filteringPrecision[compNdx]->roundOut(Interval(i == 0 ? 1.0f - weights[2] : weights[2]), false); in getFilteredSample3D() 393 …ion[compNdx]->roundOut(iWeightInterval * Interval(j == 0 ? 1.0f - weights[1] : weights[1]), false); in getFilteredSample3D() 397 …ion[compNdx]->roundOut(jWeightInterval * Interval(k == 0 ? 1.0f - weights[0] : weights[0]), false); in getFilteredSample3D() 412 const Vec3& weights, in getFilteredSample() argument 423 getFilteredSample1D(texelBase, weights.x(), layer, level, resultMin, resultMax); in getFilteredSample() 427 getFilteredSample2D(texelBase, weights.swizzle(0, 1), layer, level, resultMin, resultMax); in getFilteredSample() [all …]
|
/third_party/vk-gl-cts/android/cts/main/vk-master/ |
D | fragment-shading-barycentric.txt | 1 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.point_list.perspective 2 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.point_list.noperspective 3 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.line_list.perspective 4 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.line_list.noperspective 5 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.line_strip.perspective 6 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.line_strip.noperspective 7 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.triangle_list.perspective 8 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.triangle_list.noperspective 9 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.triangle_strip.perspective 10 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.triangle_strip.noperspective [all …]
|
/third_party/vk-gl-cts/external/vulkancts/mustpass/main/vk-default/ |
D | fragment-shading-barycentric.txt | 1 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.point_list.perspective 2 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.point_list.noperspective 3 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.line_list.perspective 4 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.line_list.noperspective 5 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.line_strip.perspective 6 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.line_strip.noperspective 7 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.triangle_list.perspective 8 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.triangle_list.noperspective 9 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.triangle_strip.perspective 10 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.triangle_strip.noperspective [all …]
|
/third_party/vk-gl-cts/android/cts/main/vk-master-2022-03-01/ |
D | fragment-shading-barycentric.txt | 1 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.point_list.perspective 2 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.point_list.noperspective 3 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.line_list.perspective 4 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.line_list.noperspective 5 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.line_strip.perspective 6 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.line_strip.noperspective 7 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.triangle_list.perspective 8 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.triangle_list.noperspective 9 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.triangle_strip.perspective 10 dEQP-VK.fragment_shading_barycentric.weights.pipeline_topology_static.0.triangle_strip.noperspective [all …]
|
/third_party/flutter/skia/include/core/ |
D | SkVertices.h | 54 float weights[4]; member 60 desc += std::to_string(weights[0]) + " " + std::to_string(weights[1]) + " " + in dump() 61 std::to_string(weights[2]) + " " + std::to_string(weights[3]); in dump() 68 return weights[i]; 74 return weights[i];
|
/third_party/vk-gl-cts/modules/gles2/stress/ |
D | es2sDrawTests.cpp | 200 float weights[SIZE]; member 205 weights[i] = 1.0f; in UniformWeightArray() 312 …pec::Primitive> (DE_ARRAY_BEGIN(primitives), DE_ARRAY_END(primitives), primitiveWeights.weights); in init() 314 …:DrawMethod> (DE_ARRAY_BEGIN(drawMethods), DE_ARRAY_END(drawMethods), drawMethodWeights.weights); in init() 315 …pec::IndexType> (DE_ARRAY_BEGIN(indexTypes), DE_ARRAY_END(indexTypes), indexTypeWeights.weights); in init() 317 …TestSpec::Storage> (DE_ARRAY_BEGIN(storages), DE_ARRAY_END(storages), storageWeights.weights); in init() 332 …pec::InputType> (DE_ARRAY_BEGIN(inputTypes), DE_ARRAY_END(inputTypes), inputTypeWeights.weights); in init() 333 …:OutputType> (DE_ARRAY_BEGIN(outputTypes), DE_ARRAY_END(outputTypes), outputTypeWeights.weights); in init() 334 …TestSpec::Storage> (DE_ARRAY_BEGIN(storages), DE_ARRAY_END(storages), storageWeights.weights); in init() 335 …ls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights); in init()
|
/third_party/ffmpeg/libavcodec/ |
D | mss3.c | 46 int weights[16], freqs[16]; member 53 int weights[256], freqs[256]; member 167 m->weights[val]++; in model_update() 176 m->weights[i] = (m->weights[i] + 1) >> 1; in model_update() 177 m->tot_weight += m->weights[i]; in model_update() 183 sum += m->weights[i]; in model_update() 198 m->weights[i] = 1; in model_reset() 199 m->weights[m->num_syms - 1] = 0; in model_reset() 222 m->weights[val]++; in model256_update() 231 m->weights[i] = (m->weights[i] + 1) >> 1; in model256_update() [all …]
|
/third_party/ffmpeg/libavcodec/mips/ |
D | simple_idct_msa.c | 27 v8i16 weights = { 0, 22725, 21407, 19266, 16383, 12873, 8867, 4520 }; in simple_idct_msa() local 53 w2 = (v4i32) __msa_splati_h(weights, 2); in simple_idct_msa() 55 w4 = (v4i32) __msa_splati_h(weights, 4); in simple_idct_msa() 57 w6 = (v4i32) __msa_splati_h(weights, 6); in simple_idct_msa() 80 SPLATI_H4_SH(weights, 1, 3, 5, 7, w1, w3, w5, w7); in simple_idct_msa() 126 w2 = (v4i32) __msa_splati_h(weights, 2); in simple_idct_msa() 128 w4 = (v4i32) __msa_splati_h(weights, 4); in simple_idct_msa() 130 w6 = (v4i32) __msa_splati_h(weights, 6); in simple_idct_msa() 153 SPLATI_H4_SH(weights, 1, 3, 5, 7, w1, w3, w5, w7); in simple_idct_msa() 190 v8i16 weights = { 0, 22725, 21407, 19266, 16383, 12873, 8867, 4520 }; in simple_idct_put_msa() local [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/SupportFunctions/ |
D | arm_barycenter_f32.c | 54 const float32_t *weights, in arm_barycenter_f32() argument 70 pW = weights; in arm_barycenter_f32() 199 void arm_barycenter_f32(const float32_t *in, const float32_t *weights, float32_t *out, uint32_t nbV… in arm_barycenter_f32() argument 214 pW = weights; in arm_barycenter_f32() 352 void arm_barycenter_f32(const float32_t *in, const float32_t *weights, float32_t *out, uint32_t nbV… in arm_barycenter_f32() argument 365 pW = weights; in arm_barycenter_f32()
|
/third_party/skia/include/private/ |
D | SkPathRef.h | 44 int points, weights; member 67 SkPathRef(SkTDArray<SkPoint> points, SkTDArray<uint8_t> verbs, SkTDArray<SkScalar> weights, in SkPathRef() argument 71 , fConicWeights(std::move(weights)) in SkPathRef() 126 SkScalar** weights = nullptr) { 127 return fPathRef->growForRepeatedVerb(verb, numVbs, weights); 446 SkPoint* growForRepeatedVerb(int /*SkPath::Verb*/ verb, int numVbs, SkScalar** weights);
|