mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00

Change-Id: Ia0c12d6bae71246c17e0a065761439702c529af9 Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
37 lines
711 B
C
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__*/
|