AnsweredAssumed Answered

i.MX6 IPU resize produce garbage on some image resolutions

Question asked by Mickey I on Dec 4, 2012
Latest reply on Jan 8, 2013 by Karina Valencia Aguilar
Branched to a new discussion



I have an issue where I can downsize a 2592x1944 image to 640x480 using the i.MX6 IPU successfully, but when I try other output resolutions (such as 1296x972) I get a garbaged picture.

In both cases the only thing that was changed in the code is the input width and height, but one case gives a correctly scaled image, while the other outputs garbage.


I'm running on Linux version 3.0.35-2026-geaaf30e.

I used mxc ipu unit test as a reference, and wrote this code:

Compiled with: arm-fsl-linux-gnueabi-gcc (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) 4.6.2 20110630 (prerelease)


Tried it on 3.0.15 as well, it gives exactly the same results.


Any suggestions?