2023-08-30 16:21:18 +08:00
|
|
|
/*
|
2024-09-03 11:16:08 +08:00
|
|
|
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*
|
2023-08-30 16:21:18 +08:00
|
|
|
* Authors: Ning Fang <ning.fang@artinchip.com>
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef AIC_DEC_H
|
|
|
|
|
#define AIC_DEC_H
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
#include <mpp_list.h>
|
|
|
|
|
|
|
|
|
|
struct framebuf_info {
|
|
|
|
|
unsigned int addr;
|
|
|
|
|
unsigned int align_addr;
|
|
|
|
|
int size;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct framebuf_head {
|
|
|
|
|
struct mpp_list list;
|
|
|
|
|
struct framebuf_info buf_info;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void aic_dec_create();
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
} /*extern "C"*/
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif //AIC_DEC_H
|