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: VISS:Are multiple images processed one by one or simultaneously

Part Number: TDA4VM

Hi Ti Experts:

I have read the code of VISS module in SDK 8.0 and had a question.

In the function vhwa_m2mVissProcessReq, it waits for the semaphore instObj->hwaLock to complete(line 1101 in vhwa_m2mVissApi.c).

Does that mean, if I have multiple camera images to VISS process at the same time, I have to process them one after the other, not at the same time?

  • Hi wu tianyang,

    Yes, that's correct. VISS works in memory to memory mode, in this mode, frames will be processed one by one.

    Regards,

    Brijesh

  • Hi Brijesh:

    Thank you for your reply. I have two more questions。

    1、I compared SDK8.0 and SDK7.3 codes and found that  VISS module adds UDMA Config function.

    What does this new feature do?

    2、I have tested the VISS module to process a 1920*1536 image on our own board, which takes about 6~8ms, most of the time is spent on waiting for the Process to complete(waitForProcessCmpl).

    Now I need to process 5 images in a frame interval (about 33ms). If I process images one by one, the processing time for five images is over 33ms.

    Are there any solutions to this problem?

    Regards,

    Wu Tianyang

  • Hi Wu Tianyang,

    1、I compared SDK8.0 and SDK7.3 codes and found that  VISS module adds UDMA Config function.

    What does this new feature do?

    This feature allows to use heterogeneous camera to be processed in VISS. Without this feature, it would be difficult to support completely different camera having different VISS requirement. 

    2、I have tested the VISS module to process a 1920*1536 image on our own board, which takes about 6~8ms, most of the time is spent on waiting for the Process to complete(waitForProcessCmpl).

    Now I need to process 5 images in a frame interval (about 33ms). If I process images one by one, the processing time for five images is over 33ms.

    Are there any solutions to this problem?

    If the task is not rescheduled to some higher priority task, then i think should be possible to process. But it is too tight.. 

    Regards,

    Brijesh