Files
mpp/kmpp/base/inc/kmpp_meta_impl.h
Yanjun Liao f47eae175c feat[kmpp_buffer]: Add ioctl to inc ref and flush
Change-Id: Ia0c12d6bae71246c17e0a065761439702c529af9
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
2025-07-28 22:30:35 +08:00

37 lines
711 B
C

/* SPDX-License-Identifier: Apache-2.0 OR MIT */
/*
* Copyright (c) 2024 Rockchip Electronics Co., Ltd.
*/
#ifndef __KMPP_META_IMPL_H__
#define __KMPP_META_IMPL_H__
#include "mpp_list.h"
#include "kmpp_meta.h"
#define MPP_TAG_SIZE 32
typedef struct __attribute__((packed)) KmppMetaVal_t {
rk_u32 state;
union {
rk_s32 val_s32;
rk_s64 val_s64;
void *val_ptr;
};
} KmppMetaVal;
typedef struct __attribute__((packed)) KmppMetaShmVal_t {
rk_u32 state;
KmppShmPtr val_shm;
} KmppMetaObj;
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif /*__KMPP_META_IMPL_H__*/