android13/external/camera_engine_rkaiq/IspFec/include_prv/fec-config.h

34 lines
688 B
C

/* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR MIT)
*
* Copyright (C) 2021 Rockchip Electronics Co., Ltd.
*/
#ifndef _UAPI_FEC_CONFIG_H
#define _UAPI_FEC_CONFIG_H
#include <linux/types.h>
#include <linux/v4l2-controls.h>
#define FEC_API_VERSION KERNEL_VERSION(1, 0, 0)
struct fec_config {
u32 mesh_density;
u32 src_width;
u32 src_height;
u32 dst_width;
u32 dst_height;
u32 mesh_size;
s32 buf_fd;
u32 fec_bic_mode;
} __attribute__ ((packed));
struct fec_params_cfg {
u32 module_en_update;
u32 module_ens;
u32 module_cfg_update;
u32 frame_id;
struct fec_config fec_cfg;
} __attribute__ ((packed));
#endif