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.

TDA3XEVM: Is it possible to use the remapmerge algorithm for 4Channel camera in independently ?

Part Number: TDA3XEVM
Other Parts Discussed in Thread: SYSBIOS

Hi,

I am testing the remapmerge for 4Channel camera in independently. ( remapMergeLink_algPlugin.c )

Is it possible to use the remapmerge algorithm for 4Channel camera in independently ?

When i use the numInputChannels(2Channel) in the remapmerge, it's working well.

But, When i use the numInputChannels(4Channel) in the remapmerge, it happend the fail.

 

[Fail Log]

[IPU1-0]   1299.079241 s:  ### XDC ASSERT - ERROR CALLBACK START ###
[IPU1-0]   1299.079302 s:
[IPU1-0]   1299.079515 s: out of memory: handle=0x8316be3c, size=3074424832
[IPU1-0]   1299.079607 s:
[IPU1-0]   1299.079668 s:  ### XDC ASSERT - ERROR CALLBACK END ###
[IPU1-0]   1299.079729 s:
[IPU1-0]   1299.080125 s: ti.sysbios.heaps.HeapMem: line 221: ti.sysbios.heaps.HeapMem: line 221: out of memory: handle=0x8316be3c, size=3074424832
[EVE1  ]   1299.080339 s:  Assertion @ Line: 473 in remapmerge/remapMergeLink_algPlugin.c: pSysVideoFrameBufferOutput->bufAddr[0] != NULL : failed !!!
[EVE1  ]   1299.082718 s:  Assertion @ Line: 473 in remapmerge/remapMergeLink_algPlugin.c: pSysVideoFrameBufferOutput->bufAddr[0] != NULL : failed !!!

 

Regards,

Lee.

 

  • Hello,

    RemapMerge is originally written to handle two images from stereo camera. For example, the following is defined in remapMergeLink_priv.h:

    #define REMAPMERGE_MAX_CH_PER_OUT_QUE (2)

    In order to support 4 channels, I think you need to modify several places in remapMergeLink_algPlugin.c, which you may not want to. And I don't want to recommend it either.

    The simple way I can think of now is that you add two RemapMerge Link in your use case so that each RemapMerge link takes care of two channels. Later, you can merge them using Merge link.