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.

DM368 resizer scaling up with problem

       When I use DM368 resize raw data to YUV420, from 1920x1080 resize to 1920x1080 with ISIF in mode and resize is free run mode in 30fps.

Then encode to 1080P H.264 and vpbe output is 1080P 30fps.It's working.

When I change resizer input size smaller than 960x540  by changing register IPIPE.SRC_VSZ 、 IPIPE.SRC_HSZ、RSZ.RZA_H_DIF、and RSZ.RZA_V_DIF.

And resizer output is 1080P 30fps,some thing error.

Problem1:It resize output like the below image.The image is YUV data transfer to BMP.

YUV data which saved in DDR is below link.

5557.lumens_8242_1920x1088.zip

Problem 2:It's fail for resizer when resizer input decrease to smaller size . The resizer had no new output YUV data.

DM368 is working, when I change the input size as 1080P, it's working again.

I check the display buffer and resizer output buffer are not the same buffer in register setting.

If Resizer scaling up has any limit for input size?

Can I use small data size scaling up to 1080P 30dps?

Any suggestion?

Thanks and regards.

     by Alfred

  • hi Alfred,

    Using resizer in upscaling mode when in ISIF input mode is not recommended.

    In practice we have seen that uptp 2x upscaling is possible with VGA size input, as input size increases, i.e 1080p this upscaling scaling ratio that is possible decreases.

    Problem is in upscaling mode resizer needs to do more work is flushing out more number of output pixels but number of input clock is now less. Due to this when resizer is not able to write pixel to memory it will stop its operation until next VD.

    Hence you see problem 1.

    As you decrease the size further i.e increase upscaling ratio, the problem becomes worse, where it is able to upscaling very few or 0 lines and so it apeears there is no output.

    Basically, for > 720p upscaling at resizer on ISIF input mode is not recommended.

    You can try DDR input mode of resizer, but you may not be able to achieve full FPS at 1080p in this mode.

    regards
    Kedar