Home
last modified time | relevance | path

Searched refs:dec (Results 1 – 5 of 5) sorted by relevance

/liblc3-latest/test/
Dctypes.h794 static PyObject *from_decoder(PyObject *obj, const struct lc3_decoder *dec) in from_decoder() argument
796 unsigned dt = dec->dt, sr = dec->sr; in from_decoder()
797 unsigned sr_pcm = dec->sr_pcm; in from_decoder()
798 unsigned xs_pos = dec->xs_off - dec->xh_off; in from_decoder()
815 from_ltpf_synthesis(NULL, &dec->ltpf)); in from_decoder()
818 new_plc_state(&dec->plc)); in from_decoder()
821 new_1d_copy(NPY_FLOAT, nh + ns, dec->x + dec->xh_off)); in from_decoder()
827 new_1d_copy(NPY_FLOAT, nd, dec->x + dec->xd_off)); in from_decoder()
830 new_1d_copy(NPY_FLOAT, ns, dec->x + dec->xg_off)); in from_decoder()
836 static PyObject *to_decoder(PyObject *obj, struct lc3_decoder *dec) in to_decoder() argument
[all …]
/liblc3-latest/python/tools/
Ddecoder.py73 dec = lc3.Decoder( variable
75 frame_length = dec.get_frame_samples()
76 encoded_length = stream_length + dec.get_delay_samples()
83 pcm = dec.decode(f_lc3.read(lc3_frame_size), bit_depth=bit_depth)
Dspecgram.py52 dec = lc3.Decoder( variable
72 y[i:i+frame_len] = dec.decode(enc.encode(s[i:i+frame_len], frame_size))
74 y[len(s):] = dec.decode(enc.encode(np.zeros(frame_len), frame_size))
/liblc3-latest/fuzz/
Ddfuzz.cc40 Decoder dec(dt_us, sr_hz, sr_pcm_hz, nchannels, hrmode); in LLVMFuzzerTestOneInput() local
49 int frame_samples = dec.GetFrameSamples(); in LLVMFuzzerTestOneInput()
62 dec.Decode( in LLVMFuzzerTestOneInput()
/liblc3-latest/tools/
Ddlc3.c197 lc3_decoder_t dec[2]; in main() local
206 dec[ich] = lc3_hr_setup_decoder( in main()
210 if (!dec[ich]) in main()
245 int res = lc3_decode(dec[ich], in_ptr, frame_bytes, in main()
273 free(dec[ich]); in main()