/external/libxaac/decoder/ |
D | ixheaacd_tcx_fwd_alcnx.c | 169 WORD32 fac_length = (usac_data->len_subfrm) / 2; in ixheaacd_tcx_mdct() local 179 fac_length_prev = fac_length; in ixheaacd_tcx_mdct() 181 if (fac_length == 96) in ixheaacd_tcx_mdct() 198 xn = xn_buf + fac_length; in ixheaacd_tcx_mdct() 203 st->exc_prev[i + fac_length - fac_length_prev + 1] *= in ixheaacd_tcx_mdct() 207 for (i = 0; i < fac_length - fac_length_prev; i++) { in ixheaacd_tcx_mdct() 208 st->exc_prev[i + fac_length + fac_length_prev + 1] = 0.0f; in ixheaacd_tcx_mdct() 260 err = ixheaacd_acelp_mdct_main(usac_data, int_x, int_xn1, (2 * fac_length), in ixheaacd_tcx_mdct() 261 lg - (2 * fac_length), &preshift); in ixheaacd_tcx_mdct() 264 ixheaacd_fix2float(int_xn1, xn_buf, (lg + (2 * fac_length)), &shiftp, in ixheaacd_tcx_mdct() [all …]
|
D | ixheaacd_fwd_alias_cnx.c | 96 WORD32 fac_length, FLOAT32 *lp_filt_coeff, WORD32 gain) { in ixheaacd_fwd_alias_cancel_tool() argument 109 [(usac_data->ccfl / 2) - fac_length]); in ixheaacd_fwd_alias_cancel_tool() 113 err = ixheaacd_acelp_mdct(x_in, fac_signal, &qshift, fac_length, ptr_scratch); in ixheaacd_fwd_alias_cancel_tool() 118 for (i = 0; i < fac_length; i++) in ixheaacd_fwd_alias_cancel_tool() 125 fac_length); in ixheaacd_fwd_alias_cancel_tool() 127 for (i = 0; i < fac_length; i++) in ixheaacd_fwd_alias_cancel_tool() 130 for (i = 0; i < fac_length; i++) in ixheaacd_fwd_alias_cancel_tool() 138 WORD32 ixheaacd_fr_alias_cnx_fix(WORD32 *x_in, WORD32 len, WORD32 fac_length, in ixheaacd_fr_alias_cnx_fix() argument 149 if (fac_length == 48) { in ixheaacd_fr_alias_cnx_fix() 151 } else if (fac_length == 64) { in ixheaacd_fr_alias_cnx_fix() [all …]
|
D | ixheaacd_acelp_decode.c | 367 WORD32 fac_length; in ixheaacd_acelp_alias_cnx() local 387 fac_length = len_subfr / 2; in ixheaacd_acelp_alias_cnx() 390 for (i = 0; i < fac_length / 2; i++) { in ixheaacd_acelp_alias_cnx() 392 x[fac_length / 2 + i] = in ixheaacd_acelp_alias_cnx() 394 pstr_td_frame_data->fac[k * FAC_LENGTH + fac_length - 2 * i - 1]; in ixheaacd_acelp_alias_cnx() 396 for (i = 0; i < fac_length / 8; i++) { in ixheaacd_acelp_alias_cnx() 398 x[fac_length - i - 1] *= st->fac_fd_data[2 * i + 1]; in ixheaacd_acelp_alias_cnx() 402 shiftp = ixheaacd_float2fix(x, int_x, fac_length); in ixheaacd_acelp_alias_cnx() 405 ixheaacd_acelp_mdct(int_x, int_xn2, &preshift, fac_length, ptr_scratch); in ixheaacd_acelp_alias_cnx() 407 ixheaacd_fix2float(int_xn2, xn2 + fac_length, fac_length, &shiftp, in ixheaacd_acelp_alias_cnx() [all …]
|
D | ixheaacd_lpc.c | 114 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 …]
|
D | ixheaacd_acelp_bitparse.c | 237 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() 466 WORD32 fac_length; in ixheaacd_lpd_channel_stream() local 469 fac_length = in ixheaacd_lpd_channel_stream() 474 ixheaacd_fac_decoding(fac_length, 0, &fac_data[1], it_bit_buff); in ixheaacd_lpd_channel_stream()
|
D | ixheaacd_main.h | 222 WORD32 fac_length, FLOAT32 *iaq, WORD32 gain);
|
/external/aac/libAACdec/src/ |
D | usacdec_fac.cpp | 208 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 …]
|
D | usacdec_fac.h | 146 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,
|
D | block.cpp | 1084 int fac_length = in CBlock_FrequencyToTime() local 1139 pAacDecoderChannelInfo->data.usac.fac_data_e[0], fac_length, in CBlock_FrequencyToTime()
|