Home
last modified time | relevance | path

Searched refs:qshift (Results 1 – 7 of 7) sorted by relevance

/external/libxaac/decoder/
Dixheaacd_fwd_alias_cnx.c72 WORD32 qshift, WORD32 *preshift) { in ixheaacd_synthesis_tool() argument
80 s, ixheaacd_mul32_sh(a[j], x[i - j], (WORD8)(qshift))); in ixheaacd_synthesis_tool()
82 s, ixheaacd_mul32_sh(a[j + 1], x[i - (j + 1)], (WORD8)(qshift))); in ixheaacd_synthesis_tool()
84 s, ixheaacd_mul32_sh(a[j + 2], x[i - (j + 2)], (WORD8)(qshift))); in ixheaacd_synthesis_tool()
86 s, ixheaacd_mul32_sh(a[j + 3], x[i - (j + 3)], (WORD8)(qshift))); in ixheaacd_synthesis_tool()
100 WORD32 qshift = 0; in ixheaacd_fwd_alias_cancel_tool() local
114 err = ixheaacd_acelp_mdct(x_in, fac_signal, &qshift, fac_length, ptr_scratch); in ixheaacd_fwd_alias_cancel_tool()
121 (FLOAT32)((FLOAT32)fac_signal[i] / (1 << (16 - qshift))); in ixheaacd_fwd_alias_cancel_tool()
129 fac_signal[i] = (WORD32)(ptr_fac_signal_flt[i] * (1 << (16 - qshift))); in ixheaacd_fwd_alias_cancel_tool()
134 (WORD32)ixheaacd_mul32_sh(fac_signal[i], gain, (WORD8)(16 - qshift))); in ixheaacd_fwd_alias_cancel_tool()
Dixheaacd_tcx_fwd_mdct.c123 WORD8 qshift; in ixheaacd_lpc_to_td() local
149 qshift = ixheaacd_norm32(itemp); in ixheaacd_lpc_to_td()
152 idata_r[i] = (WORD32)(data_r[i] * ((WORD64)1 << qshift)); in ixheaacd_lpc_to_td()
153 idata_i[i] = (WORD32)(data_i[i] * ((WORD64)1 << qshift)); in ixheaacd_lpc_to_td()
158 qfac = 1.0f / ((FLOAT32)((WORD64)1 << (qshift - preshift))); in ixheaacd_lpc_to_td()
Dixheaacd_windows.h50 void ixheaacd_acelp_imdct(WORD32 *imdct_in, WORD32 npoints, WORD8 *qshift,
Dixheaacd_imdct.c174 void ixheaacd_acelp_imdct(WORD32 *imdct_in, WORD32 npoints, WORD8 *qshift, in ixheaacd_acelp_imdct() argument
194 *qshift -= preshift; in ixheaacd_acelp_imdct()
/external/libhevc/encoder/
Dihevce_rdoq_macros.h50 #define COMPUTE_RATE_COST_CLIP30_RDOQ(r, l, qshift) \ argument
51 ((WORD32)CLIP30((((ULWORD64)r) * ((ULWORD64)l)) >> (qshift)))
Dihevce_ipe_structs.h101 #define COMPUTE_RATE_COST_CLIP30(r, l, qshift) ((WORD32)CLIP30((ULWORD64)((r) * (l)) >> (qshift))) argument
Dihevce_enc_loop_structs.h72 #define COMPUTE_RATE_COST_CLIP30(r, l, qshift) ((WORD32)CLIP30((ULWORD64)((r) * (l)) >> (qshift))) argument