Searched defs:coefficients (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
H A Dfilter_ar_fast_q12.c18 const int16_t* __restrict coefficients,
32 sum += coefficients[j] * data_out[i - j];
35 output = coefficients[0] * data_in[i];
16 WebRtcSpl_FilterARFastQ12(const int16_t* data_in, int16_t* data_out, const int16_t* __restrict coefficients, int coefficients_length, int data_length) argument
H A Ddownsample_fast.c19 const int16_t* __restrict coefficients,
38 out_s32 += coefficients[j] * data_in[i - j]; // Q12.
15 WebRtcSpl_DownsampleFastC(const int16_t* data_in, int data_in_length, int16_t* data_out, int data_out_length, const int16_t* __restrict coefficients, int coefficients_length, int factor, int delay) argument
H A Ddownsample_fast_mips.c18 const int16_t* __restrict coefficients,
32 int16_t* p_coefficients_0 = (int16_t*)&coefficients[0];
14 WebRtcSpl_DownsampleFast_mips(const int16_t* data_in, int data_in_length, int16_t* data_out, int data_out_length, const int16_t* __restrict coefficients, int coefficients_length, int factor, int delay) argument
H A Dfilter_ar_fast_q12_mips.c16 const int16_t* __restrict coefficients,
35 "lh %[coef0], 0(%[coefficients]) \n\t"
42 " addu %[coefptr], %[coefficients], %[offset] \n\t"
64 "addu %[coefptr], %[coefficients], %[offset] \n\t"
107 "addu %[coefptr], %[coefficients], %[offset] \n\t"
131 : [coefficients] "r" (coefficients), [data_length] "r" (data_length),
14 WebRtcSpl_FilterARFastQ12(const int16_t* data_in, int16_t* data_out, const int16_t* __restrict coefficients, int coefficients_length, int data_length) argument
/external/eigen/doc/special_examples/
H A DTutorial_sparse_example.cpp7 void buildProblem(std::vector<T>& coefficients, Eigen::VectorXd& b, int n);
16 std::vector<T> coefficients; // list of non-zeros coefficients local
18 buildProblem(coefficients, b, n);
21 A.setFromTriplets(coefficients.begin(), coefficients.end());
H A DTutorial_sparse_example_details.cpp19 void buildProblem(std::vector<T>& coefficients, Eigen::VectorXd& b, int n) argument
28 insertCoefficient(id, i-1,j, -1, coefficients, b, boundary);
29 insertCoefficient(id, i+1,j, -1, coefficients, b, boundary);
30 insertCoefficient(id, i,j-1, -1, coefficients, b, boundary);
31 insertCoefficient(id, i,j+1, -1, coefficients, b, boundary);
32 insertCoefficient(id, i,j, 4, coefficients, b, boundary);
/external/chromium_org/third_party/webrtc/common_audio/
H A Dfir_filter_neon.cc21 FIRFilterNEON::FIRFilterNEON(const float* coefficients, argument
32 // Add zeros at the end of the coefficients.
35 // The coefficients are reversed to compensate for the order in which the
38 coefficients_[i + padding] = coefficients[coefficients_length - i - 1];
H A Dfir_filter_sse.cc21 FIRFilterSSE2::FIRFilterSSE2(const float* coefficients, argument
32 // Add zeros at the end of the coefficients.
35 // The coefficients are reversed to compensate for the order in which the
38 coefficients_[i + padding] = coefficients[coefficients_length - i - 1];
H A Dfir_filter.cc25 FIRFilterC(const float* coefficients,
37 FIRFilter* FIRFilter::Create(const float* coefficients, argument
40 if (!coefficients || coefficients_length <= 0 || max_input_length <= 0) {
50 new FIRFilterSSE2(coefficients, coefficients_length, max_input_length);
55 new FIRFilterSSE2(coefficients, coefficients_length, max_input_length);
57 filter = new FIRFilterC(coefficients, coefficients_length);
63 new FIRFilterNEON(coefficients, coefficients_length, max_input_length);
68 new FIRFilterNEON(coefficients, coefficients_length, max_input_length);
70 filter = new FIRFilterC(coefficients, coefficients_length);
74 filter = new FIRFilterC(coefficients, coefficients_lengt
80 FIRFilterC(const float* coefficients, size_t coefficients_length) argument
[all...]
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrBicubicEffect.h27 const float* coefficients() const { return fCoefficients; } function in class:GrBicubicEffect
37 * Create a simple filter effect with custom bicubic coefficients and optional domain.
39 static GrFragmentProcessor* Create(GrTexture* tex, const SkScalar coefficients[16], argument
44 return Create(tex, coefficients, GrCoordTransform::MakeDivByTextureWHMatrix(tex),
47 return SkNEW_ARGS(GrBicubicEffect, (tex, coefficients,
62 * Create a filter effect with custom bicubic coefficients, the texture matrix, and the x/y
65 static GrFragmentProcessor* Create(GrTexture* tex, const SkScalar coefficients[16], argument
68 return SkNEW_ARGS(GrBicubicEffect, (tex, coefficients, matrix, tileModes));
90 GrBicubicEffect(GrTexture*, const SkScalar coefficients[16],
92 GrBicubicEffect(GrTexture*, const SkScalar coefficients[1
[all...]
H A DGrBicubicEffect.cpp77 GrGLShaderVar("coefficients", kMat44f_GrSLType),
91 "\tvec4 c = coefficients * ts;\n"
126 pdman.setMatrix4f(fCoefficientsUni, bicubicEffect.coefficients());
140 const SkScalar coefficients[16],
145 convert_row_major_scalar_coeffs_to_column_major_floats(fCoefficients, coefficients);
149 const SkScalar coefficients[16],
155 convert_row_major_scalar_coeffs_to_column_major_floats(fCoefficients, coefficients);
168 !memcmp(fCoefficients, s.coefficients(), 16) &&
186 SkScalar coefficients[16]; local
188 coefficients[
139 GrBicubicEffect(GrTexture* texture, const SkScalar coefficients[16], const SkMatrix &matrix, const SkShader::TileMode tileModes[2]) argument
148 GrBicubicEffect(GrTexture* texture, const SkScalar coefficients[16], const SkMatrix &matrix, const SkRect& domain) argument
[all...]
/external/skia/src/gpu/effects/
H A DGrBicubicEffect.h28 const float* coefficients() const { return fCoefficients; } function in class:GrBicubicEffect
38 * Create a simple filter effect with custom bicubic coefficients and optional domain.
40 static GrEffectRef* Create(GrTexture* tex, const SkScalar coefficients[16], argument
45 return Create(tex, coefficients, MakeDivByTextureWHMatrix(tex), kTileModes);
47 AutoEffectUnref effect(SkNEW_ARGS(GrBicubicEffect, (tex, coefficients,
63 * Create a filter effect with custom bicubic coefficients, the texture matrix, and the x/y
66 static GrEffectRef* Create(GrTexture* tex, const SkScalar coefficients[16], argument
68 AutoEffectUnref effect(SkNEW_ARGS(GrBicubicEffect, (tex, coefficients, matrix, tileModes)));
92 GrBicubicEffect(GrTexture*, const SkScalar coefficients[16],
94 GrBicubicEffect(GrTexture*, const SkScalar coefficients[1
[all...]
H A DGrBicubicEffect.cpp68 GrGLShaderVar("coefficients", kMat44f_GrSLType),
80 "\tvec4 c = coefficients * ts;\n"
115 uman.setMatrix4f(fCoefficientsUni, effect.coefficients());
129 const SkScalar coefficients[16],
134 convert_row_major_scalar_coeffs_to_column_major_floats(fCoefficients, coefficients);
138 const SkScalar coefficients[16],
144 convert_row_major_scalar_coeffs_to_column_major_floats(fCoefficients, coefficients);
157 !memcmp(fCoefficients, s.coefficients(), 16);
174 SkScalar coefficients[16]; local
176 coefficients[
128 GrBicubicEffect(GrTexture* texture, const SkScalar coefficients[16], const SkMatrix &matrix, const SkShader::TileMode tileModes[2]) argument
137 GrBicubicEffect(GrTexture* texture, const SkScalar coefficients[16], const SkMatrix &matrix, const SkRect& domain) argument
[all...]
/external/skia/src/effects/
H A DSkBicubicImageFilter.cpp32 SkBicubicImageFilter::SkBicubicImageFilter(const SkSize& scale, const SkScalar coefficients[16], SkImageFilter* input) argument
35 memcpy(fCoefficients, coefficients, sizeof(fCoefficients));
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DCubicUtilities.cpp39 void coefficients(const double* cubic, double& A, double& B, double& C, double& D) { function
/external/chromium_org/third_party/skia/src/core/
H A DSkScalerContext.cpp270 // The strategy is to use one FIR (different coefficients) for each of r, g, and b.
272 // The FIRs are aligned, and the coefficients reach 5 samples to each side of their 'center'.
286 static const unsigned int coefficients[LCD_PER_PIXEL][SAMPLES_PER_PIXEL*3] = { local
308 fir[subpxl_index] += coefficients[subpxl_index][coeff_index] * sample_value;
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLPathRendering.cpp300 const GrGLfloat* coefficients) {
307 !memcmp(coefficients, fHWPathTexGenSettings[unitIdx].fCoefficients,
315 GL_CALL(PathTexGen(GR_GL_TEXTURE0 + unitIdx, GR_GL_OBJECT_LINEAR, components, coefficients));
317 memcpy(fHWPathTexGenSettings[unitIdx].fCoefficients, coefficients,
323 GrGLfloat coefficients[3 * 3]; local
327 coefficients[0] = SkScalarToFloat(matrix[SkMatrix::kMScaleX]);
328 coefficients[1] = SkScalarToFloat(matrix[SkMatrix::kMSkewX]);
329 coefficients[2] = SkScalarToFloat(matrix[SkMatrix::kMTransX]);
332 coefficients[3] = SkScalarToFloat(matrix[SkMatrix::kMSkewY]);
333 coefficients[
299 enablePathTexGen(int unitIdx, PathTexGenComponents components, const GrGLfloat* coefficients) argument
373 GrGLfloat coefficients[3 * 3]; local
[all...]
/external/pixman/test/
H A Dstress-test.c248 pixman_fixed_t *coefficients = NULL; local
359 coefficients = malloc (n_coefficients * sizeof (pixman_fixed_t));
361 if (coefficients)
366 coefficients[i + 2] = prng_rand();
368 coefficients[0] = width << 16;
369 coefficients[1] = height << 16;
385 pixman_image_set_filter (image, filter, coefficients, n_coefficients);
/external/skia/experimental/Intersection/
H A DCubicUtilities.cpp39 void coefficients(const double* cubic, double& A, double& B, double& C, double& D) { function
/external/skia/src/core/
H A DSkScalerContext.cpp444 // The strategy is to use one FIR (different coefficients) for each of r, g, and b.
446 // The FIRs are aligned, and the coefficients reach 5 samples to each side of their 'center'.
460 static const unsigned int coefficients[LCD_PER_PIXEL][SAMPLES_PER_PIXEL*3] = { local
482 fir[subpxl_index] += coefficients[subpxl_index][coeff_index] * sample_value;
/external/skia/src/gpu/gl/
H A DGrGpuGL.cpp2407 const GrGLfloat* coefficients) {
2415 !memcmp(coefficients, fHWPathTexGenSettings[unitIdx].fCoefficients,
2426 coefficients));
2428 memcpy(fHWPathTexGenSettings[unitIdx].fCoefficients, coefficients,
2434 GrGLfloat coefficients[3 * 3]; local
2439 coefficients[0] = SkScalarToFloat(matrix[SkMatrix::kMScaleX]);
2440 coefficients[1] = SkScalarToFloat(matrix[SkMatrix::kMSkewX]);
2441 coefficients[2] = SkScalarToFloat(matrix[SkMatrix::kMTransX]);
2444 coefficients[3] = SkScalarToFloat(matrix[SkMatrix::kMSkewY]);
2445 coefficients[
2405 enablePathTexGen(int unitIdx, PathTexGenComponents components, const GrGLfloat* coefficients) argument
[all...]
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...

Completed in 706 milliseconds