Home
last modified time | relevance | path

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

12345678

/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/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
DReedSolomonGenerator.java50 byte[] coefficients = new byte[degree]; in ReedSolomonGenerator()
51 coefficients[degree - 1] = 1; // Start off with the monomial x^0 in ReedSolomonGenerator()
59 for (int j = 0; j < coefficients.length; j++) { in ReedSolomonGenerator()
60 coefficients[j] = (byte)multiply(coefficients[j] & 0xFF, root); in ReedSolomonGenerator()
61 if (j + 1 < coefficients.length) in ReedSolomonGenerator()
62 coefficients[j] ^= coefficients[j + 1]; in ReedSolomonGenerator()
70 polynomialMultiply[i][j] = (byte)multiply(i, coefficients[j] & 0xFF); in ReedSolomonGenerator()
/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/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/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/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/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/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/openssl/doc/internal/man3/
Dossl_rsa_get0_all_params.pod21 ossl_rsa_set0_all_params() sets all primes, CRT exponents and CRT coefficients
26 ossl_rsa_get0_all_params() gets all primes, CRT exponents and CRT coefficients
49 the I<coeffs> stack contains I<qInv>, and then the rest of the coefficients
55 the number of coefficients must be one less than the number of primes.
/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/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/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
Dsnow.txt209 half pel interpolation filter coefficients, hcoeff[0] are the 2 middle
210 coefficients [1] are the next outer ones and so on, resulting in a filter
212 the sign of the coefficients is not explicitly stored but alternates
215 of all stored coefficients with signs from 32
618 …nsformed predicted image (motion compensated image) as context for coding the residual coefficients
619 try the MV length as context for coding the residual coefficients
/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/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/pulseaudio/src/utils/
Dqpaeq448 self.filter_state.coefficients[i]=self.slider2coef(v)/math.sqrt(2.0)
453 slider.setValue(self.coef2slider(math.sqrt(2.0)*self.filter_state.coefficients[i]))
502 self.coefficients=[0.0]*len(self.frequencies)
510 self.sink.SeedFilter(self.channel,self.filter_frequencies,self.coefficients,self.preamp)
514 self.coefficients=coefs
/third_party/python/Lib/test/decimaltestdata/
Dcopysign.decTest75 -- full coefficients, alternating bits
134 -- full coefficients, alternating bits
DddCopySign.decTest73 -- full coefficients, alternating bits
132 -- full coefficients, alternating bits
DdqCopySign.decTest73 -- full coefficients, alternating bits
132 -- full coefficients, alternating bits
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_point_parameters.txt223 The distance attenuation function coefficients, 'a', 'b', and 'c',
235 <params> points to the coefficients 'a', 'b', and 'c'. If <pname>
346 coefficients

12345678