Lines Matching refs:st_cfg
67 MPP_FREE(p->st_cfg); in mpp_enc_ref_cfg_deinit()
80 MPP_FREE(p->st_cfg); in mpp_enc_ref_cfg_reset()
94 MppEncRefStFrmCfg *st_cfg = p->st_cfg;; in mpp_enc_ref_cfg_set_cfg_cnt() local
96 if (lt_cfg || st_cfg) { in mpp_enc_ref_cfg_set_cfg_cnt()
99 MPP_FREE(st_cfg); in mpp_enc_ref_cfg_set_cfg_cnt()
109 st_cfg = mpp_calloc(MppEncRefStFrmCfg, st_cnt); in mpp_enc_ref_cfg_set_cfg_cnt()
110 if (NULL == st_cfg) in mpp_enc_ref_cfg_set_cfg_cnt()
119 p->st_cfg = st_cfg; in mpp_enc_ref_cfg_set_cfg_cnt()
156 memcpy(&p->st_cfg[p->st_cfg_cnt], frm, sizeof(*frm) * cnt); in mpp_enc_ref_cfg_add_st_cfg()
238 MppEncRefStFrmCfg *cfg = p->st_cfg; in mpp_enc_ref_cfg_check()
362 MPP_FREE(d->st_cfg); in mpp_enc_ref_cfg_copy()
381 MppEncRefStFrmCfg *st_cfg = mpp_calloc(MppEncRefStFrmCfg, max_st_cfg); in mpp_enc_ref_cfg_copy() local
383 if (NULL == st_cfg) { in mpp_enc_ref_cfg_copy()
387 memcpy(st_cfg, s->st_cfg, sizeof(st_cfg[0]) * s->max_st_cfg); in mpp_enc_ref_cfg_copy()
389 d->st_cfg = st_cfg; in mpp_enc_ref_cfg_copy()
426 .st_cfg = &default_st_ref_cfg,