Searched refs:coefficients (Results 1 - 25 of 73) sorted by relevance

123

/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.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...]
H A Dfir_filter.h21 // Creates a filter with the given coefficients. All initial state values will
27 static FIRFilter* Create(const float* coefficients,
H A Dfir_filter_neon.h22 FIRFilterNEON(const float* coefficients,
H A Dfir_filter_sse.h22 FIRFilterSSE2(const float* coefficients,
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];
/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 Dfilter_ar_fast_q12_armv7.S26 @ r2: &coefficients[0]
34 @ r10: coefficients[j]
36 @ r12: &coefficients[j]
51 sub r12, #4 @ &coefficients[coefficients_length - 2]
63 ldr r10, [r12], #-4 @ coefficients[j - 1], coefficients[j]
65 smlatt r8, r10, r5, r8 @ sum2 += coefficients[j] * data_out[i - j + 1];
66 smlatb r7, r10, r5, r7 @ sum1 += coefficients[j] * data_out[i - j];
67 smlabt r7, r10, r5, r7 @ coefficients[j - 1] * data_out[i - j + 1];
69 smlabb r8, r10, r5, r8 @ coefficients[
[all...]
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
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
/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/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/chromium_org/third_party/libjpeg_turbo/simd/
H A Djfss2fst-64.asm107 movdqa xmm4,xmm0 ; transpose coefficients(phase 1)
110 movdqa xmm5,xmm2 ; transpose coefficients(phase 1)
125 movdqa xmm2,xmm6 ; transpose coefficients(phase 1)
128 movdqa xmm5,xmm1 ; transpose coefficients(phase 1)
132 movdqa xmm7,xmm6 ; transpose coefficients(phase 2)
135 movdqa xmm3,xmm2 ; transpose coefficients(phase 2)
144 movdqa xmm7,xmm0 ; transpose coefficients(phase 2)
147 movdqa xmm2,xmm4 ; transpose coefficients(phase 2)
151 movdqa xmm1,xmm0 ; transpose coefficients(phase 3)
154 movdqa xmm5,xmm2 ; transpose coefficients(phas
[all...]
H A Djfss2fst.asm113 movdqa xmm4,xmm0 ; transpose coefficients(phase 1)
116 movdqa xmm5,xmm2 ; transpose coefficients(phase 1)
131 movdqa xmm2,xmm6 ; transpose coefficients(phase 1)
134 movdqa xmm5,xmm1 ; transpose coefficients(phase 1)
138 movdqa xmm7,xmm6 ; transpose coefficients(phase 2)
141 movdqa xmm3,xmm2 ; transpose coefficients(phase 2)
150 movdqa xmm7,xmm0 ; transpose coefficients(phase 2)
153 movdqa xmm2,xmm4 ; transpose coefficients(phase 2)
157 movdqa xmm1,xmm0 ; transpose coefficients(phase 3)
160 movdqa xmm5,xmm2 ; transpose coefficients(phas
[all...]
H A Djfsseflt-64.asm94 movaps xmm4,xmm0 ; transpose coefficients(phase 1)
97 movaps xmm5,xmm2 ; transpose coefficients(phase 1)
112 movaps xmm4,xmm6 ; transpose coefficients(phase 1)
115 movaps xmm2,xmm1 ; transpose coefficients(phase 1)
119 movaps xmm7,xmm6 ; transpose coefficients(phase 2)
122 movaps xmm3,xmm2 ; transpose coefficients(phase 2)
138 movaps xmm7,xmm4 ; transpose coefficients(phase 2)
141 movaps xmm6,xmm1 ; transpose coefficients(phase 2)
229 movaps xmm4,xmm0 ; transpose coefficients(phase 1)
232 movaps xmm5,xmm2 ; transpose coefficients(phas
[all...]
H A Djiss2fst-64.asm79 ; Perform dequantization and inverse DCT on one block of coefficients.
246 movdqa xmm3,xmm6 ; transpose coefficients(phase 1)
249 movdqa xmm0,xmm5 ; transpose coefficients(phase 1)
267 movdqa xmm4,xmm7 ; transpose coefficients(phase 1)
270 movdqa xmm2,xmm1 ; transpose coefficients(phase 1)
274 movdqa xmm0,xmm3 ; transpose coefficients(phase 2)
277 movdqa xmm5,xmm6 ; transpose coefficients(phase 2)
287 movdqa xmm3,xmm1 ; transpose coefficients(phase 2)
290 movdqa xmm0,xmm2 ; transpose coefficients(phase 2)
294 movdqa xmm4,xmm6 ; transpose coefficients(phas
[all...]
H A Djiss2fst.asm78 ; Perform dequantization and inverse DCT on one block of coefficients.
253 movdqa xmm3,xmm6 ; transpose coefficients(phase 1)
256 movdqa xmm0,xmm5 ; transpose coefficients(phase 1)
274 movdqa xmm4,xmm7 ; transpose coefficients(phase 1)
277 movdqa xmm2,xmm1 ; transpose coefficients(phase 1)
281 movdqa xmm0,xmm3 ; transpose coefficients(phase 2)
284 movdqa xmm5,xmm6 ; transpose coefficients(phase 2)
294 movdqa xmm3,xmm1 ; transpose coefficients(phase 2)
297 movdqa xmm0,xmm2 ; transpose coefficients(phase 2)
301 movdqa xmm4,xmm6 ; transpose coefficients(phas
[all...]
H A Djfss2int-64.asm128 movdqa xmm4,xmm0 ; transpose coefficients(phase 1)
131 movdqa xmm5,xmm2 ; transpose coefficients(phase 1)
146 movdqa xmm2,xmm6 ; transpose coefficients(phase 1)
149 movdqa xmm5,xmm1 ; transpose coefficients(phase 1)
153 movdqa xmm7,xmm6 ; transpose coefficients(phase 2)
156 movdqa xmm3,xmm2 ; transpose coefficients(phase 2)
165 movdqa xmm7,xmm0 ; transpose coefficients(phase 2)
168 movdqa xmm2,xmm4 ; transpose coefficients(phase 2)
172 movdqa xmm1,xmm0 ; transpose coefficients(phase 3)
175 movdqa xmm5,xmm2 ; transpose coefficients(phas
[all...]
/external/skia/include/effects/
H A DSkBicubicImageFilter.h32 @param coefficients The 16 coefficients of the bicubic matrix.
36 SkBicubicImageFilter(const SkSize& scale, const SkScalar coefficients[16],

Completed in 409 milliseconds

123