Home
last modified time | relevance | path

Searched refs:c (Results 1 – 22 of 22) sorted by relevance

/liblc3-latest/src/
Dmakefile.mk18 $(SRC_DIR)/attdet.c \
19 $(SRC_DIR)/bits.c \
20 $(SRC_DIR)/bwdet.c \
21 $(SRC_DIR)/energy.c \
22 $(SRC_DIR)/lc3.c \
23 $(SRC_DIR)/ltpf.c \
24 $(SRC_DIR)/mdct.c \
25 $(SRC_DIR)/plc.c \
26 $(SRC_DIR)/sns.c \
27 $(SRC_DIR)/spec.c \
[all …]
Dsns.c417 LC3_HOT static void normalize(const int *c, float *cn) in normalize() argument
421 c2_sum += c[i] * c[i]; in normalize()
426 cn[i] = c[i] * c_norm; in normalize()
465 int (*c)[16], float (*cn)[16], int *shape_idx, int *gain_idx) in quantize()
497 c[3][i] = floorf(xm[i] * proj_factor); in quantize()
498 npulses += c[3][i]; in quantize()
499 corr += c[3][i] * xm[i]; in quantize()
500 energy += c[3][i] * c[3][i]; in quantize()
503 add_pulse(xm, c[3], 16, npulses, 6, &corr, &energy); in quantize()
509 memcpy(c[2], c[3], sizeof(c[2])); in quantize()
[all …]
Dmeson.build18 'attdet.c',
19 'bits.c',
20 'bwdet.c',
21 'energy.c',
22 'lc3.c',
23 'ltpf.c',
24 'mdct.c',
25 'plc.c',
26 'sns.c',
27 'spec.c',
[all …]
Dfastmath.h134 static const float c[] = { in lc3_log2f() local
139 y = ( c[0]) * x; in lc3_log2f()
140 y = (y + c[1]) * x; in lc3_log2f()
141 y = (y + c[2]) * x; in lc3_log2f()
142 y = (y + c[3]) * x; in lc3_log2f()
143 y = (y + c[4]); in lc3_log2f()
Dltpf.c764 const float *c, const int w, int fade) in synthesize_template() argument
785 u[j-k] -= yi * c[k]; in synthesize_template()
788 u[j-k] += xi * c[w+k]; in synthesize_template()
802 u[(j+(w-1)-k)%w] -= yi * c[k]; in synthesize_template()
805 u[(j+(w-1)-k)%w] += xi * c[w+k]; in synthesize_template()
818 const float *x0, float *x, int n, const float *c, int fade) in synthesize_4() argument
820 synthesize_template(xh, nh, lag, x0, x, n, c, 4, fade); in synthesize_4()
824 const float *x0, float *x, int n, const float *c, int fade) in synthesize_6() argument
826 synthesize_template(xh, nh, lag, x0, x, n, c, 6, fade); in synthesize_6()
830 const float *x0, float *x, int n, const float *c, int fade) in synthesize_8() argument
[all …]
Dtns.c131 float c[9][3] = { 0 }; in compute_lpc_coeffs() local
137 c[k][s] = dot(xs, xs + k, (xe - xs) - k); in compute_lpc_coeffs()
142 float e0 = c[0][0], e1 = c[0][1]; in compute_lpc_coeffs()
145 (c[k][0]/e0 + c[k][1]/e1) * lag_window[k]; in compute_lpc_coeffs()
148 float e0 = c[0][0], e1 = c[0][1], e2 = c[0][2]; in compute_lpc_coeffs()
151 (c[k][0]/e0 + c[k][1]/e1 + c[k][2]/e2) * lag_window[k]; in compute_lpc_coeffs()
/liblc3-latest/tools/
Dmakefile.mk18 $(TOOLS_DIR)/elc3.c \
19 $(TOOLS_DIR)/lc3bin.c \
20 $(TOOLS_DIR)/wave.c
29 $(TOOLS_DIR)/dlc3.c \
30 $(TOOLS_DIR)/lc3bin.c \
31 $(TOOLS_DIR)/wave.c
Dmeson.build18 ['lc3bin.c', 'wave.c'],
24 executable('elc3', ['elc3.c'],
30 executable('dlc3', ['dlc3.c'],
/liblc3-latest/test/neon/
Dmakefile.mk18 $(TEST_DIR)/neon/test_neon.c \
19 $(TEST_DIR)/neon/ltpf_neon.c \
20 $(TEST_DIR)/neon/mdct_neon.c \
21 $(SRC_DIR)/tables.c
Dneon.h215 static float32x2_t vfma_f32(float32x2_t a, float32x2_t b, float32x2_t c) in vfma_f32() argument
218 a.e[0] + b.e[0] * c.e[0], a.e[1] + b.e[1] * c.e[1] } }; in vfma_f32()
222 static float32x4_t vfmaq_f32(float32x4_t a, float32x4_t b, float32x4_t c) in vfmaq_f32() argument
225 a.e[0] + b.e[0] * c.e[0], a.e[1] + b.e[1] * c.e[1], in vfmaq_f32()
226 a.e[2] + b.e[2] * c.e[2], a.e[3] + b.e[3] * c.e[3] } }; in vfmaq_f32()
230 static float32x2_t vfms_f32(float32x2_t a, float32x2_t b, float32x2_t c) in vfms_f32() argument
233 a.e[0] - b.e[0] * c.e[0], a.e[1] - b.e[1] * c.e[1] } }; in vfms_f32()
237 static float32x4_t vfmsq_f32(float32x4_t a, float32x4_t b, float32x4_t c) in vfmsq_f32() argument
240 a.e[0] - b.e[0] * c.e[0], a.e[1] - b.e[1] * c.e[1], in vfmsq_f32()
241 a.e[2] - b.e[2] * c.e[2], a.e[3] - b.e[3] * c.e[3] } }; in vfmsq_f32()
Dltpf_neon.c30 void lc3_put_bits_generic(lc3_bits_t *a, unsigned b, int c) in lc3_put_bits_generic() argument
31 { (void)a, (void)b, (void)c; } in lc3_put_bits_generic()
/liblc3-latest/test/arm/
Dmakefile.mk18 $(TEST_DIR)/arm/test_arm.c \
19 $(TEST_DIR)/arm/ltpf_arm.c \
20 $(SRC_DIR)/tables.c
Dltpf_arm.c30 void lc3_put_bits_generic(lc3_bits_t *a, unsigned b, int c) in lc3_put_bits_generic() argument
31 { (void)a, (void)b, (void)c; } in lc3_put_bits_generic()
/liblc3-latest/
Dmeson.build15 project('lc3', 'c',
21 cc = meson.get_compiler('c')
24 add_project_arguments(['/wd4244', '/wd4305', '/fp:fast'], language: 'c')
26 add_project_arguments('-ffast-math', language: 'c')
DMakefile85 $(eval $(1)_obj ?= $(patsubst %.c,%.o,$(filter %.c,$($(1)_src))) \
132 $(BUILD_DIR)/%.o: %.c $(MAKEFILE_DEPS)
DLICENSE101 (c) You must retain, in the Source form of any Derivative Works
/liblc3-latest/test/
Dspec.py180 c = 0
183 t = c + rate
220 c = (c & 15) * 16 + t
370 c = 0
373 t = c + self.rate
422 c = (c & 15) * 16 + t
493 c = 0
496 t = c + rate
535 c = (c & 15) * 16 + t
Dbwdet.py76 c = 10 * np.log10(1e-31 + e[i0-l+1:i1-l+2] / e[i0+1:i1+2])
77 if np.amax(c) <= TC[bw0]:
Dtns.py161 c = [ np.dot(x[S[s]:S[s+1]-k], x[S[s]+k:S[s+1]])
164 r[k] = np.sum( np.array(c) / np.array(e) )
Dctypes.h350 PyDict_GetItemString(obj, "c"), NPY_FLOAT, ltpf->c, 2*12)); in to_ltpf_synthesis()
373 new_1d_copy(NPY_FLOAT, 2*12, &ltpf->c)); in from_ltpf_synthesis()
/liblc3-latest/include/
Dlc3_private.h145 float c[2*12], x[12]; member
/liblc3-latest/python/
DLICENSE101 (c) You must retain, in the Source form of any Derivative Works