Files
linux-rockchip/include/uapi/linux/fec-config.h
Tao Huang 03e8db0382 uapi/fec-config.h: Fix UAPI compile-test
./usr/include/linux/fec-config.h:14:2: error: unknown type name 'u32'

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I14edf55fe45b52f21bc18fba90f9d434a8882cfa
2023-05-30 16:09:11 +08:00

34 lines
670 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