luckfox-pico-sdk/project/make_meta/include/rk_meta_app_param.h
luckfox-eng29 8f34c2760d project:build.sh: Added fastboot support; custom modifications to U-Boot and kernel implemented using patches.
project:cfg:BoardConfig_IPC: Added fastboot BoardConfig file and firmware post-scripts, distinguishing between
the BoardConfigs for Luckfox Pico Pro and Luckfox Pico Max. project:app: Added fastboot_client and rk_smart_door
for quick boot applications; updated rkipc app to adapt to the latest media library. media:samples: Added more
usage examples. media:rockit: Fixed bugs; removed support for retrieving data frames from VPSS. media:isp:
Updated rkaiq library and related tools to support connection to RKISP_Tuner. sysdrv:Makefile: Added support for
compiling drv_ko on Luckfox Pico Ultra W using Ubuntu; added support for custom root filesystem.
sysdrv:tools:board: Updated Buildroot optional mirror sources, updated some software versions, and stored device
tree files and configuration files that undergo multiple modifications for U-Boot and kernel separately.
sysdrv:source:mcu: Used RISC-V MCU SDK with RT-Thread system, mainly for initializing camera AE during quick
boot. sysdrv:source:uboot: Added support for fastboot; added high baud rate DDR bin for serial firmware upgrades.
sysdrv:source:kernel: Upgraded to version 5.10.160; increased NPU frequency for RV1106G3; added support for
fastboot.

Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
2024-10-14 09:47:04 +08:00

78 lines
2.0 KiB
C

#ifndef __APP_PARAM_INFO_H__
#define __APP_PARAM_INFO_H__
typedef enum {
RK_VENC_TYPE_H264 = 1,
RK_VENC_TYPE_H265,
RK_VENC_TYPE_MJPEG,
RK_VENC_TYPE_INVALID
} eVENC_TYPE;
struct app_param_info
{
uint32_t head;
int32_t len;
int32_t cam_mirror_flip;
int32_t cam_fps;
int32_t cam2_fps;
int32_t night_mode;
int32_t led_value;
int32_t venc_w;
int32_t venc_h;
int32_t venc_type;
int32_t venc_bitrate;
int32_t cam_hdr;
int32_t cam2_hdr;
int32_t color_mode;
int32_t cam_index;
int32_t fastae_max_frame;
int32_t cam_num;
int32_t venc2_w;
int32_t venc2_h;
int32_t venc2_type;
int32_t venc2_bitrate;
int32_t cam2_mirror_flip;
uint32_t crc32;
};
#define RK_APP_PARAM_OFFSET "rk_app_param_offset"
#define RK_CAM_W "rk_cam_w"
#define RK_CAM_H "rk_cam_h"
#define RK_VENC_W "rk_venc_w"
#define RK_VENC_H "rk_venc_h"
#define RK_VENC_TYPE "rk_venc_type"
#define RK_VENC_BITRATE "rk_venc_bitrate"
#define RK_CAM2_W "rk_cam2_w"
#define RK_CAM2_H "rk_cam2_h"
#define RK_VENC2_W "rk_venc2_w"
#define RK_VENC2_H "rk_venc2_h"
#define RK_VENC2_TYPE "rk_venc2_type"
#define RK_VENC2_BITRATE "rk_venc2_bitrate"
#define RK_CAM_MIRROR_FLIP "rk_cam_mirror_flip"
#define RK_CAM_FPS "rk_cam_fps"
#define RK_CAM2_FPS "rk_cam2_fps"
#define RK_CAM_HDR "rk_cam_hdr"
#define RK_CAM2_HDR "rk_cam2_hdr"
#define RK_CAM_INDEX "rk_cam_index"
#define RK_LED_VALUE "rk_led_value"
#define RK_NIGHT_MODE "rk_night_mode"
#define RK_IQ_BIN_ADDR_STRINGS "rk_iqbin_addr"
#define RK_IQ_BIN_SIZE_STRINGS "rk_iqbin_size"
#define RK_IQ_BIN_SECONDARY_ADDR_STRINGS "rk_iqbin_secondary_addr"
#define RK_IQ_BIN_SECONDARY_SIZE_STRINGS "rk_iqbin_secondary_size"
#define RK_FULLCOLOR_GRAY_STRINGS "rk_color_mode"
#define RK_FASTAE_MAX_FRAME "rk_fastae_max_frame"
#define RK_CAM_SENSOR_NUM "rk_cam_num"
#define RK_CAM2_MIRROR_FLIP "rk_cam2_mirror_flip"
#endif// __APP_PARAM_INFO_H__