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.

TDA4VM: RGB-IR VPAC output Image mosaicing hangs after a single frame.

Part Number: TDA4VM

Hi,

We are working on designing a custom application with an RGB-IR image sensor. We have implemented a graph as shown below.

RGB-IR-Camera --> Split ---> VISS RGB -> AEWB RGB ->LDC RGB ->|
                                           |                                                                       --->|
                                           |                                                                               -->  MOSAIC -> Display
                                           |                                                                       --->|
                                           ---> VISS IR   -> AEWB IR ->     LDC IR     ->|

The above implementation is divided into 4 graphs.

  • Capture graph containing the capture node and RGB-IR split node
  • RGB graph containing the VISS RGB, AEWB RGB and LDC RGB nodes
  • IR graph containing the VISS IR, AEWB IR and LDC IR nodes
  • Display graph containing Mosaic and Display nodes

During the graph creation, we have defined RGB and IR LDC node outputs as graph parameters. We have also defined Mosaic node input as graph parameters. 

When running the graph, we are en-queuing empty output buffers to RGB and IR LDC outputs. We check if they are filled using "vxGraphParameterCheckDoneRef" and dequeue the filled buffer. Once a buffer is dequeued, we would then enqueue it to mosaic node and wait for it to be released. If released, we would dequeue it and then re enqueue the buffer to RGB/ IR LDC.

Initially we were directly sending RGB to display and IR to another algorithm node for processing.
We cannot replicate the VISS / LDC nodes as the input parameters and the node configurations are different for RGB and IR modes as the input data is of different kinds.
Now, we are trying to mosaic both RGB and IR VPAC outputs together. When we start the use case with logs enabled, we have observed that once the VPAC output buffer is dequeued and then enqueued to the Mosaic node, the mosaic node processes the output and gives it to the display and 1 frame is visible on the DP display. When the same process is repeated for the other VPAC output buffers, we see that the Mosaic node process is not triggered and it holds on to the enqueued input buffers. 
We have also tried adding Mosaic output also as a graph parameter and went ahead and enqueued empty buffers during the pipe up. With this change we have observed that the 1 frame process through the Mosaic node is also not happening which was actually working in the earlier case.  
Could you please review and let us know if we are missing anything?
Best regards,

Srikanth V.