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.

DM6435 resizer sample code issues

Hi DM Champs,

1) I am using TI sample code as reference.

2) example has 640*480 as Input image. and 320*240 o/p image.

3) My application has 720*480 as input image.

4) I am able to get o/p image 320*240 with given gRDRV_reszFilter4TapHighQuality filter.

 

Issues,

1) when I tried 180*120 with same gRDRV_reszFilter4TapHighQuality filter , the image was not proper.

2) I need to down scale image to 80*60(SQCIF), with given gRDRV_reszFilter4TapHighQuality filter it gives "IOCTL Failed" error.

 

Doubts

1) To get gRDRV_reszFilter4TapHighQuality filter coeff as per my requirements do I need to use "calcoef" utility? 

2) If yes how to I get the utility ? is it free or need to purchase it?

Kindly help!

Thanks & Best Regards,
Feroz 

  • Some answers I could get:

    Issues,

    1) when I tried 180*120 with same gRDRV_reszFilter4TapHighQuality filter , the image was not proper.

     

    [Feroz] Did you try 160X120? Is it proper? Please note that the supported resize operations from the data sheet.

     

    2) I need to down scale image to 80*60(SQCIF), with given gRDRV_reszFilter4TapHighQuality filter it gives "IOCTL Failed" error.

     

    [Feroz] You cannot do this as there is hardware limitation of 1/4th the input size.

     

    Doubts

    1) To get gRDRV_reszFilter4TapHighQuality filter coeff as per my requirements do I need to use "calcoef" utility? 

    2) If yes how to I get the utility ? is it free or need to purchase it?

     

    [Feroz] http://www.ti.com/lit/an/spraai7b/spraai7b.pdf should have the links for the package which should include the utility.

    Best

    Feroz

  • Hi Viet,

    One clarification on resize:

    I could not understand the increments 256/N n ranges 64 to 1024.  Not sure what this means. Will it be 256/64 , 256/128, 256/512, 256/1024 ?  OR 256/64, 256/65, 256/66 etc etc?

     Also I assume both the X and Y can be down scaled by ¼. Please confirm.

     

    PFB some responses on above from the customer :

     1. Yes I had tried 160*120 but it gave message IOCTL failed, for this resolution as well.

    2.  Did you mean the given 4tap filter should work for 180*120 as well?

    3. I will go through the doc, thanks.

     Best Regards

    Feroz