📄 prp.h
字号:
#ifndef __PRP_H__#define __PRP_H__#define IOCTL_EMMA_PRP_CONFIG 1#define IOCTL_EMMA_PRP_START 2#define IOCTL_EMMA_PRP_RESET 3#define IOCTL_EMMA_PRP_START_CHANNEL_1 4#define IOCTL_EMMA_PRP_START_CHANNEL_2 5#define IOCTL_EMMA_PRP_CH2BUF1RESUME 6#define IOCTL_EMMA_PRP_CH2BUF2RESUME 7#define IOCTL_EMMA_PRP_STATUS 8#define FORMAT_RGB565 1#define FORMAT_YUV422 2#define FORMAT_YUV420 3#define FORMAT_RGB32 4#define RZ_AVG_RATIO_1_1 1 //1:1#define RZ_AVG_RATIO_2_1 2 //2:1#define RZ_AVG_RATIO_3_1 3#define RZ_AVG_RATIO_4_1 4typedef struct{ UINT8 ch1Loop; UINT8 ch2Loop; UINT8 enableWindow; UINT8 ch2FlowControl;// UINT8 inputFIFOLevel;// UINT8 resizeFIFOLevel; UINT8 inputFormat; UINT8 ch1OutFormat; UINT8 ch2OutFormat; UINT16 in_width; UINT16 in_height; UINT16 ch1_width; UINT16 ch1_height; UINT16 ch1_stride; UINT16 ch2_width; UINT16 ch2_height; UINT8 ch1_rz_hori_ratio; UINT8 ch1_rz_vert_ratio; UINT8 ch2_rz_hori_ratio; UINT8 ch2_rz_vert_ratio;}prpConfigData_t;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -