Searched refs:coeff (Results 1 - 25 of 302) sorted by last modified time

1234567891011>>

/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Dfilterbanks.c72 "ldr %[tmp_coeff0], [%[coeff]]\n\t"
73 "ldr %[tmp_coeff1], [%[coeff], #4]\n\t"
76 "ldr %[tmp_coeff0], [%[coeff], #8]\n\t"
77 "ldr %[tmp_coeff1], [%[coeff], #12]\n\t"
86 :[coeff]"r"(coefficient),
/external/webp/src/dsp/
H A Denc.c29 // Compute susceptibility based on DCT-coeff histograms:
609 const uint32_t coeff = (sign ? -in[j] : in[j]) + mtx->sharpen_[j]; local
610 if (coeff > mtx->zthresh_[j]) {
614 int level = QUANTDIV(coeff, iQ, B);
634 const uint32_t coeff = sign ? -in[j] : in[j]; local
636 if (coeff > mtx->zthresh_[j]) {
640 int level = QUANTDIV(coeff, iQ, B);
H A Denc_mips32.c171 "xor %[coeff], %[temp0], %[sign] \n\t" \
172 "subu %[coeff], %[coeff], %[sign] \n\t" \
173 "addu %[coeff], %[coeff], %[temp1] \n\t" \
174 "slt %[temp4], %[temp2], %[coeff] \n\t" \
181 "mul %[level], %[coeff], %[temp1] \n\t" \
196 int sign, coeff, level, i; local
228 [sign]"=&r"(sign), [coeff]"=&r"(coeff),
[all...]
/external/skia/src/core/
H A DSkGeometry.cpp361 static void get_cubic_coeff(const SkScalar pt[], SkScalar coeff[4]) {
362 coeff[0] = pt[6] + 3*(pt[2] - pt[4]) - pt[0];
363 coeff[1] = 3*(pt[4] - pt[2] - pt[2] + pt[0]);
364 coeff[2] = 3*(pt[2] - pt[0]);
365 coeff[3] = pt[0];
730 /* Solve coeff(t) == 0, returning the number of roots that
732 coeff[0]t^3 + coeff[1]t^2 + coeff[2]t + coeff[
[all...]
H A DSkValidationUtils.h14 /** Returns true if coeff's value is in the SkXfermode::Coeff enum.
16 static inline bool SkIsValidCoeff(SkXfermode::Coeff coeff) { argument
17 return coeff >= 0 && coeff < SkXfermode::kCoeffCount;
/external/skia/src/effects/
H A DSkColorFilters.cpp142 static inline ColorExpr blend_term(SkXfermode::Coeff coeff, argument
146 switch (coeff) {
148 SkFAIL("Unexpected xfer coeff.");
/external/skia/src/gpu/
H A DGrBlend.cpp11 static inline GrBlendCoeff swap_coeff_src_dst(GrBlendCoeff coeff) { argument
12 switch (coeff) {
30 return coeff;
65 // We could pick out the coeff r,g,b,a values here and use them to compute the blend term color,
140 // We call the same function to simplify the dst blend coeff. We trick it out by swapping the
H A DGrBlend.h15 static inline bool GrBlendCoeffRefsSrc(GrBlendCoeff coeff) { argument
16 switch (coeff) {
27 static inline bool GrBlendCoeffRefsDst(GrBlendCoeff coeff) { argument
28 switch (coeff) {
/external/skia/src/gpu/effects/
H A DGrBicubicEffect.cpp63 const char* coeff = builder->getUniformCStr(fCoefficientsUni); local
100 builder->fsCodeAppendf("\tvec4 s%d = %s(%s, f.x, rowColors[0], rowColors[1], rowColors[2], rowColors[3]);\n", y, cubicBlendName.c_str(), coeff);
103 bicubicColor.printf("%s(%s, f.y, s0, s1, s2, s3)", cubicBlendName.c_str(), coeff);
/external/skia/src/gpu/gl/
H A DGrGLShaderBuilder.cpp214 // default coeff to ones for kCoverage_DualSrcOutput
215 GrGLSLExpr4 coeff(1);
217 // Get (1-A) into coeff
218 coeff = GrGLSLExpr4::VectorCast(GrGLSLExpr1(1) - inputColor.a());
221 // Get (1-RGBA) into coeff
222 coeff = GrGLSLExpr4(1) - inputColor;
224 // Get coeff * coverage into modulate and then write that to the dual source output.
225 this->fsCodeAppendf("\t%s = %s;\n", secondaryOutputName, (coeff * inputCoverage).c_str());
H A DGrGpuGL.cpp60 bool GrGpuGL::BlendCoeffReferencesConstant(GrBlendCoeff coeff) { argument
83 return gCoeffReferencesBlendConst[coeff];
H A DGrGpuGL.h197 static bool BlendCoeffReferencesConstant(GrBlendCoeff coeff);
/external/skia/src/opts/
H A DSkBitmapFilter_opts_SSE2.cpp213 __m128i coeff, coeff16; local
215 coeff = _mm_loadl_epi64(reinterpret_cast<const __m128i*>(filter_values));
217 coeff16 = _mm_shufflelo_epi16(coeff, _MM_SHUFFLE(1, 1, 0, 0));
240 coeff16 = _mm_shufflelo_epi16(coeff, _MM_SHUFFLE(3, 3, 2, 2));
266 __m128i coeff, coeff16; local
267 coeff = _mm_loadl_epi64(reinterpret_cast<const __m128i*>(filter_values));
269 coeff = _mm_and_si128(coeff, mask[r]);
270 coeff16 = _mm_shufflelo_epi16(coeff, _MM_SHUFFLE(1, 1, 0, 0));
285 coeff16 = _mm_shufflelo_epi16(coeff, _MM_SHUFFL
339 __m128i coeff, coeff16lo, coeff16hi; local
382 __m128i coeff; local
[all...]
/external/skia/src/pathops/
H A DSkPathOpsCubic.cpp323 static void formulate_F1DotF2(const double src[], double coeff[4]) { argument
327 coeff[0] = c * c;
328 coeff[1] = 3 * b * c;
329 coeff[2] = 2 * b * b + c * a;
330 coeff[3] = a * b;
/external/skia/tools/
H A Dgenerate_fir_coeff.py90 coeff_diff = [(coeff_rounded - coeff) * delta
91 for coeff, coeff_rounded in zip(coeffs, coeffs_rounded)]
/external/skia/experimental/Intersection/
H A DCubicParameterizationCode.cpp158 struct coeff { struct
177 typedef std::vector<coeff> coeffs;
221 coeff c;
291 const coeff& cf = *ct;
H A DCubicUtilities.cpp317 static void formulate_F1DotF2(const double src[], double coeff[4]) argument
322 coeff[0] = c * c;
323 coeff[1] = 3 * b * c;
324 coeff[2] = 2 * b * b + c * a;
325 coeff[3] = a * b;
/external/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_wave.c82 Uint8 nybble, Sint16 *coeff)
92 new_sample = ((state->iSamp1 * coeff[0]) +
93 (state->iSamp2 * coeff[1]))/256;
121 Sint16 *coeff[2]; local
166 coeff[0] = MS_ADPCM_state.aCoeff[state[0]->hPredictor];
167 coeff[1] = MS_ADPCM_state.aCoeff[state[1]->hPredictor];
192 new_sample = MS_ADPCM_nibble(state[0],nybble,coeff[0]);
199 new_sample = MS_ADPCM_nibble(state[1],nybble,coeff[1]);
81 MS_ADPCM_nibble(struct MS_ADPCM_decodestate *state, Uint8 nybble, Sint16 *coeff) argument
/external/opencv/cv/src/
H A Dcvcornersubpix.cpp65 double coeff; local
132 coeff = 1. / (win.width * win.width);
137 maskX[k] = (float)exp( -i * i * coeff );
146 coeff = 1. / (win.height * win.height);
149 maskY[k] = (float) exp( -i * i * coeff );
/external/opencv/cvaux/src/
H A Dcveigenobjects.cpp1535 double coeff = DBL_MAX; local
1568 coeff = icvCalcDecompCoeff_8u32fR( obj_data, obj_step,
1574 return coeff;
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_arit.c2543 LLVMValueRef coeff; local
2545 coeff = lp_build_const_vec(bld->gallivm, type, coeffs[i]);
2549 even = lp_build_add(bld, coeff, lp_build_mul(bld, x2, even));
2551 even = coeff;
2554 odd = lp_build_add(bld, coeff, lp_build_mul(bld, x2, odd));
2556 odd = coeff;
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_mpeg12_bitstream.c52 struct dct_coeff coeff; member in struct:dct_coeff_compressed
549 struct dct_coeff coeff = src->coeff; local
552 switch (coeff.run) {
568 coeff.length += 1;
569 coeff.run = 1;
576 coeff.length += 1;
577 coeff.run = 1;
581 coeff.length += 1;
582 coeff
[all...]
/external/libvpx/armv7a/
H A Dvp8_rtcd.h45 int vp8_block_error_c(short *coeff, short *dqcoeff);
H A Dvp9_rtcd.h41 int64_t vp9_block_error_c(const int16_t *coeff, const int16_t *dqcoeff, intptr_t block_size, int64_t *ssz);
/external/libvpx/armv7a-neon/
H A Dvp8_rtcd.h49 int vp8_block_error_c(short *coeff, short *dqcoeff);

Completed in 1437 milliseconds

1234567891011>>