Home
last modified time | relevance | path

Searched refs:INTFLOAT (Results 1 – 25 of 25) sorted by relevance

/third_party/ffmpeg/tests/checkasm/
Dsbrdsp.c29 const INTFLOAT f = (INTFLOAT)rnd() / UINT_MAX; \
38 LOCAL_ALIGNED_16(INTFLOAT, dst0, [64 + 256]); in test_sum64x5()
39 LOCAL_ALIGNED_16(INTFLOAT, dst1, [64 + 256]); in test_sum64x5()
41 declare_func(void, INTFLOAT *z); in test_sum64x5()
43 randomize((INTFLOAT *)dst0, 64 + 256); in test_sum64x5()
44 memcpy(dst1, dst0, (64 + 256) * sizeof(INTFLOAT)); in test_sum64x5()
54 INTFLOAT res0; in test_sum_square()
55 INTFLOAT res1; in test_sum_square()
56 LOCAL_ALIGNED_16(INTFLOAT, src, [256], [2]); in test_sum_square()
59 declare_func_float(INTFLOAT, INTFLOAT (*x)[2], int n); in test_sum_square()
[all …]
Daacpsdsp.c32 const INTFLOAT f = (INTFLOAT)rnd() / UINT_MAX; \
39 static void clear_less_significant_bits(INTFLOAT *buf, int len, int bits) in clear_less_significant_bits()
51 LOCAL_ALIGNED_16(INTFLOAT, dst0, [BUF_SIZE]); in test_add_squares()
52 LOCAL_ALIGNED_16(INTFLOAT, dst1, [BUF_SIZE]); in test_add_squares()
53 LOCAL_ALIGNED_16(INTFLOAT, src, [BUF_SIZE], [2]); in test_add_squares()
55 declare_func(void, INTFLOAT *dst, in test_add_squares()
56 const INTFLOAT (*src)[2], int n); in test_add_squares()
58 randomize((INTFLOAT *)src, BUF_SIZE * 2); in test_add_squares()
60 memcpy(dst1, dst0, BUF_SIZE * sizeof(INTFLOAT)); in test_add_squares()
70 LOCAL_ALIGNED_16(INTFLOAT, dst0, [BUF_SIZE], [2]); in test_mul_pair_single()
[all …]
/third_party/ffmpeg/libavcodec/
Daacpsdsp_template.c29 static void ps_add_squares_c(INTFLOAT *dst, const INTFLOAT (*src)[2], int n) in ps_add_squares_c()
36 static void ps_mul_pair_single_c(INTFLOAT (*dst)[2], INTFLOAT (*src0)[2], INTFLOAT *src1, in ps_mul_pair_single_c()
46 static void ps_hybrid_analysis_c(INTFLOAT (*out)[2], INTFLOAT (*in)[2], in ps_hybrid_analysis_c()
47 const INTFLOAT (*filter)[8][2], in ps_hybrid_analysis_c()
76 static void ps_hybrid_analysis_ileave_c(INTFLOAT (*out)[32][2], INTFLOAT L[2][38][64], in ps_hybrid_analysis_ileave_c()
89 static void ps_hybrid_synthesis_deint_c(INTFLOAT out[2][38][64], in ps_hybrid_synthesis_deint_c()
90 INTFLOAT (*in)[32][2], in ps_hybrid_synthesis_deint_c()
103 static void ps_decorrelate_c(INTFLOAT (*out)[2], INTFLOAT (*delay)[2], in ps_decorrelate_c()
104 INTFLOAT (*ap_delay)[PS_QMF_TIME_SLOTS + PS_MAX_AP_DELAY][2], in ps_decorrelate_c()
105 const INTFLOAT phi_fract[2], const INTFLOAT (*Q_fract)[2], in ps_decorrelate_c()
[all …]
Daacpsdsp.h33 void (*add_squares)(INTFLOAT *dst, const INTFLOAT (*src)[2], int n);
34 void (*mul_pair_single)(INTFLOAT (*dst)[2], INTFLOAT (*src0)[2], INTFLOAT *src1,
36 void (*hybrid_analysis)(INTFLOAT (*out)[2], INTFLOAT (*in)[2],
37 const INTFLOAT (*filter)[8][2],
39 void (*hybrid_analysis_ileave)(INTFLOAT (*out)[32][2], INTFLOAT L[2][38][64],
41 void (*hybrid_synthesis_deint)(INTFLOAT out[2][38][64], INTFLOAT (*in)[32][2],
43 void (*decorrelate)(INTFLOAT (*out)[2], INTFLOAT (*delay)[2],
44 INTFLOAT (*ap_delay)[PS_QMF_TIME_SLOTS+PS_MAX_AP_DELAY][2],
45 const INTFLOAT phi_fract[2], const INTFLOAT (*Q_fract)[2],
46 const INTFLOAT *transient_gain,
[all …]
Dsbrdsp.h29 void (*sum64x5)(INTFLOAT *z);
30 AAC_FLOAT (*sum_square)(INTFLOAT (*x)[2], int n);
31 void (*neg_odd_64)(INTFLOAT *x);
32 void (*qmf_pre_shuffle)(INTFLOAT *z);
33 void (*qmf_post_shuffle)(INTFLOAT W[32][2], const INTFLOAT *z);
34 void (*qmf_deint_neg)(INTFLOAT *v, const INTFLOAT *src);
35 void (*qmf_deint_bfly)(INTFLOAT *v, const INTFLOAT *src0, const INTFLOAT *src1);
36 void (*autocorrelate)(const INTFLOAT x[40][2], AAC_FLOAT phi[3][2][2]);
37 void (*hf_gen)(INTFLOAT (*X_high)[2], const INTFLOAT (*X_low)[2],
38 const INTFLOAT alpha0[2], const INTFLOAT alpha1[2],
[all …]
Dsbr.h86 DECLARE_ALIGNED(32, INTFLOAT, synthesis_filterbank_samples)[SBR_SYNTHESIS_BUF_SIZE]; member
87 DECLARE_ALIGNED(32, INTFLOAT, analysis_filterbank_samples) [1312]; member
92 INTFLOAT bw_array[5];
94 INTFLOAT W[2][32][32][2];
97 DECLARE_ALIGNED(16, INTFLOAT, Y)[2][38][64][2]; member
125 INTFLOAT X_low[32][40][2], const INTFLOAT W[2][32][32][2],
127 void (*sbr_hf_assemble)(INTFLOAT Y1[38][64][2],
128 const INTFLOAT X_high[64][40][2],
131 int (*sbr_x_gen)(SpectralBandReplication *sbr, INTFLOAT X[2][38][64],
132 const INTFLOAT Y0[38][64][2], const INTFLOAT Y1[38][64][2],
[all …]
Dsbrdsp_template.c23 static void sbr_sum64x5_c(INTFLOAT *z) in sbr_sum64x5_c()
27 INTFLOAT f = z[k] + z[k + 64] + z[k + 128] + z[k + 192] + z[k + 256]; in sbr_sum64x5_c()
32 static void sbr_qmf_deint_bfly_c(INTFLOAT *v, const INTFLOAT *src0, const INTFLOAT *src1) in sbr_qmf_deint_bfly_c()
46 static void sbr_hf_apply_noise_0(INTFLOAT (*Y)[2], const AAC_FLOAT *s_m, in sbr_hf_apply_noise_0()
50 sbr_hf_apply_noise(Y, s_m, q_filt, noise, (INTFLOAT)1.0, (INTFLOAT)0.0, m_max); in sbr_hf_apply_noise_0()
53 static void sbr_hf_apply_noise_1(INTFLOAT (*Y)[2], const AAC_FLOAT *s_m, in sbr_hf_apply_noise_1()
57 INTFLOAT phi_sign = 1 - 2 * (kx & 1); in sbr_hf_apply_noise_1()
58 sbr_hf_apply_noise(Y, s_m, q_filt, noise, (INTFLOAT)0.0, phi_sign, m_max); in sbr_hf_apply_noise_1()
61 static void sbr_hf_apply_noise_2(INTFLOAT (*Y)[2], const AAC_FLOAT *s_m, in sbr_hf_apply_noise_2()
65 sbr_hf_apply_noise(Y, s_m, q_filt, noise, (INTFLOAT)-1.0, (INTFLOAT)0.0, m_max); in sbr_hf_apply_noise_2()
[all …]
Daacps.h75 DECLARE_ALIGNED(16, INTFLOAT, in_buf)[5][44][2]; member
76 DECLARE_ALIGNED(16, INTFLOAT, delay)[PS_MAX_SSB][PS_QMF_TIME_SLOTS + PS_MAX_DELAY][2]; member
77 …DECLARE_ALIGNED(16, INTFLOAT, ap_delay)[PS_MAX_AP_BANDS][PS_AP_LINKS][PS_QMF_TIME_SLOTS + PS_MAX_A… member
78 DECLARE_ALIGNED(16, INTFLOAT, peak_decay_nrg)[34]; member
79 DECLARE_ALIGNED(16, INTFLOAT, power_smooth)[34]; member
80 DECLARE_ALIGNED(16, INTFLOAT, peak_decay_diff_smooth)[34]; member
81 DECLARE_ALIGNED(16, INTFLOAT, H11)[2][PS_MAX_NUM_ENV+1][PS_MAX_NR_IIDICC]; member
82 DECLARE_ALIGNED(16, INTFLOAT, H12)[2][PS_MAX_NUM_ENV+1][PS_MAX_NR_IIDICC]; member
83 DECLARE_ALIGNED(16, INTFLOAT, H21)[2][PS_MAX_NUM_ENV+1][PS_MAX_NR_IIDICC]; member
84 DECLARE_ALIGNED(16, INTFLOAT, H22)[2][PS_MAX_NUM_ENV+1][PS_MAX_NR_IIDICC]; member
[all …]
Daacps.c38 static const INTFLOAT g1_Q2[] = {
54 static void hybrid2_re(INTFLOAT (*in)[2], INTFLOAT (*out)[32][2], in hybrid2_re()
55 const INTFLOAT filter[7], int len, int reverse) in hybrid2_re()
73 out[ reverse][i][0] = (INTFLOAT)(re_in + re_op); in hybrid2_re()
74 out[ reverse][i][1] = (INTFLOAT)(im_in + im_op); in hybrid2_re()
75 out[!reverse][i][0] = (INTFLOAT)(re_in - re_op); in hybrid2_re()
76 out[!reverse][i][1] = (INTFLOAT)(im_in - im_op); in hybrid2_re()
81 static void hybrid6_cx(PSDSPContext *dsp, INTFLOAT (*in)[2], INTFLOAT (*out)[32][2], in hybrid6_cx()
82 TABLE_CONST INTFLOAT (*filter)[8][2], int len) in hybrid6_cx()
86 LOCAL_ALIGNED_16(INTFLOAT, temp, [8], [2]); in hybrid6_cx()
[all …]
Daac.h168 INTFLOAT coef;
206 INTFLOAT coef[8][4][TNS_MAX_ORDER];
243 INTFLOAT gain[16][120];
256 INTFLOAT sf[120]; ///< scalefactors
262 DECLARE_ALIGNED(32, INTFLOAT, pcoeffs)[1024]; ///< coefficients for IMDCT, pristine member
263 DECLARE_ALIGNED(32, INTFLOAT, coeffs)[1024]; ///< coefficients for IMDCT, maybe processed member
264 DECLARE_ALIGNED(32, INTFLOAT, saved)[1536]; ///< overlap member
265 DECLARE_ALIGNED(32, INTFLOAT, ret_buf)[2048]; ///< PCM output buffer member
266 DECLARE_ALIGNED(16, INTFLOAT, ltp_state)[3072]; ///< time signal for LTP member
270 INTFLOAT *ret; ///< PCM output
[all …]
Dac3dec.h154INTFLOAT spx_noise_blend[AC3_MAX_CHANNELS][SPX_MAX_BANDS]; ///< spx noise blending factor (nblend…
155INTFLOAT spx_signal_blend[AC3_MAX_CHANNELS][SPX_MAX_BANDS];///< spx signal blending factor (sblend…
176 INTFLOAT dynamic_range[2]; ///< dynamic range
177INTFLOAT drc_scale; ///< percentage of dynamic range compression to be appl…
179 INTFLOAT heavy_dynamic_range[2]; ///< heavy dynamic range compression
241 INTFLOAT *xcfptr[AC3_MAX_CHANNELS];
242 INTFLOAT *dlyptr[AC3_MAX_CHANNELS];
246 …DECLARE_ALIGNED(32, INTFLOAT, transform_coeffs)[AC3_MAX_CHANNELS][AC3_MAX_COEFS]; ///< transform… member
247 …DECLARE_ALIGNED(32, INTFLOAT, delay)[EAC3_MAX_CHANNELS][AC3_BLOCK_SIZE]; ///< delay - adde… member
248 …DECLARE_ALIGNED(32, INTFLOAT, window)[AC3_BLOCK_SIZE]; ///< window co… member
[all …]
Daactab.h50 static const INTFLOAT ltp_coef[8] = {
61 static const INTFLOAT tns_tmp2_map_1_3[4] = {
65 static const INTFLOAT tns_tmp2_map_0_3[8] = {
70 static const INTFLOAT tns_tmp2_map_1_4[8] = {
75 static const INTFLOAT tns_tmp2_map_0_4[16] = {
82 static const INTFLOAT * const tns_tmp2_map[4] = {
Dmpegaudiodsp_template.c78 DECLARE_ALIGNED(16, INTFLOAT, RENAME(ff_mdct_win))[8][MDCT_BUF_SIZE]; variable
96 INTFLOAT tmp;\
203 INTFLOAT v; in mpa_synth_init()
248 static const INTFLOAT icos36[9] = {
261 static const INTFLOAT icos36h[9] = {
274 static void imdct36(INTFLOAT *out, INTFLOAT *buf, SUINTFLOAT *in, INTFLOAT *win) in imdct36()
354 void RENAME(ff_imdct36_blocks)(INTFLOAT *out, INTFLOAT *buf, INTFLOAT *in, in RENAME()
363 INTFLOAT *win = RENAME(ff_mdct_win)[win_idx + (4 & -(j & 1))]; in RENAME()
Daacsbr_template.c136 static const INTFLOAT bands_warped[3] = { Q23(1.32715174233856803909f), //2^(0.49/1.2)
139 const INTFLOAT lim_bands_per_octave_warped = bands_warped[sbr->bs_limiter_bands - 1];
1169 SBRDSPContext *sbrdsp, const INTFLOAT *in, INTFLOAT *x,
1170 INTFLOAT z[320], INTFLOAT W[2][32][32][2], int buf_idx)
1216 INTFLOAT *out, INTFLOAT X[2][38][64],
1217 INTFLOAT mdct_buf[2][64],
1218 INTFLOAT *v0, int *v_off, const unsigned int div)
1221 const INTFLOAT *sbr_qmf_window = div ? sbr_qmf_window_ds : sbr_qmf_window_us;
1223 INTFLOAT *v;
1227 … memcpy(&v0[SBR_SYNTHESIS_BUF_SIZE - saved_samples], v0, saved_samples * sizeof(INTFLOAT));
[all …]
Daacdec_template.c188 ac->output_element[ch]->ret = (INTFLOAT *)ac->frame->extended_data[ch]; in frame_configure_elements()
1598 static int decode_scalefactors(AACContext *ac, INTFLOAT sf[120], GetBitContext *gb, in decode_scalefactors()
1768 static int decode_spectrum_and_dequant(AACContext *ac, INTFLOAT coef[1024], in decode_spectrum_and_dequant()
1769 GetBitContext *gb, const INTFLOAT sf[120], in decode_spectrum_and_dequant()
1777 INTFLOAT *coef_base = coef; in decode_spectrum_and_dequant()
1781 sizeof(INTFLOAT) * (c - offsets[ics->max_sfb])); in decode_spectrum_and_dequant()
1788 INTFLOAT *cfo = coef + offsets[i]; in decode_spectrum_and_dequant()
1798 INTFLOAT band_energy; in decode_spectrum_and_dequant()
1831 INTFLOAT *cf = cfo; in decode_spectrum_and_dequant()
1852 INTFLOAT *cf = cfo; in decode_spectrum_and_dequant()
[all …]
Dmpegaudio.h63 # define INTFLOAT float macro
68 # define INTFLOAT int macro
73 # define INTFLOAT int macro
Ddct32_template.c38 # define INTFLOAT float macro
44 # define INTFLOAT int macro
126 void dct32(INTFLOAT *out, const INTFLOAT *tab_arg) in dct32()
Daacsbr.h92 INTFLOAT* L, INTFLOAT *R);
Dac3.h57 typedef int INTFLOAT; typedef
78 typedef float INTFLOAT; typedef
Dmpegaudiodec_template.c73 DECLARE_ALIGNED(16, INTFLOAT, sb_hybrid)[SBLIMIT * 18]; /* 576 samples */ member
87 DECLARE_ALIGNED(32, INTFLOAT, sb_samples)[MPA_MAX_CHANNELS][36][SBLIMIT]; member
88 INTFLOAT mdct_buf[MPA_MAX_CHANNELS][SBLIMIT * 18]; /* previous samples, for layer 3 MDCT */
106 static INTFLOAT is_table_lsf[2][2][16];
324 static void imdct12(INTFLOAT *out, SUINTFLOAT *in) in imdct12()
905 INTFLOAT *ptr, *dst, *ptr1; in reorder_block()
906 INTFLOAT tmp[576]; in reorder_block()
941 INTFLOAT *tab0, *tab1, v1, v2; in compute_stereo()
942 const INTFLOAT (*is_tab)[16]; in compute_stereo()
1097 INTFLOAT *ptr; in compute_antialias()
[all …]
Daac_defines.h37 typedef int INTFLOAT; typedef
86 typedef float INTFLOAT; typedef
Daacdec.c71 DECLARE_ALIGNED(32, static INTFLOAT, AAC_RENAME(sine_120))[120]; variable
72 DECLARE_ALIGNED(32, static INTFLOAT, AAC_RENAME(sine_960))[960]; variable
73 DECLARE_ALIGNED(32, static INTFLOAT, AAC_RENAME(aac_kbd_long_960))[960]; variable
74 DECLARE_ALIGNED(32, static INTFLOAT, AAC_RENAME(aac_kbd_short_120))[120]; variable
Deac3dec.c96 copy_sizes[i]*sizeof(INTFLOAT)); in ff_eac3_apply_spectral_extension()
119 INTFLOAT *coeffs = &s->transform_coeffs[ch][bin]; in ff_eac3_apply_spectral_extension()
145 UINTFLOAT noise = (INTFLOAT)(nscale * (int32_t)av_lfg_get(&s->dith_state)); in ff_eac3_apply_spectral_extension()
Daacsbrdata.h271 const DECLARE_ALIGNED(16, INTFLOAT, AAC_RENAME(ff_sbr_noise_table))[][2] = { variable
536 static DECLARE_ALIGNED(32, INTFLOAT, sbr_qmf_window_ds)[320]; variable
539 static const DECLARE_ALIGNED(32, INTFLOAT, sbr_qmf_window_us)[640] = { variable
Dac3dec.c905 INTFLOAT spx_blend; in spx_coordinates()
916 INTFLOAT nratio, sblend, nblend; in spx_coordinates()
1125 INTFLOAT range = AC3_RANGE(range_bits); in decode_audio_block()
1415 INTFLOAT gain; in decode_audio_block()