Home
last modified time | relevance | path

Searched refs:coefficients (Results 1 – 25 of 234) sorted by relevance

12345678910

/third_party/flutter/flutter/packages/flutter/test/gestures/
Dlsq_solver_test.dart23 expect(fit.coefficients.length, 2);
24 expect(approx(fit.coefficients[0], 1.0), isTrue);
25 expect(approx(fit.coefficients[1], 0.0), isTrue);
37 expect(fit.coefficients.length, 2);
38 expect(approx(fit.coefficients[0], 1.0), isTrue);
39 expect(approx(fit.coefficients[1], 1.0), isTrue);
51 expect(fit.coefficients.length, 3);
52 expect(approx(fit.coefficients[0], 1.0), isTrue);
53 expect(approx(fit.coefficients[1], 0.0), isTrue);
54 expect(approx(fit.coefficients[2], 0.0), isTrue);
[all …]
/third_party/ffmpeg/libavcodec/
Ddctref.c35 static double coefficients[8 * 8]; variable
46 coefficients[j] = sqrt(0.125); in ff_ref_dct_init()
48 coefficients[i + j] = 0.5 * cos(i * (j + 0.5) * M_PI / 64.0); in ff_ref_dct_init()
71 tmp += coefficients[i + k] * block[k * 8 + j]; in ff_ref_fdct()
82 tmp += out[i + k] * coefficients[j * 8 + k]; in ff_ref_fdct()
107 tmp += block[i + k] * coefficients[k * 8 + j]; in ff_ref_idct()
118 tmp += coefficients[k + i] * out[k + j]; in ff_ref_idct()
/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/
DPolyphaseResamplerMono.cpp47 const float *coefficients = &mCoefficients[mCoefficientCursor]; in readFrame() local
52 sum += *xFrame++ * *coefficients++; in readFrame()
53 sum += *xFrame++ * *coefficients++; in readFrame()
54 sum += *xFrame++ * *coefficients++; in readFrame()
55 sum += *xFrame++ * *coefficients++; in readFrame()
DPolyphaseResamplerStereo.cpp51 const float *coefficients = &mCoefficients[mCoefficientCursor]; in readFrame() local
56 float coefficient = *coefficients++; in readFrame()
60 coefficient = *coefficients++; // next tap in readFrame()
64 coefficient = *coefficients++; // next tap in readFrame()
68 coefficient = *coefficients++; // next tap in readFrame()
DPolyphaseResampler.cpp44 float *coefficients = &mCoefficients[mCoefficientCursor]; in readFrame() local
47 float coefficient = *coefficients++; in readFrame()
/third_party/flutter/skia/src/gpu/gl/
DGrGLPathRendering.cpp147 float coefficients[3 * 3]; in setProgramPathFragmentInputTransform() local
150 coefficients[0] = SkScalarToFloat(matrix[SkMatrix::kMScaleX]); in setProgramPathFragmentInputTransform()
151 coefficients[1] = SkScalarToFloat(matrix[SkMatrix::kMSkewX]); in setProgramPathFragmentInputTransform()
152 coefficients[2] = SkScalarToFloat(matrix[SkMatrix::kMTransX]); in setProgramPathFragmentInputTransform()
155 coefficients[3] = SkScalarToFloat(matrix[SkMatrix::kMSkewY]); in setProgramPathFragmentInputTransform()
156 coefficients[4] = SkScalarToFloat(matrix[SkMatrix::kMScaleY]); in setProgramPathFragmentInputTransform()
157 coefficients[5] = SkScalarToFloat(matrix[SkMatrix::kMTransY]); in setProgramPathFragmentInputTransform()
161 coefficients[6] = SkScalarToFloat(matrix[SkMatrix::kMPersp0]); in setProgramPathFragmentInputTransform()
162 coefficients[7] = SkScalarToFloat(matrix[SkMatrix::kMPersp1]); in setProgramPathFragmentInputTransform()
163 coefficients[8] = SkScalarToFloat(matrix[SkMatrix::kMPersp2]); in setProgramPathFragmentInputTransform()
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/gestures/
Dlsq_solver.dart68 /// There are n + 1 coefficients in a fit of degree n.
69 PolynomialFit(int degree) : coefficients = Float64List(degree + 1);
71 /// The polynomial coefficients of the fit.
72 final List<double> coefficients;
146 // We just work from bottom-right to top-left calculating B's coefficients.
151 result.coefficients[i] = q.getRow(i) * wy;
153 result.coefficients[i] -= r.get(i, j) * result.coefficients[j];
154 result.coefficients[i] /= r.get(i, i);
171 double err = y[h] - result.coefficients[0];
174 err -= term * result.coefficients[i];
/third_party/openGLES/extensions/APPLE/
DAPPLE_vertex_program_evaluators.txt39 The 1D and 2D evaluator order, domain, and coefficients are given as
42 The evaluator order, domain, and coefficients may be queried with
47 (1) Normal evaluators provide separate storage for the coefficients of
50 coefficients and 4-element vertex coefficients. Does this extension
54 Storage is only provided for one set of coefficients per vertex attrib
56 coefficients associated with any other <size> are replaced.
143 coefficients
145 coefficients
/third_party/skia/third_party/externals/opengl-registry/extensions/APPLE/
DAPPLE_vertex_program_evaluators.txt39 The 1D and 2D evaluator order, domain, and coefficients are given as
42 The evaluator order, domain, and coefficients may be queried with
47 (1) Normal evaluators provide separate storage for the coefficients of
50 coefficients and 4-element vertex coefficients. Does this extension
54 Storage is only provided for one set of coefficients per vertex attrib
56 coefficients associated with any other <size> are replaced.
143 coefficients
145 coefficients
/third_party/boost/libs/math/doc/internals/
Drational.qbk70 the coefficients stored in /poly/.
73 most have order /count-1/ with /count/ coefficients. Otherwise it has
74 order /N-1/ with /N/ coefficients.
76 Coefficients should be stored such that the coefficients for the x[super i] terms
79 The types of the coefficients and of variable
119 the coefficients stored in /num/ and /denom/.
122 polynomials most have order /count-1/ with /count/ coefficients.
123 Otherwise both polynomials have order /N-1/ with /N/ coefficients.
127 Coefficients should be stored such that the coefficients for the x[super i ] terms
130 The types of the coefficients and of variable
[all …]
Drecurrence.qbk34 a functor that returns a tuple containing the 3 coefficients, specifically, given a recurrence rela…
104 …[[get_coefs] [Functor that returns the coefficients of the recurrence relation. The coefficients
121 …[[get_coefs] [Functor that returns the coefficients of the recurrence relation. The coefficients
/third_party/libjpeg-turbo/
Dwizard.txt28 size, since more bits than necessary are expended on higher AC coefficients.
175 0: 1-2, 0, 0 ; # First two Y AC coefficients
177 1: 1-63, 0, 0 ; # All AC coefficients for Cb
178 2: 1-63, 0, 0 ; # All AC coefficients for Cr
179 0: 6-9, 0, 0 ; # More Y coefficients
180 0: 10-63, 0, 0 ; # Remaining Y coefficients
187 # First AC scan: send first 5 Y AC coefficients, minus 2 lowest bits:
189 # Send all Cr,Cb AC coefficients, minus lowest bit:
194 # Send remaining Y AC coefficients, minus 2 lowest bits:
196 # Send next-to-lowest bit of all Y AC coefficients:
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dwizard.txt28 size, since more bits than necessary are expended on higher AC coefficients.
175 0: 1-2, 0, 0 ; # First two Y AC coefficients
177 1: 1-63, 0, 0 ; # All AC coefficients for Cb
178 2: 1-63, 0, 0 ; # All AC coefficients for Cr
179 0: 6-9, 0, 0 ; # More Y coefficients
180 0: 10-63, 0, 0 ; # Remaining Y coefficients
187 # First AC scan: send first 5 Y AC coefficients, minus 2 lowest bits:
189 # Send all Cr,Cb AC coefficients, minus lowest bit:
194 # Send remaining Y AC coefficients, minus 2 lowest bits:
196 # Send next-to-lowest bit of all Y AC coefficients:
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/
Dwizard.txt28 size, since more bits than necessary are expended on higher AC coefficients.
175 0: 1-2, 0, 0 ; # First two Y AC coefficients
177 1: 1-63, 0, 0 ; # All AC coefficients for Cb
178 2: 1-63, 0, 0 ; # All AC coefficients for Cr
179 0: 6-9, 0, 0 ; # More Y coefficients
180 0: 10-63, 0, 0 ; # Remaining Y coefficients
187 # First AC scan: send first 5 Y AC coefficients, minus 2 lowest bits:
189 # Send all Cr,Cb AC coefficients, minus lowest bit:
194 # Send remaining Y AC coefficients, minus 2 lowest bits:
196 # Send next-to-lowest bit of all Y AC coefficients:
[all …]
/third_party/openGLES/extensions/SGI/
DGLU_SGI_filter4_parameters.txt25 This extension provides interpolation coefficients just as they are required
32 By calculating the cross product of coefficients in 2D or 3D, 4x4 and 4x4x4
33 interpolation coefficients can be derived by other software, using this two
36 The coefficients are produced by one or another mathematical scheme.
45 redundant ones) are used to produce coefficients resulting in images at a
86 After the coefficients are successfully generated and saved in weights,
/third_party/skia/third_party/externals/opengl-registry/extensions/SGI/
DGLU_SGI_filter4_parameters.txt25 This extension provides interpolation coefficients just as they are required
32 By calculating the cross product of coefficients in 2D or 3D, 4x4 and 4x4x4
33 interpolation coefficients can be derived by other software, using this two
36 The coefficients are produced by one or another mathematical scheme.
45 redundant ones) are used to produce coefficients resulting in images at a
86 After the coefficients are successfully generated and saved in weights,
/third_party/boost/libs/math/doc/background/
Dlanczos.qbk70 With individual coefficients defined in closed form by:
80 with the leading constants absorbed by the coefficients in the sum:
93 choose to define the sum from k=1 to N, and hence end up with N+1 coefficients.
101 The coefficients C0..CN-1 need to be computed from /N/ and /g/
103 Calculation of the coefficients is performed via the method of __godfrey;
142 can be done with a number of guard digits /and/ the coefficients are stored
182 and doing so changes the coefficients so that /they are all positive/. That
184 error, albeit with double the number of coefficients for a given N. Repeating
191 to rational form doubles the number of stored coefficients, it should be
217 all the coefficients by exp(g):
/third_party/pixman/test/
Dstress-test.c263 pixman_fixed_t *coefficients = NULL; in create_random_bits_image() local
396 coefficients = malloc (n_coefficients * sizeof (pixman_fixed_t)); in create_random_bits_image()
398 if (coefficients) in create_random_bits_image()
403 coefficients[i + 2] = prng_rand(); in create_random_bits_image()
405 coefficients[0] = width << 16; in create_random_bits_image()
406 coefficients[1] = height << 16; in create_random_bits_image()
422 pixman_image_set_filter (image, filter, coefficients, n_coefficients); in create_random_bits_image()
/third_party/boost/libs/math/test/
Dchebyshev_transform_test.cpp182 BOOST_CHECK_CLOSE_FRACTION(cheb0.coefficients()[0], 2, tol); in test_chebyshev_chebyshev_transform()
195 BOOST_CHECK_CLOSE_FRACTION(cheb1.coefficients()[1], 1, tol); in test_chebyshev_chebyshev_transform()
215 BOOST_CHECK_CLOSE_FRACTION(cheb2.coefficients()[2], 1, tol); in test_chebyshev_chebyshev_transform()
/third_party/ffmpeg/doc/
Dswscale.txt86 Filter coefficients:
89 sinc, ...). Their coefficients are calculated in initFilter().
90 Horizontal filter coefficients have a 1.0 point at 1 << 14, vertical ones at
/third_party/boost/libs/math/example/daubechies_wavelets/
Dbootstrap_chebyshev.cpp12 std::cout << "Number of coefficients = " << cheb.coefficients().size() << "\n"; in bootstrap()
/third_party/openGLES/extensions/NV/
DNV_clip_space_w_scaling.txt70 should specify A and B coefficients of the w-scaling equation above,
113 The coefficients for "x" and "y" used in the above equation depend on the
118 The viewport specified by <index> has its coefficients for "x" and "y"
119 set to the <xcoeff> and <ycoeff> values. Specifying these coefficients
134 the x and y coefficients of the w-scaling equation above, that have the
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_clip_space_w_scaling.txt70 should specify A and B coefficients of the w-scaling equation above,
113 The coefficients for "x" and "y" used in the above equation depend on the
118 The viewport specified by <index> has its coefficients for "x" and "y"
119 set to the <xcoeff> and <ycoeff> values. Specifying these coefficients
134 the x and y coefficients of the w-scaling equation above, that have the
/third_party/boost/libs/geometry/doc/other/maxima/
Dgeod.mac145 print("// The coefficients C1[l] in the Fourier expansion of B1
174 print("// The coefficients C1p[l] in the Fourier expansion of B1p
193 print("// The coefficients C2[l] in the Fourier expansion of B2
212 print("// The coefficients C3[l] in the Fourier expansion of B3
/third_party/boost/libs/math/doc/sf/
Dpolygamma.qbk68 The coefficients of the cosine terms can be calculated iteratively starting
73 to generate coefficients for n+1.

12345678910