Lines Matching refs:name
90 MPP_RET mpp_vdec_kcfg_init_by_name(MppVdecKcfg *cfg, const char *name) in mpp_vdec_kcfg_init_by_name() argument
102 if (!strncmp(name, kcfg_names[i], strlen(kcfg_names[i]))) { in mpp_vdec_kcfg_init_by_name()
109 mpp_err_f("invalid config name %s\n", name); in mpp_vdec_kcfg_init_by_name()
135 MPP_RET mpp_vdec_kcfg_set_##cfg_type(MppVdecKcfg cfg, const char *name, set_type val) \
137 if (!cfg || !name) { \
138 mpp_err_f("invalid input cfg %p name %p\n", cfg, name); \
142 MPP_RET ret = (MPP_RET)kmpp_obj_set_##cfg_type(obj, name, val); \
145 MPP_RET mpp_vdec_kcfg_get_##cfg_type(MppVdecKcfg cfg, const char *name, get_type val) \
147 if (!cfg || !name) { \
148 mpp_err_f("invalid input cfg %p name %p\n", cfg, name); \
152 MPP_RET ret = (MPP_RET)kmpp_obj_get_##cfg_type(obj, name, val); \