Searched refs:plc (Results 1 – 7 of 7) sorted by relevance
/liblc3-latest/src/ |
D | plc.c | 26 void lc3_plc_reset(struct lc3_plc_state *plc) in lc3_plc_reset() argument 28 plc->seed = 24607; in lc3_plc_reset() 29 lc3_plc_suspend(plc); in lc3_plc_reset() 35 void lc3_plc_suspend(struct lc3_plc_state *plc) in lc3_plc_suspend() argument 37 plc->count = 1; in lc3_plc_suspend() 38 plc->alpha = 1.0f; in lc3_plc_suspend() 45 struct lc3_plc_state *plc, const float *x, float *y) in lc3_plc_synthesize() argument 47 uint16_t seed = plc->seed; in lc3_plc_synthesize() 48 float alpha = plc->alpha; in lc3_plc_synthesize() 51 alpha *= (plc->count < 4 ? 1.0f : in lc3_plc_synthesize() [all …]
|
D | plc.h | 29 void lc3_plc_reset(lc3_plc_state_t *plc); 35 void lc3_plc_suspend(lc3_plc_state_t *plc); 47 lc3_plc_state_t *plc, const float *x, float *y);
|
D | makefile.mk | 25 $(SRC_DIR)/plc.c \
|
D | meson.build | 25 'plc.c',
|
D | lc3.c | 632 lc3_plc_suspend(&decoder->plc); in synthesize() 641 lc3_plc_synthesize(dt, sr, &decoder->plc, xg, xf); in synthesize() 717 lc3_plc_reset(&decoder->plc); in lc3_hr_setup_decoder()
|
/liblc3-latest/test/ |
D | ctypes.h | 665 static PyObject *new_plc_state(const struct lc3_plc_state *plc) in new_plc_state() argument 670 new_scalar(NPY_UINT16, &plc->seed)); in new_plc_state() 673 new_scalar(NPY_INT, &plc->count)); in new_plc_state() 676 new_scalar(NPY_FLOAT, &plc->alpha)); in new_plc_state() 683 PyObject *obj, struct lc3_plc_state *plc) in to_plc_state() argument 688 PyDict_GetItemString(obj, "seed"), NPY_UINT16, &plc->seed)); in to_plc_state() 691 PyDict_GetItemString(obj, "count"), NPY_INT, &plc->count)); in to_plc_state() 694 PyDict_GetItemString(obj, "alpha"), NPY_FLOAT, &plc->alpha)); in to_plc_state() 818 new_plc_state(&dec->plc)); in from_decoder() 864 PyDict_GetItemString(obj, "plc"), &dec->plc)); in to_decoder()
|
/liblc3-latest/include/ |
D | lc3_private.h | 159 lc3_plc_state_t plc; member
|