| | |
| | | s8 inportstr[8]; //模块输入逻辑端口 ID |
| | | s8 outportstr[8]; //模块输出逻辑端口 ID |
| | | |
| | | s8 dsp_index; //模块所属DSP, < 0无效 |
| | | s8 dsp_index; //模块所属DSP,<0无效 |
| | | u8 fixed; //模块是否可更换,0-可更换,1-不可更换 |
| | | u8 pad =0; |
| | | u8 physic_type ;//1:input,2-output. |
| | |
| | | } |
| | | //解析inportstr和outportstr, |
| | | //字符串转换成逻辑端口号,返回输入输出端口数量. |
| | | s32 str_delim(const s8* str, u8 logic_channel[]) ; |
| | | s32 str_delim(const s8* str, u16 logic_channel[]) ; |
| | | |
| | | virtual uvoid* get_module_param_ptr(uvoid *param, s32 fixed) =0; |
| | | //根据模块类型更新模块信息. |
| | |
| | | |
| | | virtual u32 get_module_id(u32 mid, s32 mtype ,u32 pid) =0; |
| | | |
| | | s32 convert_to_bin(s8* bin); |
| | | s32 convert_to_bin(u8* bin); |
| | | }; |
| | | |
| | | #endif |