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.
Part Number: PROCESSOR-SDK-DRA8X-TDA4X
I am trying to create a pipelined graph in OpenVX. My application is a 2 camera capture application where I want to process these channels in separate downstream nodes. I see that the output of the capture node is an object array and so I am trying to use the vxGetObjectArray API to extract the individual channels of the object array and pass these to downstream OpenVX nodes. However, I am observing issues in my application. The downstream nodes are not processing the data from the capture node correctly. How can I create this application in OpenVX?
There are a few things to consider when creating a multi channel graph in OpenVX using pipelining.
In the case that each of the channels are being processed by the same downstream node, using the vxReplicateNode feature is the recommended approach in TIOVX. This method reduces application code size and is generally a more scalable approach to using multiple channels. A common case is where this occurs is when the tivxCaptureNode output is connected to the tivxVpacVissNode. Each of the captured channels are processed by the VISS HWA and thus the replicate node feature can be used.
However, in the case listed above, the replicate node feature will not be sufficient given that the channels are processed by different nodes. In this case, the vxGetObjectArray API must first be used as stated. However, in addition to using the vxGetObjectArray API, the downstream node consuming the multi channel output must also be modified to consume the proper channel. The API tivxGetObjDescElement can be used within the node process callback itself to extract the element used by the node. An example of the usage of this API can be found in tiovx/kernels_j7/hwa/display/vx_display_target.c.
For more information on this topic, please refer to the section in the user guide below:
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.