不得不求助于万能TI了,我现在通过调用/leopard_dm365/ipnc/av_capture/application/ipnc/multimedia/av_server/src/common/avServerApi.c中的一些函数实现了一点功能,比如在LCD屏幕上显示十字线,然后同时显示字符“Cursor ON”,具体调用的函数是:
int AVSERVER_swosdText(char *strText, int nLength)
int AVSERVER_swosdSetCursorParam(unsigned short en, unsigned short center_x, unsigned short center_y)
但是我想修改cursor的线宽,还有增加线数量,比如显示3橫3竖这样,或者不要十字,而是显示为矩形,圆形等,就不知道怎么做了。看上面两个函数,最后都是到
gAVSERVER_config.captureConfig[count].swosdConfig.swosdCursorEnable = en;
gAVSERVER_config.captureConfig[count].swosdConfig.swosdCursorCenterX = center_x;
gAVSERVER_config.captureConfig[count].swosdConfig.swosdCursorCenterY = center_y;
然后去哪里了呢?我找不到调用关系了。。。拜托指点一下,谢谢~
Qianshun LIU:
Line width 和 显示多线已经解决了,现在在想办法实现移动的矩形框
kooking:
Line width 和 显示多线已经实现了,更新一下位置参数应该就可以移动了吧。
如果使用阿尔法方式,实现移动的矩形框是比较容易的~
TI中文支持网

