Searched refs:plc (Results 1 – 7 of 7) sorted by relevance
/liblc3-3.5.0-3.4.0/src/ |
D | plc.c | 25 void lc3_plc_reset(struct lc3_plc_state *plc) in lc3_plc_reset() argument 27 plc->seed = 24607; in lc3_plc_reset() 28 lc3_plc_suspend(plc); in lc3_plc_reset() 34 void lc3_plc_suspend(struct lc3_plc_state *plc) in lc3_plc_suspend() argument 36 plc->count = 1; in lc3_plc_suspend() 37 plc->alpha = 1.0f; in lc3_plc_suspend() 44 struct lc3_plc_state *plc, const float *x, float *y) in lc3_plc_synthesize() argument 46 uint16_t seed = plc->seed; in lc3_plc_synthesize() 47 float alpha = plc->alpha; in lc3_plc_synthesize() 50 alpha *= (plc->count < 4 ? 1.0f : in lc3_plc_synthesize() [all …]
|
D | plc.h | 36 void lc3_plc_reset(lc3_plc_state_t *plc); 42 void lc3_plc_suspend(lc3_plc_state_t *plc); 54 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 | 580 lc3_plc_suspend(&decoder->plc); in synthesize() 589 lc3_plc_synthesize(dt, sr, &decoder->plc, xg, xf); in synthesize() 659 lc3_plc_reset(&decoder->plc); in lc3_setup_decoder()
|
/liblc3-3.5.0-3.4.0/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() 814 new_plc_state(&dec->plc)); in from_decoder() 860 PyDict_GetItemString(obj, "plc"), &dec->plc)); in to_decoder()
|
/liblc3-3.5.0-3.4.0/include/ |
D | lc3_private.h | 146 lc3_plc_state_t plc; member
|