四.设备某一参数的标示方法。 一般是结构体,结构体嵌套结构体
来源:互联网 发布:基因大数据分析 编辑:程序博客网 时间:2024/06/05 18:24
/********************OSD隐私保护参数***********************/
struct PRITOSD
{
unsigned short X; //x轴座标
unsigned short Y; // y轴座标
unsigned short Width; //宽度
unsigned short Height; //高度
unsigned char Type; //遮挡区域类型
unsigned char Color[3]; //遮挡区域填充色
}__attribute__((packed));
/*********************图像遮挡参数*************************/
struct OVALM
{
unsigned char Level; //报警灵敏度等级0~9 [0=功能关]
unsigned char Speed; //防抖动处理,检测速度
unsigned char Enable; //是否启用
unsigned char CallCenter; //是否上报中心警方式
unsigned char Soundor; //声音报警方式
unsigned char OutChan; //报警器输出通道
struct DEFTIME strategy[7];
}__attribute__((packed));
struct CONFIG
{
struct DEVHARDPARAM dev;
struct NETPARAM net;
int (*SetNetParam)(struct NETPARAM *this);
struct NAMEPARAM name;
int (*SetNameParam)(struct NAMEPARAM *this);
struct STORPARAM store;
int (*SetStoreParam)(struct STORPARAM *this);
struct ALMINPUT alarmIn[MAX_ALARMINPUTS];
int (*SetAlarmInParam)(int chn,struct ALMINPUT *this);
struct ALMOUTPUT alarmOut[MAX_ALARMOUTPUTS];
int (*SetAlarmOutParam)(int chn,struct ALMOUTPUT *this);
struct SERIAL serial;
int (*SetSerialParam)(struct SERIAL *this);
struct MEDIAPARAM media;
int (*SetAencParam)(unsigned char this); //设置音频编解码格式
int (*SetVformatParam)(unsigned char this); //设置视频输入制式
int (*SetVencParam)(int chn,int isMain,struct VENC *this);
struct VOPARAM vo;
int (*SetCVBSParam)(unsigned char mod, unsigned char ser, unsigned char size, unsigned char time);
int (*SetVGAParam)(unsigned char mod, unsigned char ser, unsigned char size, unsigned char time);
struct JPEGPARAM jpeg[MAXVIDEOCHNS];
int (*SetJpegParam)(int chn,unsigned char resolution,unsigned char picLevel);
struct TITLEOSD osdTitle[MAXVIDEOCHNS];
int (*SetOsdTitleParam)(int chn,struct TITLEOSD *this);
struct TIMEOSD osdTime[MAXVIDEOCHNS];
int (*SetOsdTimeParam)(int chn,struct TIMEOSD *this);
struct PRITOSD osdPrivacy[MAXVIDEOCHNS][4];
int (*SetOsdPrivacy)(int chn,int area,struct PRITOSD *this);
struct OVALM overlay[MAXVIDEOCHNS];
int (*SetOverlayParam)(int chn,struct OVALM *this);
struct SENSE sense[MAXVIDEOCHNS][4];
int (*SetSenseParam)(int chn,int area,struct SENSE *this);
struct SINGLELOST singleLost[MAXVIDEOCHNS];
int (*SetSingleLost)(int chn,struct SINGLELOST *this);
struct SENSORPARAM sensorParam[MAXVIDEOCHNS];
int (*SetSensorParam)(int chn,struct SENSORPARAM *this);
char cPlatform[2048];
int (*SetPlatformParam)(char * this);
int (*GetPlatformParam)(char * this); //获取平台参数,返回参数长度
char cWirelessAlarm[256];
int (*SetWirelessAlarm)(char * this);
int (*ParamBakup)(void);
int (*ParamReset)(void);
};
- 四.设备某一参数的标示方法。 一般是结构体,结构体嵌套结构体
- 结构体的嵌套
- 结构体的嵌套问题
- 结构体的相互嵌套
- 结构体的嵌套问题
- 结构体的嵌套问题
- 结构体的嵌套问题
- 结构体的嵌套使用
- 结构体的嵌套问题
- 48,结构体嵌套
- 结构体嵌套
- 结构体嵌套
- ******** 结构体的嵌套使用 结构体成员作为函数的参数 **********
- JNI 返回结构体参数的方法
- 结构体嵌套结构体名
- 结构体嵌套、结构体数组、排序
- 结构体指针 & 结构体嵌套使用...
- 结构体指针和结构体嵌套
- js中apply方法的使用
- 三.char 与 unsigned char的本质区别
- TeeChart经验总结——使用Axis
- 球面细分(下)
- Reverse Integer
- 四.设备某一参数的标示方法。 一般是结构体,结构体嵌套结构体
- java注册界面+mysql数据库
- getClass(),class属性和getName()解析(整理)
- Unity3d 找不到资源
- iOS 官方开发教程 HelloWorld (四)实施视图控制器
- 五,fopen和open的区别:
- STM32启动过程解析
- Class.forName和New的比较
- 我为什么不向你推荐书籍