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.

DM365 RSZ Failed

Other Parts Discussed in Thread: TVP5146

Hi,

I caputure 720x576 YUV422 video stream via TVP5146 on DM365 EVM, then I resize 720x576 to two video stream :

  • a HD YUV420 stream via RSZ[0] and 
  • a 320x240 YUV422 stream via RSZ[1].

At first, I set  the first ouput resolution to 1280x720, and it work well.

then, I set the first output resolution to 1920x1072, and the both RSZ can't work(output is meaningless). so does I set to 1600x1200.

If I set to 1920x1056 or 1600x1152, it work well then.

 

DM365 VPFE manual has said "Maximum input and output widths up to 2176 pixels wide (1088 for RSZ[2])", but not mentioned input and output heights.

So I don't know what wrong with it. Some infomation maybe helpful

  • I am using arago kernel 2.6.34(v2.6.34_DAVINCIPSP_03.21.00.01),not 2.6.18 from MVL5

Can someone help me?

 

Best Regards, 

Guo


  • Hi,

    Guo Peng said:

    DM365 VPFE manual has said "Maximum input and output widths up to 2176 pixels wide (1088 for RSZ[2])", but not mentioned input and output heights.

    There is no mention of the limitation of output height, because the resizer module does not really have any such limitation. The limit on width is due to the line buffers inside the hardware block which stores the pixels for processing. Having said that, the limitation is there on the resize ratios (output height / input height) and the maximum resize operation you can do in a particular system load.

    I think, with the description you have provided, the problem is with the clock divider settings in the IPIPEIF module. I am assuming you are using the single shot mode of resizer to do the resize operation you need. In this case, based on your DDR and system load, resizer might not be able to do its operation at the input clock being fed to it. You can try slowing down the clock a little bit by changing the clk_div.n and clk_div.n in the rsz_ss_config structure and then set RSZ_S_CONFIG ioctl.

    Hope this helps.

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.

  • Hi:

      I wonder if resizer A can do re-scaling other than 1:1 output under continous mode. Based on the existing DMAI API, it does not support to configure the output dimension of resizer A under on-the-fly mode. The output of resizer A is automatically set by the CCDC driver, and can only be fullstream 1:1 output.

      Please let me know if it is true for resizer A to only output 1:1 stream under continous mode? Thanks.

    Jerry