/liblc3-3.5.0-3.4.0/test/ |
D | run.py | 19 import ltpf, sns, tns, spec, encoder, decoder 30 ( spec , "Spectral Quantization" ),
|
D | encoder.py | 28 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)
|
D | decoder.py | 27 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))
|
D | spec_py.c | 132 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()
|
D | ctypes.h | 545 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/ |
D | makefile.mk | 27 $(SRC_DIR)/spec.c \
|
D | lc3.c | 45 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()
|
D | spec.h | 64 lc3_spec_analysis_t *spec, float *x, uint16_t *xq, lc3_spec_side_t *side);
|
D | spec.c | 770 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()
|
D | meson.build | 27 'spec.c',
|
/liblc3-3.5.0-3.4.0/include/ |
D | lc3_private.h | 108 lc3_spec_analysis_t spec; member
|