fix[kmpp_obj]: Rename kmpp_obj_impl_put func

Change-Id: I08313a43e68fe93ecf141505a2be4439a5b507f8
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
This commit is contained in:
Yanjun Liao 2025-08-04 09:37:58 +08:00
parent 7fbdfbe3c1
commit 225418ca78
5 changed files with 7 additions and 7 deletions

View file

@ -54,7 +54,7 @@ rk_s32 kmpp_obj_get_by_sptr(KmppObj *obj, KmppShmPtr *sptr, const char *caller);
/* release object and impl head */
rk_s32 kmpp_obj_put(KmppObj obj, const char *caller);
/* release impl head only */
rk_s32 kmpp_obj_put_impl(KmppObj obj, const char *caller);
rk_s32 kmpp_obj_impl_put(KmppObj obj, const char *caller);
rk_s32 kmpp_obj_check(KmppObj obj, const char *caller);
rk_s32 kmpp_obj_ioctl(KmppObj obj, rk_s32 cmd, KmppObj in, KmppObj out, const char *caller);
@ -62,7 +62,7 @@ rk_s32 kmpp_obj_ioctl(KmppObj obj, rk_s32 cmd, KmppObj in, KmppObj out, const ch
#define kmpp_obj_get_by_name_f(obj, name) kmpp_obj_get_by_name(obj, name, __FUNCTION__)
#define kmpp_obj_get_by_sptr_f(obj, sptr) kmpp_obj_get_by_sptr(obj, sptr, __FUNCTION__)
#define kmpp_obj_put_f(obj) kmpp_obj_put(obj, __FUNCTION__)
#define kmpp_obj_put_impl_f(obj) kmpp_obj_put_impl(obj, __FUNCTION__)
#define kmpp_obj_impl_put_f(obj) kmpp_obj_impl_put(obj, __FUNCTION__)
#define kmpp_obj_check_f(obj) kmpp_obj_check(obj, __FUNCTION__)
#define kmpp_obj_ioctl_f(obj, cmd, in, out) kmpp_obj_ioctl(obj, cmd, in, out, __FUNCTION__)

View file

@ -81,7 +81,7 @@ rk_s32 kmpp_buf_grp_impl_deinit(void *entry, KmppObj obj, const char *caller)
}
if (priv->obj) {
kmpp_obj_put_impl(priv->obj, caller);
kmpp_obj_impl_put(priv->obj, caller);
priv->obj = NULL;
}
@ -189,7 +189,7 @@ rk_s32 kmpp_buffer_impl_deinit(void *entry, KmppObj obj, const char *caller)
}
if (priv->obj) {
kmpp_obj_put_impl(priv->obj, caller);
kmpp_obj_impl_put(priv->obj, caller);
priv->obj = NULL;
}

View file

@ -63,7 +63,7 @@ static rk_s32 kmpp_frame_impl_deinit(void *entry, KmppObj obj, const char *calle
}
if (priv->meta) {
kmpp_obj_put_impl(priv->meta, caller);
kmpp_obj_impl_put(priv->meta, caller);
priv->meta = NULL;
}

View file

@ -1048,7 +1048,7 @@ rk_s32 kmpp_obj_put(KmppObj obj, const char *caller)
return rk_nok;
}
rk_s32 kmpp_obj_put_impl(KmppObj obj, const char *caller)
rk_s32 kmpp_obj_impl_put(KmppObj obj, const char *caller)
{
if (obj) {
KmppObjImpl *impl = (KmppObjImpl *)obj;

View file

@ -61,7 +61,7 @@ static rk_s32 kmpp_packet_impl_deinit(void *entry, KmppObj obj, const char *call
}
if (priv->meta) {
kmpp_obj_put_impl(priv->meta, caller);
kmpp_obj_impl_put(priv->meta, caller);
priv->meta = NULL;
}