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.

IMX Image Scaling



On DM368 we are using the IPIPE/RSZ hardware scalers to generate two size of output images. We would like to create more resolutions without stopping the ISP and sending data back to the IPIPE/RSZ.

Doing this as a software scale in C is very painful for the CPU, but we have been told that it is possible to accelerate using the IMX.

Please could you explain how we go about doing horizontal/vertical averaging using the IMX?

Many thanks.

  • Hello,

    Can you please give more details on the usecase that you are trying in DM368?

    One way to do this is to capture it in one-shot mode as raw data cpature and then run IPIPE+RSZ in lopp to get the number of resolution needed.

    Agree that the DDR load would increase due to this, but we need to get the details of usecase to analyse the load 

    Other way is to run the IMX based resizer but this will do only 1/2, 1/4 ...etc kind of resizer.

    PLease give more detail so that we suggest what path to take

    Regards,

    Raghu

  • Hi Raghu,

    Thanks for the quick reply.


    We don't want to waste bandwidth by sending back from DDR to IPIPE/RSZ. An example configuration might be RZA 720P @ 30FPS, RZB 576P @ 30FPS, plus occasional smaller resolutions (e.g. 144P @ 10FPS). We will always use the hardware resizers as much as possible without stopping sensor collection, but also offer some smaller resolutions using software/IMX scaling.

    It would be very helpful to have 1/2, 1/4 etc resizing via the IMX. Please could you let us know how to run that?

    Many thanks.

  • Hi,

    The DM36x iMX resizer lib and test bench is available for IPNC RDK ver 3.0 and below which is based on Monta Vista toolchain.You can get in touch with your local FAE and get the package.

    But it is not yet available for IPNC RDK ver 3.0 and above based on Codesourcery toolchain.

    regards,

    Anand

  • Thank you, I will contact our FAE.