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.

Linux/TDA2PXEVM: What's the proper way for App to feed buffer to the Links.

Part Number: TDA2PXEVM

Tool/software: Linux

Hi,

When app implements a chain,   to have a good manipulation of the buffers, app wants to allocate buffers  (also through OSA_memAllocSR) for some link and mandates the link use such buffers.

I wonder what's the proper way to do so in Vision SDK, is there some example similar I can refer to? Thanks!

Regards,

Simon 

    

  • Hi Simon,

    please check "vision_sdk/docs/FeatureSpecificUserGuides/VisionSDK_DevelopmentGuide.pdf" it has detailed description of buffer allocation/management. Also you can check the documents in "vision_sdk/docs/Architecture/".
    You can check any of the existing usecases for example.

    Regards,
    Yordan
  • Hi Simo, You could refer usecase \apps\src\rtos\usecases\iss_capture_isp_simcop_display\chains_issIspSimcop_Display.c Please check function chains_issIspSimcop_Display_SetMemAllocInfo (). Important thing to note is, for all the links that are employed in the chain, you should determine the exact memory required and allocate the same. Regards, Sujith