/liblc3-3.5.0-3.4.0/test/ |
D | tns_py.c | 26 static PyObject *compute_lpc_coeffs_py(PyObject *m, PyObject *args) in compute_lpc_coeffs_py() argument 32 if (!PyArg_ParseTuple(args, "IIO", &dt, &bw, &x_obj)) in compute_lpc_coeffs_py() 50 static PyObject *lpc_reflection_py(PyObject *m, PyObject *args) in lpc_reflection_py() argument 55 if (!PyArg_ParseTuple(args, "O", &a_obj)) in lpc_reflection_py() 66 static PyObject *quantize_rc_py(PyObject *m, PyObject *args) in quantize_rc_py() argument 72 if (!PyArg_ParseTuple(args, "O", &rc_obj)) in quantize_rc_py() 84 static PyObject *unquantize_rc_py(PyObject *m, PyObject *args) in unquantize_rc_py() argument 90 if (!PyArg_ParseTuple(args, "OI", &rc_q_obj, &rc_order)) in unquantize_rc_py() 103 static PyObject *analyze_py(PyObject *m, PyObject *args) in analyze_py() argument 112 if (!PyArg_ParseTuple(args, "IIpIO", &dt, &bw, &nn_flag, &nbytes, &x_obj)) in analyze_py() [all …]
|
D | sns_py.c | 26 static PyObject *compute_scale_factors_py(PyObject *m, PyObject *args) in compute_scale_factors_py() argument 33 if (!PyArg_ParseTuple(args, "IIOp", &dt, &sr, &eb_obj, &att)) in compute_scale_factors_py() 49 static PyObject *resolve_codebooks_py(PyObject *m, PyObject *args) in resolve_codebooks_py() argument 55 if (!PyArg_ParseTuple(args, "O", &scf_obj)) in resolve_codebooks_py() 65 static PyObject *quantize_py(PyObject *m, PyObject *args) in quantize_py() argument 74 if (!PyArg_ParseTuple(args, "Oii", &scf_obj, &lfcb_idx, &hfcb_idx)) in quantize_py() 90 static PyObject *unquantize_py(PyObject *m, PyObject *args) in unquantize_py() argument 97 if (!PyArg_ParseTuple(args, "iiOii", in unquantize_py() 115 static PyObject *spectral_shaping_py(PyObject *m, PyObject *args) in spectral_shaping_py() argument 122 if (!PyArg_ParseTuple(args, "IIOpO", &dt, &sr, &scf_q_obj, &inv, &x_obj)) in spectral_shaping_py() [all …]
|
D | encoder.py | 151 args = parser.parse_args() variable 153 if args.bitrate < 16000 or args.bitrate > 320000: 154 raise ValueError('Invalid bitate %d bps' % args.bitrate) 156 if args.dt not in (7.5, 10): 157 raise ValueError('Invalid frame duration %.1f ms' % args.dt) 159 (sr_hz, pcm) = wavfile.read(args.wav_file.name) 167 enc = Encoder(args.dt, sr_hz) 168 enc_c = lc3.setup_encoder(int(args.dt * 1000), sr_hz) 170 frame_samples = int((args.dt * sr_hz) / 1000) 171 frame_nbytes = int((args.bitrate * args.dt) / (1000 * 8)) [all …]
|
D | lc3_py.c | 30 static PyObject *setup_encoder_py(PyObject *m, PyObject *args) in setup_encoder_py() argument 34 if (!PyArg_ParseTuple(args, "ii", &dt_us, &sr_hz)) in setup_encoder_py() 50 static PyObject *encode_py(PyObject *m, PyObject *args) in encode_py() argument 56 if (!PyArg_ParseTuple(args, "OOi", &encoder_obj, &pcm_obj, &nbytes)) in encode_py() 79 static PyObject *setup_decoder_py(PyObject *m, PyObject *args) in setup_decoder_py() argument 83 if (!PyArg_ParseTuple(args, "ii", &dt_us, &sr_hz)) in setup_decoder_py() 99 static PyObject *decode_py(PyObject *m, PyObject *args) in decode_py() argument 104 if (!PyArg_ParseTuple(args, "OO", &decoder_obj, &in_obj)) in decode_py()
|
D | spec_py.c | 26 static PyObject *estimate_gain_py(PyObject *m, PyObject *args) in estimate_gain_py() argument 36 if (!PyArg_ParseTuple(args, "IIOifi", &dt, &sr, in estimate_gain_py() 53 static PyObject *adjust_gain_py(PyObject *m, PyObject *args) in adjust_gain_py() argument 58 if (!PyArg_ParseTuple(args, "Iiii", &sr, &g_idx, &nbits, &nbits_budget)) in adjust_gain_py() 69 static PyObject *quantize_py(PyObject *m, PyObject *args) in quantize_py() argument 77 if (!PyArg_ParseTuple(args, "IIiO", &dt, &sr, &g_int, &x_obj)) in quantize_py() 99 static PyObject *compute_nbits_py(PyObject *m, PyObject *args) in compute_nbits_py() argument 107 if (!PyArg_ParseTuple(args, "IIIOii", &dt, &sr, in compute_nbits_py() 128 static PyObject *analyze_py(PyObject *m, PyObject *args) in analyze_py() argument 139 if (!PyArg_ParseTuple(args, "IIIpOOO", &dt, &sr, &nbytes, in analyze_py() [all …]
|
D | ltpf_py.c | 25 static PyObject *resample_py(PyObject *m, PyObject *args) in resample_py() argument 32 if (!PyArg_ParseTuple(args, "IIOOO", &dt, &sr, &hp50_obj, &x_obj, &y_obj)) in resample_py() 52 static PyObject *analyse_py(PyObject *m, PyObject *args) in analyse_py() argument 60 if (!PyArg_ParseTuple(args, "IIOO", &dt, &sr, <pf_obj, &x_obj)) in analyse_py() 78 static PyObject *synthesize_py(PyObject *m, PyObject *args) in synthesize_py() argument 88 if (!PyArg_ParseTuple(args, "IIiOOO", in synthesize_py() 111 static PyObject *get_nbits_py(PyObject *m, PyObject *args) in get_nbits_py() argument 115 if (!PyArg_ParseTuple(args, "i", &pitch_present)) in get_nbits_py()
|
D | mdct_py.c | 26 static PyObject *mdct_forward_py(PyObject *m, PyObject *args) in mdct_forward_py() argument 33 if (!PyArg_ParseTuple(args, "iiOO", &dt, &sr, &x_obj, &xd_obj)) in mdct_forward_py() 53 static PyObject *mdct_inverse_py(PyObject *m, PyObject *args) in mdct_inverse_py() argument 60 if (!PyArg_ParseTuple(args, "iiOO", &dt, &sr, &x_obj, &xd_obj)) in mdct_inverse_py()
|
D | decoder.py | 134 args = parser.parse_args() variable 138 f_lc3 = open(args.lc3_file.name, 'rb') 192 if args.pyout: 193 wavfile.write(args.pyout.name, sr_hz, pcm_py) 194 if args.cout: 195 wavfile.write(args.cout.name, sr_hz, pcm_c)
|
D | bwdet_py.c | 25 static PyObject *bwdet_run_py(PyObject *m, PyObject *args) in bwdet_run_py() argument 31 if (!PyArg_ParseTuple(args, "IIO", &dt, &sr, &e_obj)) in bwdet_run_py()
|
D | energy_py.c | 28 static PyObject *energy_compute_py(PyObject *m, PyObject *args) in energy_compute_py() argument 34 if (!PyArg_ParseTuple(args, "IIO", &dt, &sr, &x_obj)) in energy_compute_py()
|
D | attdet_py.c | 25 static PyObject *attdet_run_py(PyObject *m, PyObject *args) in attdet_run_py() argument 32 if (!PyArg_ParseTuple(args, "IIIOO", in attdet_run_py()
|
/liblc3-3.5.0-3.4.0/tools/ |
D | dlc3.c | 49 va_list args; in error() local 53 va_start(args, format); in error() 54 vfprintf(stderr, format, args); in error() 55 va_end(args); in error()
|
D | elc3.c | 41 va_list args; in error() local 45 va_start(args, format); in error() 46 vfprintf(stderr, format, args); in error() 47 va_end(args); in error()
|