Home
last modified time | relevance | path

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

1234

/external/libldac/src/
Dtables_sigproc_ldac.c22 DECLFUNC const SCALAR *gaa_fwin_ldac[LDAC_NUMLNN];
23 static const SCALAR sa_fwin_1fs_ldac[LDAC_1FSLSU] = {
57 static const SCALAR sa_fwin_2fs_ldac[LDAC_2FSLSU] = {
127 DECLFUNC const SCALAR *gaa_wcos_ldac[LDAC_NUMLNN];
128 static const SCALAR sa_wcos_1fs_ldac[LDAC_1FSLSU] = {
162 static const SCALAR sa_wcos_2fs_ldac[LDAC_2FSLSU] = {
229 DECLFUNC const SCALAR *gaa_wsin_ldac[LDAC_NUMLNN];
230 static const SCALAR sa_wsin_1fs_ldac[LDAC_1FSLSU] = {
264 static const SCALAR sa_wsin_2fs_ldac[LDAC_2FSLSU] = {
367 DECLFUNC const SCALAR ga_isf_ldac[LDAC_NIDSF] = {
[all …]
Dsigana_ldac.c30 static SCALAR calc_mdct_pseudo_spectrum_ldac( in calc_mdct_pseudo_spectrum_ldac()
31 SCALAR *p_spec, in calc_mdct_pseudo_spectrum_ldac()
32 SCALAR *p_psd, in calc_mdct_pseudo_spectrum_ldac()
36 SCALAR low_energy, tmp; in calc_mdct_pseudo_spectrum_ldac()
37 SCALAR y0, y1, y2; in calc_mdct_pseudo_spectrum_ldac()
75 static SCALAR calc_spectral_centroid_ldac( in calc_spectral_centroid_ldac()
76 SCALAR *p_spec, in calc_spectral_centroid_ldac()
80 SCALAR centroid; in calc_spectral_centroid_ldac()
81 SCALAR s1, s2; in calc_spectral_centroid_ldac()
85 s1 += (SCALAR)isp * *p_spec; in calc_spectral_centroid_ldac()
[all …]
Dsetpcm_ldac.c24 SCALAR *p_out, in byte_data_to_scalar_s16_ldac()
32 *p_out++ = (SCALAR)*p_s++; in byte_data_to_scalar_s16_ldac()
43 SCALAR *p_out, in byte_data_to_scalar_s24_ldac()
48 SCALAR scale = _scalar(1.0) / _scalar(65536.0); in byte_data_to_scalar_s24_ldac()
61 *p_out++ = scale * (SCALAR)(val << 8); /* Sign Extension */ in byte_data_to_scalar_s24_ldac()
72 SCALAR *p_out, in byte_data_to_scalar_s32_ldac()
77 SCALAR scale = _scalar(1.0) / _scalar(65536.0); in byte_data_to_scalar_s32_ldac()
81 *p_out++ = scale * (SCALAR)*p_l++; in byte_data_to_scalar_s32_ldac()
92 SCALAR *p_out, in byte_data_to_scalar_f32_ldac()
97 SCALAR scale = _scalar(32768.0); in byte_data_to_scalar_f32_ldac()
[all …]
Dquant_ldac.c23 SCALAR val) in get_scale_factor_id_ldac()
44 static SCALAR sa_val_ldac[LDAC_MAXNSPS] = {
56 SCALAR maxspec, tmp; in norm_spectrum_ldac()
57 SCALAR *p_spec = p_ac->p_acsub->a_spec; in norm_spectrum_ldac()
101 SCALAR qf = ga_qf_ldac[p_ac->a_idwl1[iqu]]; in quant_spectrum_core_ldac()
102 SCALAR *p_nspec = p_ac->p_acsub->a_spec+isp; in quant_spectrum_core_ldac()
143 SCALAR ldqspec; in quant_residual_core_ldac()
144 SCALAR iqf = ga_iqf_ldac[LDAC_MAXIDWL1]; in quant_residual_core_ldac()
145 SCALAR rqsf = ga_qf_ldac[p_ac->a_idwl2[iqu]] * ga_irsf_ldac[LDAC_MAXIDWL1] in quant_residual_core_ldac()
147 SCALAR *p_nspec = p_ac->p_acsub->a_spec+isp; in quant_residual_core_ldac()
Dstruct_ldac.h50 typedef float SCALAR; typedef
64 #define clear_seq_f_ldac(p, n) memset((char *)(p), 0, (n)*sizeof(SCALAR))
71 #define copy_seq_f_ldac(p1, p2, n) memcpy_s((p2), (n)*sizeof(SCALAR), (p1), (n)*sizeof(SCALAR))
72 #define move_seq_f_ldac(p1, p2, n) memmove_s((p2), (n)*sizeof(SCALAR), (p1), (n)*sizeof(SCALAR))
77 #define copy_seq_f_ldac(p1, p2, n) memcpy((p2), (p1), (n)*sizeof(SCALAR))
78 #define move_seq_f_ldac(p1, p2, n) memmove((p2), (p1), (n)*sizeof(SCALAR))
Dmdct_ldac.c23 SCALAR *p_x, in proc_mdct_core_ldac()
24 SCALAR *p_y, in proc_mdct_core_ldac()
32 const SCALAR *p_w, *p_c, *p_s; in proc_mdct_core_ldac()
33 SCALAR a_work[LDAC_MAXLSU]; in proc_mdct_core_ldac()
34 SCALAR *p_work = a_work; in proc_mdct_core_ldac()
35 SCALAR a, b, c, d, tmp; in proc_mdct_core_ldac()
36 SCALAR cc, cs; in proc_mdct_core_ldac()
81 tmp = _scalar(1.0) / (SCALAR)(nsmpl>>1); in proc_mdct_core_ldac()
/external/eigen/test/
Dproduct_trmm.cpp83 #define CALL_ALL_ORDERS(NB,SCALAR,MODE) \ argument
84 EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, ColMajor,ColMajor,ColMajor>())); \
85 EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, ColMajor,ColMajor,RowMajor>())); \
86 EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, ColMajor,RowMajor,ColMajor>())); \
87 EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, ColMajor,RowMajor,RowMajor>())); \
88 EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, RowMajor,ColMajor,ColMajor>())); \
89 EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, RowMajor,ColMajor,RowMajor>())); \
90 EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, RowMajor,RowMajor,ColMajor>())); \
91 EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, RowMajor,RowMajor,RowMajor>())); \
93 EIGEN_CAT(CALL_SUBTEST_1,NB)((trmv<SCALAR, MODE, ColMajor>())); \
[all …]
/external/eigen/bench/btl/libs/BLAS/
Dblas_interface_impl.hh4 template<> class blas_interface<SCALAR> : public c_interface_base<SCALAR>
9 static SCALAR fone;
10 static SCALAR fzero;
33 static inline void rot(gene_vector & A, gene_vector & B, SCALAR c, SCALAR s, int N){ in rot()
57 static inline void axpy(SCALAR coef, const gene_vector & X, gene_vector & Y, int N){ in axpy()
61 static inline void axpby(SCALAR a, const gene_vector & X, SCALAR b, gene_vector & Y, int N){ in axpby()
122 SCALAR* d = new SCALAR[N+worksize]; in hessenberg()
137 SCALAR* d = new SCALAR[3*N+worksize]; in tridiagonalization()
146 SCALAR blas_interface<SCALAR>::fone = SCALAR(1);
147 SCALAR blas_interface<SCALAR>::fzero = SCALAR(0);
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dsqrt-fastmath-tune.ll1 …6_64-unknown-unknown -O2 -mcpu=nehalem | FileCheck %s --check-prefix=SCALAR-EST --check-prefix…
2 …6_64-unknown-unknown -O2 -mcpu=sandybridge | FileCheck %s --check-prefix=SCALAR-ACC --check-prefix…
3 …6_64-unknown-unknown -O2 -mcpu=broadwell | FileCheck %s --check-prefix=SCALAR-ACC --check-prefix…
4 …6_64-unknown-unknown -O2 -mcpu=skylake | FileCheck %s --check-prefix=SCALAR-ACC --check-prefix…
6 …attr=+fast-scalar-fsqrt,-fast-vector-fsqrt | FileCheck %s --check-prefix=SCALAR-ACC --check-prefix…
7 …attr=-fast-scalar-fsqrt,+fast-vector-fsqrt | FileCheck %s --check-prefix=SCALAR-EST --check-prefix…
14 ; SCALAR-EST-LABEL: foo_x1:
15 ; SCALAR-EST: # %bb.0:
16 ; SCALAR-EST-NEXT: rsqrtss %xmm0
17 ; SCALAR-EST: retq
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dfp-cmp-01.ll5 ; RUN: | FileCheck -check-prefix=CHECK -check-prefix=CHECK-SCALAR %s
15 ; CHECK-SCALAR-NEXT: ber %r14
16 ; CHECK-SCALAR: lgr %r2, %r3
28 ; CHECK-SCALAR-NEXT: ber %r14
29 ; CHECK-SCALAR: lgr %r2, %r3
42 ; CHECK-SCALAR-NEXT: ber %r14
43 ; CHECK-SCALAR: lgr %r2, %r3
59 ; CHECK-SCALAR-NEXT: ber %r14
60 ; CHECK-SCALAR: lgr %r2, %r3
75 ; CHECK-SCALAR-NEXT: ber %r14
[all …]
Dfp-cmp-02.ll5 ; RUN: | FileCheck -check-prefix=CHECK -check-prefix=CHECK-SCALAR %s
15 ; CHECK-SCALAR-NEXT: ber %r14
16 ; CHECK-SCALAR: lgr %r2, %r3
28 ; CHECK-SCALAR-NEXT: ber %r14
29 ; CHECK-SCALAR: lgr %r2, %r3
42 ; CHECK-SCALAR-NEXT: ber %r14
43 ; CHECK-SCALAR: lgr %r2, %r3
59 ; CHECK-SCALAR-NEXT: ber %r14
60 ; CHECK-SCALAR: lgr %r2, %r3
75 ; CHECK-SCALAR-NEXT: ber %r14
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/X86/
Dunroll-small-loops.ll4 ; RUN: | FileCheck %s --check-prefix=CHECK-SCALAR
18 ; CHECK-SCALAR-LABEL: @foo(
19 ; CHECK-SCALAR: load i32, i32*
20 ; CHECK-SCALAR-NOT: load i32, i32*
21 ; CHECK-SCALAR: store i32
22 ; CHECK-SCALAR-NOT: store i32
23 ; CHECK-SCALAR: ret
52 ; CHECK-SCALAR-LABEL: @bar(
53 ; CHECK-SCALAR: store i32
54 ; CHECK-SCALAR-NOT: store i32
[all …]
/external/llvm/test/Transforms/LoopVectorize/X86/
Dunroll-small-loops.ll4 ; RUN: | FileCheck %s --check-prefix=CHECK-SCALAR
18 ; CHECK-SCALAR-LABEL: @foo(
19 ; CHECK-SCALAR: load i32, i32*
20 ; CHECK-SCALAR-NOT: load i32, i32*
21 ; CHECK-SCALAR: store i32
22 ; CHECK-SCALAR-NOT: store i32
23 ; CHECK-SCALAR: ret
52 ; CHECK-SCALAR-LABEL: @bar(
53 ; CHECK-SCALAR: store i32
54 ; CHECK-SCALAR-NOT: store i32
[all …]
/external/eigen/bench/
Dvdw_new.cpp6 #ifndef SCALAR
7 #define SCALAR float macro
18 typedef Matrix<SCALAR, Eigen::Dynamic, 1> Vec;
22 SCALAR E_VDW(const Vec &interactions1, const Vec &interactions2) in E_VDW()
45 SCALAR rab = 1.0; in main()
50 SCALAR energy = 0.0; in main()
Dbenchmark.cpp18 #ifndef SCALAR
19 #define SCALAR double macro
24 Matrix<SCALAR,MATSIZE,MATSIZE> I = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones(); in main()
25 Matrix<SCALAR,MATSIZE,MATSIZE> m; in main()
34 m = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones() + 0.00005 * (m + (m*m)); in main()
DbenchmarkSlice.cpp14 #ifndef SCALAR
15 #define SCALAR float macro
20 typedef Matrix<SCALAR, Eigen::Dynamic, Eigen::Dynamic> Mat; in main()
32 m.block(r,c,nr,nc) *= SCALAR(10); in main()
34 m.block(r,c,nr,nc) /= SCALAR(10); in main()
/external/llvm/test/CodeGen/SystemZ/
Dfp-cmp-02.ll5 ; RUN: | FileCheck -check-prefix=CHECK -check-prefix=CHECK-SCALAR %s
15 ; CHECK-SCALAR-NEXT: ber %r14
16 ; CHECK-SCALAR: lgr %r2, %r3
28 ; CHECK-SCALAR-NEXT: ber %r14
29 ; CHECK-SCALAR: lgr %r2, %r3
42 ; CHECK-SCALAR-NEXT: ber %r14
43 ; CHECK-SCALAR: lgr %r2, %r3
59 ; CHECK-SCALAR-NEXT: ber %r14
60 ; CHECK-SCALAR: lgr %r2, %r3
75 ; CHECK-SCALAR-NEXT: ber %r14
[all …]
/external/eigen/failtest/
Dllt_int.cpp4 #define SCALAR int macro
6 #define SCALAR float macro
13 LLT<Matrix<SCALAR,Dynamic,Dynamic> > llt(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10)); in main()
Dqr_int.cpp4 #define SCALAR int macro
6 #define SCALAR float macro
13 HouseholderQR<Matrix<SCALAR,Dynamic,Dynamic> > qr(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10)); in main()
Dbdcsvd_int.cpp4 #define SCALAR int macro
6 #define SCALAR float macro
13 BDCSVD<Matrix<SCALAR,Dynamic,Dynamic> > qr(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10)); in main()
Dldlt_int.cpp4 #define SCALAR int macro
6 #define SCALAR float macro
13 LDLT<Matrix<SCALAR,Dynamic,Dynamic> > ldlt(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10)); in main()
Deigensolver_int.cpp4 #define SCALAR int macro
6 #define SCALAR float macro
13 EigenSolver<Matrix<SCALAR,Dynamic,Dynamic> > eig(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10)); in main()
Dfullpivlu_int.cpp4 #define SCALAR int macro
6 #define SCALAR float macro
13 FullPivLU<Matrix<SCALAR,Dynamic,Dynamic> > lu(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10)); in main()
Dfullpivqr_int.cpp4 #define SCALAR int macro
6 #define SCALAR float macro
13 …FullPivHouseholderQR<Matrix<SCALAR,Dynamic,Dynamic> > qr(Matrix<SCALAR,Dynamic,Dynamic>::Random(10… in main()
Djacobisvd_int.cpp4 #define SCALAR int macro
6 #define SCALAR float macro
13 JacobiSVD<Matrix<SCALAR,Dynamic,Dynamic> > qr(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10)); in main()

1234