i.MX6 IPU resize produce garbage on some image resolutions

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6 IPU resize produce garbage on some image resolutions

Jump to solution
1,256 Views
MickeyI
Contributor III

Hi,

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: http://pastebin.com/pwF6dDcz

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?

Labels (1)
0 Kudos
1 Solution
601 Views
karina_valencia
NXP Apps Support
NXP Apps Support

update from SR related: 

Hi Jimmy, 

There's no need to take this further, I've found in the IPU spec a restriction of the output image to 1024x1024.

View solution in original post

0 Kudos
1 Reply
602 Views
karina_valencia
NXP Apps Support
NXP Apps Support

update from SR related: 

Hi Jimmy, 

There's no need to take this further, I've found in the IPU spec a restriction of the output image to 1024x1024.

0 Kudos