Home
last modified time | relevance | path

Searched refs:spec (Results 1 – 11 of 11) sorted by relevance

/liblc3-3.5.0-3.4.0/test/
Drun.py19 import ltpf, sns, tns, spec, encoder, decoder
30 ( spec , "Spectral Quantization" ),
Dencoder.py28 import mdct, energy, bwdet, sns, tns, spec
52 self.spec = spec.SpectrumAnalysis(dt, sr)
72 (xq, lastnz, x) = self.spec.run(bw, nbytes,
84 self.spec.store(b)
95 self.spec.encode(b)
Ddecoder.py27 import mdct, energy, bwdet, sns, tns, spec, ltpf
48 self.spec = spec.SpectrumSynthesis(dt, sr)
61 self.spec.load(b)
74 x = self.spec.decode(b, bw, len(data))
Dspec_py.c132 struct lc3_spec_analysis spec = { 0 }; in analyze_py() local
149 CTYPES_CHECK(NULL, spec_obj = to_spec_analysis(spec_obj, &spec)); in analyze_py()
155 lc3_spec_analyze(dt, sr, nbytes, pitch, &tns, &spec, x, __xq, &side); in analyze_py()
160 from_spec_analysis(spec_obj, &spec); in analyze_py()
Dctypes.h545 PyObject *obj, const struct lc3_spec_analysis *spec) in from_spec_analysis() argument
550 new_scalar(NPY_FLOAT, &spec->nbits_off)); in from_spec_analysis()
553 new_scalar(NPY_INT, &spec->nbits_spare)); in from_spec_analysis()
560 PyObject *obj, struct lc3_spec_analysis *spec) in to_spec_analysis() argument
566 NPY_FLOAT, &spec->nbits_off)); in to_spec_analysis()
570 NPY_INT, &spec->nbits_spare)); in to_spec_analysis()
726 from_spec_analysis(NULL, &enc->spec)); in from_encoder()
772 PyDict_GetItemString(obj, "quant"), &enc->spec)); in to_encoder()
/liblc3-3.5.0-3.4.0/src/
Dmakefile.mk27 $(SRC_DIR)/spec.c \
Dlc3.c45 lc3_spec_side_t spec; member
288 &encoder->spec, xf, xq, &side->spec); in analyze()
312 lc3_spec_put_side(&bits, dt, sr, &side->spec); in encode()
324 dt, sr, bw, nbytes, xq, &side->spec, xf); in encode()
534 if ((ret = lc3_spec_get_side(&bits, dt, sr, &side->spec)) < 0) in decode()
548 side->bw, nbytes, &side->spec, xf)) < 0) in decode()
Dspec.h64 lc3_spec_analysis_t *spec, float *x, uint16_t *xq, lc3_spec_side_t *side);
Dspec.c770 struct lc3_spec_analysis *spec, float *x, in lc3_spec_analyze() argument
786 float nbits_off = spec->nbits_off + spec->nbits_spare; in lc3_spec_analyze()
788 nbits_off = 0.8f * spec->nbits_off + 0.2f * nbits_off; in lc3_spec_analyze()
801 spec->nbits_off = reset_off ? 0 : nbits_off; in lc3_spec_analyze()
802 spec->nbits_spare = reset_off ? 0 : nbits_budget - nbits; in lc3_spec_analyze()
Dmeson.build27 'spec.c',
/liblc3-3.5.0-3.4.0/include/
Dlc3_private.h108 lc3_spec_analysis_t spec; member