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.

关于绕过DM8127的video input解码芯片驱动的问题

Other Parts Discussed in Thread: TVP5158

当从DM8127的video input输入视频时,电路前端通常会采用解码芯片,如tvp5158进行对接,开发包中也有现成的tvp5158驱动可使用。但是,如果用别的芯片进行对接,如用gv7601进行对接,那么就得重新开发驱动,而在ipnc-rdk中开发驱动实在是耗时的工程。

驱动程序的作用就是使硬件能够正常工作,更直接的说就是根据需要设置相关的寄存器。基于这点考虑得到以下思路,把captureLink中的驱动绕过去,即将代码修改为

//pCaptureInstPrm->videoDecoderId = SYSTEM_DEVICE_VID_DEC_GV7601_DRV;

pCaptureInstPrm->videoDecoderId = 0;

而对GV7601的相关寄存器则通过A8核的spi直接进行设置。

这种想法是否可行?

请高手指点,谢谢!