/sof-3.4.0/tools/tune/eq/ |
D | eq_fir_blob_quant.m | 4 % out shift, and coefficients to be used in the setup blob. 10 % fbr - vector with length, in shift, out shift, and quantized coefficients 30 [bq, shift] = eq_fir_quantize(b, bits); 66 fbr = [nnew shift 0 0 0 0 0 0 0 0 bqp]; 70 function [bq, shift] = eq_fir_quantize(b, bits) 72 % [bq, shift] = eq_fir_quantize(b, bits) 80 % shift - shift right parameter to apply after FIR computation to 86 %% Output shift for coefficients 88 shift = -ceil(log(m+1/scale)/log(2)); variable 89 bsr = b*2^shift;
|
/sof-3.4.0/test/cmocka/src/math/auditory/ |
D | mfcc_power_to_mel_log.m | 9 % shift - apply 2^(2 * shift) gain to Mel spectra 18 function mel_log = mfcc_power_to_mel_log(state, param, s_half, shift) 25 % Compensate linear spectra shift to logarithmic Mel power spectra 26 mel_log(i) = (log(p) - 2 * shift * log(2)) * state.log_scale;
|
D | ref_auditory.m | 22 opt.shift = 0; 35 opt.shift = 1; 48 opt.shift = 2; 61 opt.shift = 3; 110 mel_log = mfcc_power_to_mel_log(state, param, s_half, opt.shift); 124 export_ndefine(fh, [define_prefix 'SHIFT'], opt.shift);
|
/sof-3.4.0/src/audio/eq_fir/ |
D | eq_fir_hifi3.c | 44 int shift; in eq_fir_2x_s32() local 54 shift = lshift - rshift; in eq_fir_2x_s32() 78 fir_32x16_2x_hifi3(f, d0, d1, y0, y1, shift); in eq_fir_2x_s32() 108 int shift; in eq_fir_2x_s24() local 117 shift = lshift - rshift; in eq_fir_2x_s24() 143 fir_32x16_2x_hifi3(f, d0, d1, &z0, &z1, shift); in eq_fir_2x_s24() 184 int shift; in eq_fir_2x_s16() local 193 shift = lshift - rshift; in eq_fir_2x_s16() 221 fir_32x16_2x_hifi3(f, x0, x1, &z0, &z1, shift); in eq_fir_2x_s16()
|
/sof-3.4.0/tools/topology/topology1/m4/ |
D | enumcontrol.m4 | 1 dnl ENUM_CHANNEL(name, reg, shift) 5 ` shift STR($3)' 36 ` # channel register and shift for Front Left/Right' 53 ` # channel register and shift for Front Left/Right'
|
D | mixercontrol.m4 | 5 dnl KCONTROL_CHANNEL(name, reg, shift) 9 ` shift STR($3)'
|
D | tdfb_controls.m4 | 20 Channel register and shift for Front Center, 31 Channel register and shift for Front Center,
|
/sof-3.4.0/src/audio/tdfb/ |
D | tdfb_hifi3.c | 31 int shift; in tdfb_fir_s16() local 62 shift = -f->out_shift; in tdfb_fir_s16() 67 shift); in tdfb_fir_s16() 106 int shift; in tdfb_fir_s24() local 136 shift = -f->out_shift; in tdfb_fir_s24() 141 shift); in tdfb_fir_s24() 180 int shift; in tdfb_fir_s32() local 210 shift = -f->out_shift; in tdfb_fir_s32() 215 shift); in tdfb_fir_s32()
|
/sof-3.4.0/src/math/ |
D | fir_generic.c | 80 const int shift = 15 + fir->out_shift; in fir_32x16() local 114 return sat_int32(y >> shift); in fir_32x16() 131 const int shift = 15 + fir->out_shift; in fir_32x16_2x() local 179 *y0 = sat_int32(a0 >> shift); in fir_32x16_2x() 180 *y1 = sat_int32(a1 >> shift); in fir_32x16_2x()
|
D | fir_hifi3.c | 87 int shift) in fir_32x16_hifi3() argument 155 a = AE_SLAA64S(a, shift); in fir_32x16_hifi3() 165 ae_int32 *y0, ae_int32 *y1, int shift) in fir_32x16_2x_hifi3() argument 242 b = AE_SLAA64S(b, shift); in fir_32x16_2x_hifi3() 243 a = AE_SLAA64S(a, shift); in fir_32x16_2x_hifi3()
|
D | iir_df1_hifi3.c | 54 ae_int32x2 shift; in iir_df1() local 88 AE_L32_IP(shift, (ae_int32 *)coefp, 4); in iir_df1() 116 acc = AE_SRAA64(acc, shift); in iir_df1()
|
D | iir_df2t_hifi3.c | 64 int shift; in iir_df2t() local 118 shift = AE_SEL32_LL(coef_b0shift, coef_b0shift); in iir_df2t() 119 acc = AE_SRAA64(acc, shift); in iir_df2t()
|
/sof-3.4.0/src/audio/src/ |
D | src_hifi2ep.c | 27 const int taps_div_4, const int shift, in fir_filter() argument 104 AE_SQ32F_I(AE_ROUNDSQ32SYM(AE_SRAAQ56(a0, shift)), wp, 0); in fir_filter() 105 AE_SQ32F_I(AE_ROUNDSQ32SYM(AE_SRAAQ56(a1, shift)), wp, in fir_filter() 151 AE_SQ32F_I(AE_ROUNDSQ32SYM(AE_SRAAQ56(a0, shift)), wp, 0); in fir_filter() 159 const int taps_div_4, const int shift, in fir_filter() argument 240 AE_SQ32F_I(AE_ROUNDSQ32SYM(AE_SRAAQ56(a0, shift)), wp, 0); in fir_filter() 241 AE_SQ32F_I(AE_ROUNDSQ32SYM(AE_SRAAQ56(a1, shift)), wp, in fir_filter() 291 AE_SQ32F_I(AE_ROUNDSQ32SYM(AE_SRAAQ56(a0, shift)), wp, 0); in fir_filter() 358 q = AE_SLLASQ56S(q, s->shift); in src_polyphase_stage_cir() 382 fir_filter(rp, cp, wp, taps_div_4, cfg->shift, nch); in src_polyphase_stage_cir() [all …]
|
D | src_hifi3.c | 26 const int taps_div_4, const int shift, in fir_filter() argument 103 AE_S32_L_XP(AE_ROUND32F48SSYM(AE_SRAA64(a0, shift)), wp, in fir_filter() 105 AE_S32_L_XP(AE_ROUND32F48SSYM(AE_SRAA64(a1, shift)), wp, in fir_filter() 158 AE_S32_L_XP(AE_ROUND32F48SSYM(AE_SRAA64(a0, shift)), wp, in fir_filter() 166 const int taps_div_4, const int shift, in fir_filter() argument 243 AE_S32_L_XP(AE_ROUND32F48SSYM(AE_SRAA64(a0, shift)), wp, in fir_filter() 245 AE_S32_L_XP(AE_ROUND32F48SSYM(AE_SRAA64(a1, shift)), wp, in fir_filter() 295 AE_S32_L_XP(AE_ROUND32F48SSYM(AE_SRAA64(a0, shift)), wp, in fir_filter() 362 q = AE_SLAA32(q, s->shift); in src_polyphase_stage_cir() 386 fir_filter(rp, cp, wp, taps_div_4, cfg->shift, nch); in src_polyphase_stage_cir() [all …]
|
D | src_hifi4.c | 32 const int taps_div_4, const int shift, in fir_filter() argument 109 AE_S32_L_XP(AE_ROUND32F48SSYM(AE_SRAA64(a0, shift)), wp, in fir_filter() 111 AE_S32_L_XP(AE_ROUND32F48SSYM(AE_SRAA64(a1, shift)), wp, in fir_filter() 164 AE_S32_L_XP(AE_ROUND32F48SSYM(AE_SRAA64(a0, shift)), wp, in fir_filter() 172 const int taps_div_4, const int shift, in fir_filter() argument 250 AE_S32_L_XP(AE_ROUND32F48SSYM(AE_SRAA64(a0, shift)), wp, in fir_filter() 252 AE_S32_L_XP(AE_ROUND32F48SSYM(AE_SRAA64(a1, shift)), wp, in fir_filter() 302 AE_S32_L_XP(AE_ROUND32F48SSYM(AE_SRAA64(a0, shift)), wp, in fir_filter() 367 q = AE_SLAA32(q, s->shift); in src_polyphase_stage_cir() 391 fir_filter(rp, cp, wp, taps_div_4, cfg->shift, nch); in src_polyphase_stage_cir() [all …]
|
D | src_generic.c | 25 const int shift, const int nch) in fir_filter_generic() argument 36 const int qshift = 15 + shift; /* Q2.46 -> Q2.31 */ in fir_filter_generic() 117 const int taps_x_nch, const int shift, in fir_filter_generic() argument 131 const int qshift = 23 + shift; /* Qx.54 -> Qx.31 */ in fir_filter_generic() 261 *fir->fir_wp = *x_rptr << s->shift; in src_polyphase_stage_cir() 277 taps_x_nch, cfg->shift, nch); in src_polyphase_stage_cir() 295 *y_wptr = *fir->out_rp >> s->shift; in src_polyphase_stage_cir() 375 taps_x_nch, cfg->shift, nch); in src_polyphase_stage_cir_s16()
|
/sof-3.4.0/test/cmocka/src/audio/volume/ |
D | volume_process.c | 175 int shift = 8; in verify_s24_to_s24_s32() local 181 (double)VOL_ZERO_DB + 0.5 * (1 << shift); in verify_s24_to_s24_s32() 188 sample = ((int32_t)processed) >> shift; in verify_s24_to_s24_s32() 194 if (shift && (dst_sample < INT24_MIN || in verify_s24_to_s24_s32() 232 int shift = 0; in verify_s32_to_s24_s32() local 238 (double)VOL_ZERO_DB + 0.5 * (1 << shift); in verify_s32_to_s24_s32() 245 sample = ((int32_t)processed) >> shift; in verify_s32_to_s24_s32() 251 if (shift && (dst_sample < INT24_MIN || in verify_s32_to_s24_s32()
|
/sof-3.4.0/src/include/sof/math/ |
D | fir_hifi3.h | 61 int shift); 64 ae_int32 *y0, ae_int32 *y1, int shift);
|
/sof-3.4.0/tools/tune/multiband_drc/ |
D | iir_gen_quant_coefs.m | 49 % [ a2 a1 b2 b1 b0 shift gain] 56 % [ a2 a1 b2 b1 b0 shift gain] 114 rshift--; % left-shift in shift stage
|
/sof-3.4.0/src/drivers/mediatek/afe/mt8186/ |
D | afe-sgen.c | 165 static void mtk_afe_reg_update_bits(uint32_t addr_offset, uint32_t mask, uint32_t val, int shift) in mtk_afe_reg_update_bits() argument 167 io_reg_update_bits(AFE_BASE_ADDR + addr_offset, mask << shift, val << shift); in mtk_afe_reg_update_bits()
|
/sof-3.4.0/src/drivers/mediatek/afe/mt8188/ |
D | afe-sgen.c | 172 static void mtk_afe_reg_update_bits(uint32_t addr_offset, uint32_t mask, uint32_t val, int shift) in mtk_afe_reg_update_bits() argument 174 io_reg_update_bits(AFE_BASE_ADDR + addr_offset, mask << shift, val << shift); in mtk_afe_reg_update_bits()
|
/sof-3.4.0/src/drivers/mediatek/afe/mt8195/ |
D | afe-sgen.c | 180 static void mtk_afe_reg_update_bits(uint32_t addr_offset, uint32_t mask, uint32_t val, int shift) in mtk_afe_reg_update_bits() argument 182 io_reg_update_bits(AFE_BASE_ADDR + addr_offset, mask << shift, val << shift); in mtk_afe_reg_update_bits()
|
/sof-3.4.0/src/include/sof/audio/coefficients/pdm_decim/ |
D | pdm_decim_fir.h | 18 int shift; member
|
/sof-3.4.0/tools/tune/dmic/ |
D | dmic_init.m | 68 [coef, shift] = get_fir(cfg.mfir_a, prm, cfg, hw, spec); 71 scale_fir_coef(coef, shift, spec.scale, cfg.remain_gain_to_fir, hw.bits_fir_coef); 81 [coef, shift] = get_fir(cfg.mfir_b, prm, cfg, hw, spec); 84 scale_fir_coef(coef, shift, spec.scale, cfg.remain_gain_to_fir, hw.bits_fir_coef); 110 function [coef32, shift] = get_fir(mfir, prm, cfg, hw, spec) 118 [ coef, shift, bw, sb, rs, got_pb, got_sb, passed] = ... 131 fir.shift = shift; 194 fprintf(1,'Warning: Limited CIC shift right from %d', cfg.cic_shift); 199 fprintf(1,'Error: Limited CIC shift right from %d', cfg.cic_shift);
|
/sof-3.4.0/src/include/sof/audio/src/ |
D | src.h | 40 const int shift; member 71 int shift; member
|