Home
last modified time | relevance | path

Searched refs:nsmpl (Results 1 – 9 of 9) sorted by relevance

/external/libldac/src/
Dsetpcm_ldac.c25 int nsmpl) in byte_data_to_scalar_s16_ldac() argument
31 for (i = 0; i < nsmpl; i++) { in byte_data_to_scalar_s16_ldac()
44 int nsmpl) in byte_data_to_scalar_s24_ldac() argument
51 for (i = 0; i < nsmpl; i++) { in byte_data_to_scalar_s24_ldac()
73 int nsmpl) in byte_data_to_scalar_s32_ldac() argument
80 for (i = 0; i < nsmpl; i++) { in byte_data_to_scalar_s32_ldac()
93 int nsmpl) in byte_data_to_scalar_f32_ldac() argument
100 for (i = 0; i < nsmpl; i++) { in byte_data_to_scalar_f32_ldac()
118 int nsmpl = npow2_ldac(nlnn); in set_input_pcm_ldac() local
124 for (isp = 0; isp < nsmpl; isp++) { in set_input_pcm_ldac()
[all …]
Dsetpcm_fixp_ldac.c25 int nsmpl) in byte_data_to_int_s16_ldac() argument
31 for (i = 0; i < nsmpl; i++) { in byte_data_to_int_s16_ldac()
44 int nsmpl) in byte_data_to_int_s24_ldac() argument
50 for (i = 0; i < nsmpl; i++) { in byte_data_to_int_s24_ldac()
72 int nsmpl) in byte_data_to_int_s32_ldac() argument
78 for (i = 0; i < nsmpl; i++) { in byte_data_to_int_s32_ldac()
96 int nsmpl = npow2_ldac(nlnn); in set_input_pcm_ldac() local
102 for (isp = 0; isp < nsmpl; isp++) { in set_input_pcm_ldac()
103 p_time[isp] = p_time[nsmpl+isp]; in set_input_pcm_ldac()
105 byte_data_to_int_s16_ldac(pp_pcm[ich], p_time+nsmpl, nsmpl); in set_input_pcm_ldac()
[all …]
Dmdct_fixp_ldac.c30 int nsmpl = npow2_ldac(nlnn); in proc_mdct_core_ldac() local
44 shift = LDAC_C_BLKFLT - get_bit_length_ldac(get_absmax_ldac(p_x, nsmpl<<1)) - 1; in proc_mdct_core_ldac()
51 for (i = 0; i < nsmpl>>1; i++) { in proc_mdct_core_ldac()
52 g0 = mul_rsftrnd_ldac(-p_x[3*nsmpl/2-1-i], p_w[nsmpl/2+i], LDAC_Q_MDCT_WIN-shift); in proc_mdct_core_ldac()
53 g1 = mul_rsftrnd_ldac(-p_x[3*nsmpl/2+i], p_w[nsmpl/2-1-i], LDAC_Q_MDCT_WIN-shift); in proc_mdct_core_ldac()
57 g1 = mul_rsftrnd_ldac(-p_x[nsmpl-1-i], p_w[nsmpl-1-i], LDAC_Q_MDCT_WIN-shift); in proc_mdct_core_ldac()
58 a_work[p_p[nsmpl/2+i]] = g0 + g1; in proc_mdct_core_ldac()
62 for (i = 0; i < nsmpl>>1; i++) { in proc_mdct_core_ldac()
63 g0 = mul_lsftrnd_ldac(-p_x[3*nsmpl/2-1-i], p_w[nsmpl/2+i], LDAC_Q_MDCT_WIN-shift); in proc_mdct_core_ldac()
64 g1 = mul_lsftrnd_ldac(-p_x[3*nsmpl/2+i], p_w[nsmpl/2-1-i], LDAC_Q_MDCT_WIN-shift); in proc_mdct_core_ldac()
[all …]
Dmdct_ldac.c30 int nsmpl = npow2_ldac(nlnn); in proc_mdct_core_ldac() local
45 for (i = 0; i < nsmpl>>1; i++) { in proc_mdct_core_ldac()
46 p_work[p_p[i]] = -p_x[3*nsmpl/2-1-i] * p_w[nsmpl/2+i] - p_x[3*nsmpl/2+i] * p_w[nsmpl/2-1-i]; in proc_mdct_core_ldac()
48 p_work[p_p[nsmpl/2+i]] = p_x[i] * p_w[i] - p_x[nsmpl-1-i] * p_w[nsmpl-1-i]; in proc_mdct_core_ldac()
76 index0 += 2 - nsmpl; in proc_mdct_core_ldac()
77 index1 += 2 - nsmpl; in proc_mdct_core_ldac()
81 tmp = _scalar(1.0) / (SCALAR)(nsmpl>>1); in proc_mdct_core_ldac()
82 for (i = 0; i < nsmpl>>1; i++) { in proc_mdct_core_ldac()
91 p_y[nsmpl-index0-1] = b * tmp; in proc_mdct_core_ldac()
DldacBT_internal.c113 hLdacBT->pcmring.nsmpl = 0; in ldacBT_param_clear()
220 DECLFUNC void ldacBT_prepare_pcm_encode( void *pbuff, char **ap_pcm, int nsmpl, int nch, argument
229 for (i = 0; i < nsmpl; i++) {
240 for (i = 0; i < nsmpl; i++) {
259 for (i = 0; i < nsmpl; i++) {
273 for (i = 0; i < nsmpl; i++) {
285 copy_data_ldac( pbuff, ap_pcm[0], 2*nsmpl );
288 copy_data_ldac( pbuff, ap_pcm[0], 3*nsmpl );
292 copy_data_ldac( pbuff, ap_pcm[0], 4*nsmpl );
DldacBT_api.c398 sz = ppcmring->nsmpl * wl * ch + nByteCpy; in ldacBT_encode()
405 ppcmring->nsmpl += LDACBT_ENC_LSU; in ldacBT_encode()
414 if( ppcmring->nsmpl >= hLdacBT->frm_samples ) in ldacBT_encode()
527 if( ppcmring->nsmpl > 0 ){ in ldacBT_encode()
530 nsmpl_to_clr = hLdacBT->frm_samples - ppcmring->nsmpl; in ldacBT_encode()
533 pos = ppcmring->rp + ppcmring->nsmpl * wl * ch; in ldacBT_encode()
554 ppcmring->nsmpl -= hLdacBT->frm_samples; in ldacBT_encode()
556 if( ppcmring->nsmpl < 0 ){ ppcmring->nsmpl = 0; } in ldacBT_encode()
DldacBT_internal.h142 int nsmpl; member
199 DECLFUNC void ldacBT_prepare_pcm_encode( void *pbuff, char **ap_pcm, int nsmpl, int nch,
Dsigana_ldac.c131 int nsmpl = npow2_ldac(nlnn+1); in ana_frame_status_ldac() local
144 zero_cross = calc_zero_cross_number_ldac(p_ac->p_acsub->a_time, nsmpl); in ana_frame_status_ldac()
Dsigana_fixp_ldac.c315 int nsmpl = npow2_ldac(nlnn+1); in ana_frame_status_ldac() local
330 zero_cross = calc_zero_cross_number_ldac(p_ac->p_acsub->a_time, nsmpl); in ana_frame_status_ldac()