From 8eb5d8beab8bba1ac58ba5fb7ba946cdaf78d9ab Mon Sep 17 00:00:00 2001 From: Zefa Chen Date: Mon, 4 Apr 2022 14:36:12 +0800 Subject: [PATCH] include: rkcif-config: add cmd RKCIF_CMD_SET_FPS Signed-off-by: Zefa Chen Change-Id: Iee6c419795c04b7b1ecee2b726e7f38418a6d719 --- include/uapi/linux/rkcif-config.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/uapi/linux/rkcif-config.h b/include/uapi/linux/rkcif-config.h index 1d57aa3a6432..9c02a6125672 100644 --- a/include/uapi/linux/rkcif-config.h +++ b/include/uapi/linux/rkcif-config.h @@ -23,6 +23,9 @@ #define RKCIF_CMD_SET_SCALE_BLC \ _IOW('V', BASE_VIDIOC_PRIVATE + 3, struct bayer_blc) +#define RKCIF_CMD_SET_FPS \ + _IOW('V', BASE_VIDIOC_PRIVATE + 4, struct rkcif_fps) + /* cif memory mode * 0: raw12/raw10/raw8 8bit memory compact * 1: raw12/raw10 16bit memory one pixel @@ -54,4 +57,10 @@ struct bayer_blc { u8 pattern02; u8 pattern03; }; + +struct rkcif_fps { + int ch_num; + int fps; +}; + #endif