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.

DM81xx RDK Null Link说明

Null Link是DM81xx RDK中最简单的Link,其功能很简单.null link主要的功能是作为一个数据源的终止.简单的说就是做到frame从哪里来到哪里去,将从prev link获得的frame都归还给prev link.

这个link是rdk框架实现的需要产生的,任何数据都需要将其归还给其产生者,但我们产生数据后不想对其进行处理就在其后面加入null link.

null link也是大家学习如何创建link的最好的example.

  • 这地方说的不完全正确,NULL link分为两种,即Null Source link和Null Sink link,可以作为数据源的Source或者是Sink。

    Null Sink Link详细说明:

       Null Link can be used to take input from a link and then without doing anything return it back to the same link.

       This useful when a link output cannot be given to any other link for testingpurpose we just want to run a given link but not really use the output.

       In such cases the output queue of link can be connected to a Null link.

       The null link will operate like any other link from interface point of view.

       But it wont do anything with the frames it gets.

       It will simply return it back to the sending link.

    Null Source Link 详细说明:

       Video Src Link can be used to provide input to the next frames

       This is used to integrate other links when capture link is not available.

       This is useful when capture link is not used but some input is needed for other links

  • 这里讲的是按照目录以及文件名讲的你说的null source是在nullsrc下,还没有提到.

    不过正如你所说,我个人觉得我说的这个null link更好的应该叫nullsink link.

    从功能上,null link可以很灵活的运用可以考虑select + null link实现一些儿动态切换的应用场景

    对于null source我个人认为更应该在arm端实现其功能,辅助以dma操作就可以实现arm对于整个流程frame的一些控制.

    这些都是后话.随时可以讨论.