Searched defs:coef (Results 1 - 9 of 9) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Eq/src/
H A DLVEQNB_CalcCoef.c109 LVM_INT16 coef; local
138 * CosErr += coef(n) * t0^n For n = 0 to 4
146 coef = LVEQNB_DPCosCoef[i]; /* Get the nth coefficient */
147 CosErr += (factor * coef) >> 5; /* The nth partial sum */
240 LVM_INT16 coef; local
269 * Cos += coef(n) * t0^n For n = 0 to 6
277 coef = LVEQNB_CosCoef[i]; /* Get the nth coefficient */
278 COS_T0 += (factor * coef) >> 5; /* The nth partial sum */
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Daz_lsp.cpp390 Word16 *coef;
438 coef = f1;
441 ylow = Chebps (xlow, coef, NC);
451 ylow = Chebps (xlow, coef, NC);
462 ymid = Chebps (xmid, coef, NC);
514 coef = f2;
519 coef = f1;
521 ylow = Chebps (xlow, coef, NC);
584 Word16 *coef; local
632 coef
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Daz_isp.c69 Word16 *coef; local
110 coef = f1;
113 ylow = Chebps2(xlow, coef, order);
121 ylow = Chebps2(xlow, coef, order);
128 ymid = Chebps2(xmid, coef, order);
170 coef = f2;
175 coef = f1;
178 ylow = Chebps2(xlow, coef, order);
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
H A DLVPSA_Control.c484 LVM_INT16 coef; local
516 * Cos += coef(n) * t0^n For n = 0 to 6
524 coef = LVPSA_CosCoef[i]; /* Get the nth coefficient */
525 COS_T0 += (factor * coef) >> 5; /* The nth partial sum */
607 LVM_INT16 coef; local
638 * CosErr += coef(n) * t0^n For n = 0 to 4
646 coef = LVPSA_DPCosCoef[i]; /* Get the nth coefficient */
647 CosErr += (factor * coef) >> 5; /* The nth partial sum */
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dtns.h105 Word16 coef[TRANS_FAC*TNS_MAX_ORDER_SHORT]; member in struct:__anon376
/frameworks/av/services/audioflinger/
H A DAudioResamplerFirProcess.h27 void mac(int32_t& l, int32_t& r, TC coef, const int16_t* samples) argument
30 l = mulAddRL(1, rl, coef, l);
31 r = mulAddRL(0, rl, coef, r);
36 void mac(int32_t& l, TC coef, const int16_t* samples) argument
38 l = mulAdd(samples[0], coef, l);
44 void mac(float& l, float& r, TC coef, const float* samples) argument
46 l += *samples++ * coef;
47 r += *samples * coef;
52 void mac(float& l, TC coef, const float* samples) argument
54 l += *samples * coef;
88 acc(TC coef, const TI*& data) argument
[all...]
H A DAudioResamplerFirGen.h423 static inline double firTransfer(const T* coef, int L, int halfNumCoef, double w) { argument
424 double accum = static_cast<double>(coef[0])*0.5; // "center coefficient" from first bank
425 coef += halfNumCoef; // skip first filterbank (picked up by the last filterbank).
430 accum += cos(ix*w)*static_cast<double>(*coef++);
475 sc = static_cast<double>(*coef++) + dcos*sc - sp;
503 * @param coef is the designed polyphase filter banks
524 static void testFir(const T* coef, int L, int halfNumCoef, argument
530 double trf = firTransfer(coef, L, halfNumCoef, wstart);
537 trf = firTransfer(coef, L, halfNumCoef, wstart);
564 * @param coef i
596 testFir(const T* coef, int L, int halfNumCoef, double fp, double fs, int passSteps, int stopSteps, double &passMin, double &passMax, double &passRipple, double &stopMax, double &stopRipple) argument
643 firKaiserGen(T* coef, int L, int halfNumCoef, double stopBandAtten, double fcr, double atten) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dblock.cpp82 int16 *coef = video->block; local
91 coef += ((blkidx & 0x3) << 2) + ((blkidx >> 2) << 6); /* point to the 4x4 block */
109 coef[0] = r0 + r1;
110 coef[2] = r0 - r1;
111 coef[1] = (r3 << 1) + r2;
112 coef[3] = r3 - (r2 << 1);
114 coef += 16;
120 coef -= 64;
125 r0 = coef[0] + coef[4
262 int16 *coef, *coef8 = video->block; local
366 int16 *coef = video->block; local
729 int16 *coef = video->block + 256; local
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsics_x86.cpp81 const short *coef, uint32_t count) {
89 x = _mm_loadl_epi64((const __m128i *)(coef+0));
92 x = _mm_loadl_epi64((const __m128i *)(coef+4));
95 x = _mm_loadl_epi64((const __m128i *)(coef+8));
143 const short *coef, uint32_t count) {
157 c0 = _mm_loadl_epi64((const __m128i *)(coef+0));
158 c1 = _mm_loadl_epi64((const __m128i *)(coef+4));
161 c2 = _mm_loadl_epi64((const __m128i *)(coef+8));
162 c3 = _mm_loadl_epi64((const __m128i *)(coef+12));
198 const short *coef, uint32_
79 rsdIntrinsicConvolve3x3_K(void *dst, const void *y0, const void *y1, const void *y2, const short *coef, uint32_t count) argument
142 rsdIntrinsicColorMatrix4x4_K(void *dst, const void *src, const short *coef, uint32_t count) argument
197 rsdIntrinsicColorMatrix3x3_K(void *dst, const void *src, const short *coef, uint32_t count) argument
251 rsdIntrinsicColorMatrixDot_K(void *dst, const void *src, const short *coef, uint32_t count) argument
596 rsdIntrinsicConvolve5x5_K(void *dst, const void *y0, const void *y1, const void *y2, const void *y3, const void *y4, const short *coef, uint32_t count) argument
[all...]

Completed in 8598 milliseconds