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.
我现在想在RDK源码应用程序中获取一帧YUV的视频数据,所以去改源码,观看IPNC_RDK_McFW_UserGuide.pdf文档后,我的做法是在Vcam_registerCallback函数设置的回调函数App_ipcFramesInCbFxn函数里面调用Vcam_getFullVideoFrames 函数来获取一帧视频,不知道我这种做法是不是正确的?实验后我感觉一点反应没有,感觉程序根本就没进这个回调函数里面执行。(工程编译后我只是将ipnc_rdk_mcfw.out应用程序拷贝至IPNC里替换原来的,因为工程make ubifs报错error while loading shared libraries: liblzo2.so.2: cannot open shared object file: No such file or directory)
还有用printf打印的信息用CRT来看没有,是不是得用什么vps_printf来打印信息啊,但是我不知道在Source\ipnc_rdk\ipnc_mcfw\demos\mcfw_api_demos\multich_usecase\ti_mcfw_ipcframes.c里面怎么来申明,直接用编译时会报implicit declaration of function的错误
文字有点多抱歉,求各位前辈耐心看完帮解惑,小弟十分感谢!
你好;
1、你编译的时候,看一下那个脚本,不需要每次的都全部编译的;可以单独编译app 和 mcfw的
2、在m3打印必须调用Vps_printf来打印
Source\ipnc_rdk\ipnc_mcfw\demos\mcfw_api_demos\multich_usecase\ti_mcfw_ipcframes.c
你这里是在A8端打印,可以直接用printf进行打印
关于ipcframe的调用,建议看看Source/ipnc_rdk/ipnc_mcfw/mcfw/src_linux/mcfw_api/usecases/multich_capturedisplay.c 中对ipcframe的操作
在Vcam_registerCallback函数设置的回调函数App_ipcFramesInCbFxn函数里面调用Vcam_getFullVideoFrames 函数来获取一帧视频,不知道我这种做法是不是正确的?
包括Usecase中ipcframe link 是否正常的工作;
demo中有多种工作模式,先多看一下代码;
在IPNC_RDK_GA_Release3.5.0/Collaterals 目录里面有很多的文档和手册,建议多看一下