Home
last modified time | relevance | path

Searched refs:L_FIR (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/codecs/amrwb/dec/src/
Dband_pass_6k_7k.cpp97 #define L_FIR 30 macro
111 const int16 fir_6k_7k[L_FIR] =
140 pv_memset((void *)mem, 0, L_FIR*sizeof(*mem)); in band_pass_6k_7k_init()
164 pv_memcpy((void *)x, (void *)mem, L_FIR*sizeof(*x)); in band_pass_6k_7k()
170 x[(i<<2) + L_FIR ] = *(pt_sign) >> 2; /* gain of filter = 4 */ in band_pass_6k_7k()
171 x[(i<<2) + L_FIR + 1] = *(pt_sign + 1) >> 2; /* gain of filter = 4 */ in band_pass_6k_7k()
172 x[(i<<2) + L_FIR + 2] = *(pt_sign + 2) >> 2; /* gain of filter = 4 */ in band_pass_6k_7k()
173 x[(i<<2) + L_FIR + 3] = *(pt_sign + 3) >> 2; /* gain of filter = 4 */ in band_pass_6k_7k()
180 L_tmp1 -= ((int32)x[(i<<2)+L_FIR ] << 5); in band_pass_6k_7k()
181 L_tmp2 -= ((int32)x[(i<<2)+L_FIR+1] << 5); in band_pass_6k_7k()
[all …]
Dlow_pass_filt_7k.cpp92 #define L_FIR 30 macro
103 const int16 fir_7k[L_FIR+1] =
131 pv_memset((void *)mem, 0, (L_FIR)*sizeof(*mem)); in low_pass_filt_7k_init()
155 pv_memcpy((void *)x, (void *)mem, (L_FIR)*sizeof(*x)); in low_pass_filt_7k()
159 x[(i<<2) + L_FIR ] = signal[(i<<2)]; in low_pass_filt_7k()
160 x[(i<<2) + L_FIR + 1] = signal[(i<<2)+1]; in low_pass_filt_7k()
161 x[(i<<2) + L_FIR + 2] = signal[(i<<2)+2]; in low_pass_filt_7k()
162 x[(i<<2) + L_FIR + 3] = signal[(i<<2)+3]; in low_pass_filt_7k()
169 for (j = 1; j < L_FIR - 1; j += 4) in low_pass_filt_7k()
216 pv_memcpy((void *)mem, (void *)(x + lg), (L_FIR)*sizeof(*mem)); in low_pass_filt_7k()
/frameworks/av/media/codecs/amrwb/enc/src/
Dhp6k.c31 #define L_FIR 31 macro
35 Word16 fir_6k_7k[L_FIR] =
49 Set_zero(mem, L_FIR - 1); in Init_Filt_6k_7k()
59 Word16 x[L_SUBFR16k + (L_FIR - 1)]; in Filt_6k_7k()
62 Copy(mem, x, L_FIR - 1); in Filt_6k_7k()
65 x[i + L_FIR - 1] = signal[i] >> 2; /* gain of filter = 4 */ in Filt_6k_7k()
88 Copy(x + lg, mem, L_FIR - 1); in Filt_6k_7k()
Dlp_dec2.c28 #define L_FIR 5 macro
29 #define L_MEM (L_FIR-2)
33 static Word16 h_fir[L_FIR] = {4260, 7536, 9175, 7536, 4260};
/frameworks/av/media/codecs/amrwb/enc/src/asm/ARMV5E/
DFilt_6k_7k_opt.s37 SUB r13, r13, #240 @ x[L_SUBFR16k + (L_FIR - 1)]
44 MOV r2, #30 @ L_FIR - 1
45 BL voAWB_Copy @ memcpy(x, mem, (L_FIR - 1)<<1)
53 ADD r6, r13, #60 @ get x[L_FIR - 1] address
/frameworks/av/media/codecs/amrwb/enc/src/asm/ARMV7/
DFilt_6k_7k_neon.s36 SUB r13, r13, #240 @ x[L_SUBFR16k + (L_FIR - 1)]
57 ADD r6, r13, #60 @ get x[L_FIR - 1] address
61 @ x[i + L_FIR - 1] = signal[i] >> 2@