This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Porting different functions with different number of parameters to DM6446.

Dear Sir:

I am trying to port my computer vision library to DM6446.

My idea is creating a module named IMYCV.

 

However, I suffered a difficult problem.

I knew that we must design our library APIs based on XDM so I use the example "scale" as a start point.

I want to ask that if I have a lots of functions in my library and most of them don't have the same number of parameters and data types passed in, how can I port this library?

It cofused me because the API I can only have is "control" and "process", and parameters passed into each of the functions should share the structure "InArg" and "OutArg". Of course I should design fixed inArg and OurArg structures in the begining so the fields in both structures are hard to think about.

I am not sure if I describe my problem clearly. If not, please let me know.

Thank you very much.