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.

用tiler实现左右镜像

您好,

     我想在DVRRDK下,将视频进行左右镜像,想用tiler实现,在utils_tiler.c中,不知使用哪个函数,有没有一个例子,能否指导一下?谢

  • 你好,

    请参考下面的论坛讨论:

    https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/310774/1084082#1084082

  • 谢谢,我参考了上面的帖子以及e2e相关的几个帖子,但还有几个不明白的地方:

    1)我用的是DM8168下DVR_RDK4.0开发包,所谓使能tiler,是通过配置内核实现吗?还是通过修改代码实现如capturePrm.tilerEnable = FALSE;  nsfPrm.tilerEnable = TRUE;等。

    2)在调用UInt32 Utils_tilerGetOriAddr(UInt32 tilerAddr, UInt32 cntMode, UInt32 oriFlag, UInt32 width, UInt32 height)函数前,是否需要先调用

    Utils_tilerFrameAlloc(&format, nsfChObj->frames,numFrmsPerCh);函数,为其分配特殊内存?这两个函数有什么联系?

    3)我参考了上面帖子中5076.dvr_rdk_swms_tiler_rotate.patch.txt和https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/358958/1268046进行了调试,但都没能成功,主要是屏幕全是绿杠,具体图片在附件中。不知是什么原因导致的,请指点一下。

                                                                                                                                                    谢谢