Home
last modified time | relevance | path

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

/external/libxaac/decoder/
Dixheaacd_tcx_fwd_alcnx.c170 WORD32 fac_length = (usac_data->len_subfrm) / 2; in ixheaacd_tcx_mdct() local
180 fac_length_prev = fac_length; in ixheaacd_tcx_mdct()
182 if (fac_length == 96) in ixheaacd_tcx_mdct()
199 xn = xn_buf + fac_length; in ixheaacd_tcx_mdct()
204 st->exc_prev[i + fac_length - fac_length_prev + 1] *= in ixheaacd_tcx_mdct()
208 for (i = 0; i < fac_length - fac_length_prev; i++) { in ixheaacd_tcx_mdct()
209 st->exc_prev[i + fac_length + fac_length_prev + 1] = 0.0f; in ixheaacd_tcx_mdct()
259 err = ixheaacd_acelp_mdct_main(usac_data, int_x, int_xn1, (2 * fac_length), in ixheaacd_tcx_mdct()
260 lg - (2 * fac_length), &preshift); in ixheaacd_tcx_mdct()
263 ixheaacd_fix2float(int_xn1, xn_buf, (lg + (2 * fac_length)), &shiftp, in ixheaacd_tcx_mdct()
[all …]
Dixheaacd_fwd_alias_cnx.c97 WORD32 fac_length, FLOAT32 *lp_filt_coeff, WORD32 gain) { in ixheaacd_fwd_alias_cancel_tool() argument
110 [(usac_data->ccfl / 2) - fac_length]); in ixheaacd_fwd_alias_cancel_tool()
114 err = ixheaacd_acelp_mdct(x_in, fac_signal, &qshift, fac_length, ptr_scratch); in ixheaacd_fwd_alias_cancel_tool()
119 for (i = 0; i < fac_length; i++) in ixheaacd_fwd_alias_cancel_tool()
126 fac_length); in ixheaacd_fwd_alias_cancel_tool()
128 for (i = 0; i < fac_length; i++) in ixheaacd_fwd_alias_cancel_tool()
131 for (i = 0; i < fac_length; i++) in ixheaacd_fwd_alias_cancel_tool()
139 WORD32 ixheaacd_fr_alias_cnx_fix(WORD32 *x_in, WORD32 len, WORD32 fac_length, in ixheaacd_fr_alias_cnx_fix() argument
150 if (fac_length == 48) { in ixheaacd_fr_alias_cnx_fix()
152 } else if (fac_length == 64) { in ixheaacd_fr_alias_cnx_fix()
[all …]
Dixheaacd_acelp_decode.c366 WORD32 fac_length; in ixheaacd_acelp_alias_cnx() local
386 fac_length = len_subfr / 2; in ixheaacd_acelp_alias_cnx()
389 for (i = 0; i < fac_length / 2; i++) { in ixheaacd_acelp_alias_cnx()
391 x[fac_length / 2 + i] = in ixheaacd_acelp_alias_cnx()
393 pstr_td_frame_data->fac[k * FAC_LENGTH + fac_length - 2 * i - 1]; in ixheaacd_acelp_alias_cnx()
395 for (i = 0; i < fac_length / 8; i++) { in ixheaacd_acelp_alias_cnx()
397 x[fac_length - i - 1] *= st->fac_fd_data[2 * i + 1]; in ixheaacd_acelp_alias_cnx()
401 shiftp = ixheaacd_float2fix(x, int_x, fac_length); in ixheaacd_acelp_alias_cnx()
404 ixheaacd_acelp_mdct(int_x, int_xn2, &preshift, fac_length, ptr_scratch); in ixheaacd_acelp_alias_cnx()
406 ixheaacd_fix2float(int_xn2, xn2 + fac_length, fac_length, &shiftp, in ixheaacd_acelp_alias_cnx()
[all …]
Dixheaacd_lpc.c114 WORD32 fac_length; in ixheaacd_reset_acelp_data_fix() local
116 fac_length = (usac_data->ccfl) / 16; in ixheaacd_reset_acelp_data_fix()
118 fac_length = (usac_data->len_subfrm) / 2; in ixheaacd_reset_acelp_data_fix()
121 if (fac_length == 48) { in ixheaacd_reset_acelp_data_fix()
123 } else if (fac_length == 64) { in ixheaacd_reset_acelp_data_fix()
125 } else if (fac_length == 96) { in ixheaacd_reset_acelp_data_fix()
131 for (i = 0; i < 2 * fac_length; i++) { in ixheaacd_reset_acelp_data_fix()
132 ptr_overlap_buf[(usac_data->ccfl) / 2 - fac_length + i] = in ixheaacd_reset_acelp_data_fix()
134 ptr_overlap_buf[(usac_data->ccfl) / 2 - fac_length + i], in ixheaacd_reset_acelp_data_fix()
135 ptr_window_coeff[2 * fac_length - 1 - i]); in ixheaacd_reset_acelp_data_fix()
[all …]
Dixheaacd_acelp_bitparse.c237 VOID ixheaacd_fac_decoding(WORD32 fac_length, WORD32 k, WORD32 *fac_prm, in ixheaacd_fac_decoding() argument
242 for (i = 0; i < fac_length; i += 8) { in ixheaacd_fac_decoding()
460 WORD32 fac_length; in ixheaacd_lpd_channel_stream() local
463 fac_length = in ixheaacd_lpd_channel_stream()
468 ixheaacd_fac_decoding(fac_length, 0, &fac_data[1], it_bit_buff); in ixheaacd_lpd_channel_stream()
Dixheaacd_main.h222 WORD32 fac_length, FLOAT32 *iaq, WORD32 gain);
/external/aac/libAACdec/src/
Dusacdec_fac.cpp208 void CFac_ApplyGains(FIXP_DBL fac_data[LFAC], const INT fac_length, in CFac_ApplyGains() argument
214 FDK_ASSERT((fac_length == 128) || (fac_length == 96)); in CFac_ApplyGains()
218 for (i = 0; i < fac_length; i++) { in CFac_ApplyGains()
223 for (i = 0; i < fac_length / 4; i++) { in CFac_ApplyGains()
233 const int fac_scale, const int fac_length, in CFac_CalcFacSignal() argument
243 imdct_gain(&tf_gain, &scale, isFdFac ? 0 : fac_length); in CFac_CalcFacSignal()
247 dct_IV(pFac, fac_length, &scale); in CFac_CalcFacSignal()
252 for (i = 0; i < fac_length; i++) { in CFac_CalcFacSignal()
256 scaleValuesSaturate(pOut, pFac, fac_length, in CFac_CalcFacSignal()
264 FDKmemclear(pOut + fac_length, fac_length * sizeof(FIXP_DBL)); in CFac_CalcFacSignal()
[all …]
Dusacdec_fac.h146 void CFac_ApplyGains(FIXP_DBL fac_data[LFAC], const INT fac_length,
155 INT nrOutSamples, const INT fac_length,
184 const INT fac_length, INT nrSamples, const INT tl,
Dblock.cpp1084 int fac_length = in CBlock_FrequencyToTime() local
1139 pAacDecoderChannelInfo->data.usac.fac_data_e[0], fac_length, in CBlock_FrequencyToTime()