Searched defs:coeff (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DDelayAllPass_Sat_32x16To32.c32 LVM_INT16 coeff, /* All pass filter coefficient */
46 MUL32x16INTO32(delay[AllPassOffset], coeff, temp, 15)
67 MUL32x16INTO32(c, -coeff, temp, 15)
30 DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, LVM_UINT16 size, LVM_INT16 coeff, LVM_UINT16 DelayOffset, LVM_UINT16 *pAllPassOffset, LVM_INT32 *dst, LVM_INT16 n) argument
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Disf_extrapolation.cpp122 int16 coeff, mean, tmp, tmp2, tmp3; local
231 coeff = div_16by16(tmp, tmp2); /* Coefficient for stretching the ISF vector */
236 tmp = mult_int16(sub_int16(HfIsf[i], HfIsf[i - 1]), coeff);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dqua_gain.cpp125 Word16 frac_coeff -- Word16 Array -- energy coeff. (5), fraction part, Q15
126 Word16 exp_coeff -- Word16 Array -- energy coeff. (5), exponent part, Q0
197 Word16 frac_coeff[], /* i : energy coeff. (5), fraction part, Q15 */
198 Word16 exp_coeff[], /* i : energy coeff. (5), exponent part, Q0 */
224 Word16 coeff[5]; local
317 L_Extract(L_tmp, &coeff[i], &coeff_lo[i], pOverflow);
351 L_tmp = Mpy_32_16(coeff[0], coeff_lo[0], g2_pitch, pOverflow);
352 L_tmp2 = Mpy_32_16(coeff[1], coeff_lo[1], g_pitch, pOverflow);
355 L_tmp2 = Mpy_32_16(coeff[2], coeff_lo[2], g2_code, pOverflow);
358 L_tmp2 = Mpy_32_16(coeff[
[all...]
H A Dqgain475.cpp799 sf0_exp_coeff = energy coeff. (exponent part) (Word16)
800 sf0_frac_coeff = energy coeff. ((fraction part) (Word16)
806 sf1_exp_coeff = energy coeff. (exponent part) (Word16)
807 sf1_frac_coeff = energy coeff. (fraction part) (Word16)
858 Word16 sf0_exp_coeff[], // i : energy coeff. (5), exponent part, Q0
859 Word16 sf0_frac_coeff[], // i : energy coeff. (5), fraction part, Q15
870 Word16 sf1_exp_coeff[], // i : energy coeff. (5), exponent part, Q0
871 Word16 sf1_frac_coeff[], // i : energy coeff. (5), fraction part, Q15
892 Word16 coeff[10], coeff_lo[10], exp_max[10]; // 0..4: sf0; 5..9: sf1
1018 L_Extract(L_tmp, &coeff[
1193 Word16 coeff[10]; local
[all...]
H A Dqgain795.cpp239 Word16 coeff[5]; local
298 L_Extract(L_tmp, &coeff[i], &coeff_lo[i], pOverflow);
325 L_tmp0 = Mpy_32_16(coeff[0], coeff_lo[0], g2_pitch, pOverflow);
326 L_tmp0 = Mac_32_16(L_tmp0, coeff[1], coeff_lo[1], g_pitch, pOverflow);
343 L_tmp = Mac_32(L_tmp0, coeff[2], coeff_lo[2],
345 L_tmp = Mac_32_16(L_tmp, coeff[3], coeff_lo[3],
347 L_tmp = Mac_32(L_tmp, coeff[4], coeff_lo[4],
508 Word16 coeff[5]; local
573 coeff[2] = mult(tmp, gain_pit, pOverflow);
579 coeff[
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastquant_inline.h30 __inline int32 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
32 q_value = coeff * q_value + round;
33 coeff = q_value >> 16;
34 if (coeff < 0) coeff += QPdiv2;
35 else coeff -= QPdiv2;
37 return coeff;
41 __inline int32 coeff_quant(int32 coeff, int32 q_scale, int32 shift) argument
45 q_value = coeff * q_scale; //q_value = -((-(coeff
54 int32 coeff = q_value + ac_clip; local
64 int32 coeff; local
83 smlabb(int32 q_value, int32 coeff, int32 round) argument
90 smulbb(int32 q_scale, int32 coeff) argument
99 aan_dc_scale(int32 coeff, int32 QP) argument
126 int32 coeff; local
173 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
178 smlabb q_value, coeff, q_value, round local
179 movs coeff, q_value, asr #16 local
180 addle coeff, coeff, QPdiv2 local
181 subgt coeff, coeff, QPdiv2 local
187 coeff_quant(int32 coeff, int32 q_scale, int32 shift) argument
194 mov coeff, q_value, asr shift /*smull tmp, coeff, q_scale, coeff*/ local
195 add q_value, coeff, coeff, lsr #31 local
204 int32 coeff; local
209 smulbb coeff, q_value, QPx2 local
210 sublt coeff, coeff, Addition local
211 addge coeff, coeff, Addition local
212 add q_value, coeff, tmp local
215 eorhi coeff, tmp, coeff, asr #31 local
221 smlabb(int32 q_value, int32 coeff, int32 round) argument
225 smlabb q_value, coeff, q_value, round local
231 smulbb(int32 q_scale, int32 coeff) argument
246 int32 coeff; local
249 movs coeff, q_value, lsl #1 local
251 addgt coeff, coeff, #1 local
252 sublt coeff, coeff, #1 local
253 smulbb q_value, coeff, stepsize local
256 add coeff, q_value, tmp local
257 subs coeff, coeff, #0xf00 local
258 subcss coeff, coeff, #0xfe local
268 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
273 mla q_value, coeff, q_value, round local
274 movs coeff, q_value, asr #16 local
275 addle coeff, coeff, QPdiv2 local
276 subgt coeff, coeff, QPdiv2 local
282 coeff_quant(int32 coeff, int32 q_scale, int32 shift) argument
289 mov coeff, q_value, asr shift /*smull tmp, coeff, q_scale, coeff*/ local
290 add q_value, coeff, coeff, lsr #31 local
300 int32 coeff; local
305 mul coeff, q_value, QPx2 local
306 sublt coeff, coeff, Addition local
307 addge coeff, coeff, Addition local
308 add q_value, coeff, tmp local
311 eorhi coeff, tmp, coeff, asr #31 local
317 smlabb(int32 q_value, int32 coeff, int32 round) argument
321 mla q_value, coeff, q_value, round local
327 smulbb(int32 q_scale, int32 coeff) argument
343 int32 coeff; local
346 movs coeff, q_value, lsl #1 local
348 addgt coeff, coeff, #1 local
349 sublt coeff, coeff, #1 local
350 mul q_value, coeff, stepsize local
353 add coeff, q_value, tmp local
354 subs coeff, coeff, #0xf00 local
355 subcss coeff, coeff, #0xfe local
367 int32 coeff; local
371 add coeff, q_value, ac_clip local
372 subs coeff, coeff, ac_clip, lsl #1 local
379 aan_dc_scale(int32 coeff, int32 QP) argument
384 cmp coeff, #0 local
385 addle coeff, coeff, QP, asr #1 local
386 subgt coeff, coeff, QP, asr #1 local
395 int32 coeff; local
399 add coeff, q_value, tmp local
400 subs coeff, coeff, #0xf00 local
401 subcss coeff, coeff, #0xfe local
410 int32 coeff; local
417 add coeff, q_value, tmp local
418 subs coeff, coeff, #0xf00 local
419 subcss coeff, coeff, #0xfe local
428 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
449 coeff_quant(int32 coeff, int32 q_scale, int32 shift) argument
471 register int32 coeff; local
510 smlabb(int32 q_value, int32 coeff, int32 round) argument
525 smulbb(int32 q_scale, int32 coeff) argument
538 aan_dc_scale(int32 coeff, int32 QP) argument
555 register int32 coeff; local
[all...]
H A Dfastquant.cpp122 Input: coeff=> DCT coefficient
154 Int tmp, coeff, q_value; local
164 Int ac_clip; /* quantized coeff bound */
192 coeff = rcoeff[i];
193 if (coeff == 0x7fff) /* all zero column */
201 if (coeff >= -QPx2plus && coeff < QPx2plus) /* quantize to zero */
206 coeff = rcoeff[i];
207 if (coeff > -QPx2plus && coeff < QPx2plu
274 Int tmp, coeff, q_value; local
444 Int coeff, scale_q; local
498 Int tmp, coeff; local
549 Int tmp, coeff, q_value = 0; local
678 Int tmp, coeff, q_value = 0; local
855 Int q_value, coeff, stepsize; local
923 Int tmp, coeff, q_value; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dq_gain2.c43 /* MA prediction coeff ={0.5, 0.4, 0.3, 0.2} in Q13 */
81 Word16 coeff[5], coeff_lo[5], exp_coeff[5]; local
130 * coeff[0] = y1 y1 *
131 * coeff[1] = -2 xn y1 *
132 * coeff[2] = y2 y2 *
133 * coeff[3] = -2 xn y2 *
134 * coeff[4] = 2 y1 y2 *
140 coeff[0] = g_coeff[0];
142 coeff[1] = negate(g_coeff[2]); /* coeff[
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicConvolve3x3.cpp86 const float* coeff) {
91 float4 px = convert_float4(py0[x1]) * coeff[0] +
92 convert_float4(py0[x]) * coeff[1] +
93 convert_float4(py0[x2]) * coeff[2] +
94 convert_float4(py1[x1]) * coeff[3] +
95 convert_float4(py1[x]) * coeff[4] +
96 convert_float4(py1[x2]) * coeff[5] +
97 convert_float4(py2[x1]) * coeff[6] +
98 convert_float4(py2[x]) * coeff[7] +
99 convert_float4(py2[x2]) * coeff[
84 ConvolveOneU4(const RsExpandKernelDriverInfo *info, uint32_t x, uchar4 *out, const uchar4 *py0, const uchar4 *py1, const uchar4 *py2, const float* coeff) argument
106 ConvolveOneU2(const RsExpandKernelDriverInfo *info, uint32_t x, uchar2 *out, const uchar2 *py0, const uchar2 *py1, const uchar2 *py2, const float* coeff) argument
127 ConvolveOneU1(const RsExpandKernelDriverInfo *info, uint32_t x, uchar *out, const uchar *py0, const uchar *py1, const uchar *py2, const float* coeff) argument
146 ConvolveOneF4(const RsExpandKernelDriverInfo *info, uint32_t x, float4 *out, const float4 *py0, const float4 *py1, const float4 *py2, const float* coeff) argument
157 ConvolveOneF2(const RsExpandKernelDriverInfo *info, uint32_t x, float2 *out, const float2 *py0, const float2 *py1, const float2 *py2, const float* coeff) argument
168 ConvolveOneF1(const RsExpandKernelDriverInfo *info, uint32_t x, float *out, const float *py0, const float *py1, const float *py2, const float* coeff) argument
[all...]
H A DrsCpuIntrinsicConvolve5x5.cpp85 const float* coeff) {
93 float4 px = convert_float4(py0[x0]) * coeff[0] +
94 convert_float4(py0[x1]) * coeff[1] +
95 convert_float4(py0[x2]) * coeff[2] +
96 convert_float4(py0[x3]) * coeff[3] +
97 convert_float4(py0[x4]) * coeff[4] +
99 convert_float4(py1[x0]) * coeff[5] +
100 convert_float4(py1[x1]) * coeff[6] +
101 convert_float4(py1[x2]) * coeff[7] +
102 convert_float4(py1[x3]) * coeff[
83 OneU4(const RsExpandKernelDriverInfo *info, uint32_t x, uchar4 *out, const uchar4 *py0, const uchar4 *py1, const uchar4 *py2, const uchar4 *py3, const uchar4 *py4, const float* coeff) argument
126 OneU2(const RsExpandKernelDriverInfo *info, uint32_t x, uchar2 *out, const uchar2 *py0, const uchar2 *py1, const uchar2 *py2, const uchar2 *py3, const uchar2 *py4, const float* coeff) argument
169 OneU1(const RsExpandKernelDriverInfo *info, uint32_t x, uchar *out, const uchar *py0, const uchar *py1, const uchar *py2, const uchar *py3, const uchar *py4, const float* coeff) argument
212 OneF4(const RsExpandKernelDriverInfo *info, uint32_t x, float4 *out, const float4 *py0, const float4 *py1, const float4 *py2, const float4 *py3, const float4 *py4, const float* coeff) argument
254 OneF2(const RsExpandKernelDriverInfo *info, uint32_t x, float2 *out, const float2 *py0, const float2 *py1, const float2 *py2, const float2 *py3, const float2 *py4, const float* coeff) argument
296 OneF1(const RsExpandKernelDriverInfo *info, uint32_t x, float *out, const float *py0, const float *py1, const float *py2, const float *py3, const float *py4, const float* coeff) argument
[all...]

Completed in 215 milliseconds