Lines Matching refs:lt_cfg
66 MPP_FREE(p->lt_cfg); in mpp_enc_ref_cfg_deinit()
79 MPP_FREE(p->lt_cfg); in mpp_enc_ref_cfg_reset()
93 MppEncRefLtFrmCfg *lt_cfg = p->lt_cfg; in mpp_enc_ref_cfg_set_cfg_cnt() local
96 if (lt_cfg || st_cfg) { in mpp_enc_ref_cfg_set_cfg_cnt()
98 MPP_FREE(lt_cfg); in mpp_enc_ref_cfg_set_cfg_cnt()
103 lt_cfg = mpp_calloc(MppEncRefLtFrmCfg, lt_cnt); in mpp_enc_ref_cfg_set_cfg_cnt()
104 if (NULL == lt_cfg) in mpp_enc_ref_cfg_set_cfg_cnt()
118 p->lt_cfg = lt_cfg; in mpp_enc_ref_cfg_set_cfg_cnt()
136 memcpy(&p->lt_cfg[p->lt_cfg_cnt], frm, sizeof(*frm) * cnt); in mpp_enc_ref_cfg_add_lt_cfg()
183 MppEncRefLtFrmCfg *cfg = p->lt_cfg; in mpp_enc_ref_cfg_check()
361 MPP_FREE(d->lt_cfg); in mpp_enc_ref_cfg_copy()
369 MppEncRefLtFrmCfg *lt_cfg = mpp_calloc(MppEncRefLtFrmCfg, max_lt_cfg); in mpp_enc_ref_cfg_copy() local
371 if (NULL == lt_cfg) { in mpp_enc_ref_cfg_copy()
375 memcpy(lt_cfg, s->lt_cfg, sizeof(lt_cfg[0]) * s->max_lt_cfg); in mpp_enc_ref_cfg_copy()
377 d->lt_cfg = lt_cfg; in mpp_enc_ref_cfg_copy()
425 .lt_cfg = NULL,