iMX6 IPU resizing problem

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

iMX6 IPU resizing problem

1,114 Views
timf
Contributor II

Hi,

  I'm trying to use IPU to resizing YUV444 image to a smaller YUV420 image on a iMX6 Sabrelite board.

  I'm using sample code from:

https://github.com/rogeriorps/ipu-examples.git

The only thing I have changed is the task structure:

// Input image size and format
task.input.width    = 1024;
task.input.height   = 768;
task.input.format   = v4l2_fourcc('Y', '4', '4', '4');

// Output image size and format
task.output.width   = 512;
task.output.height  = 384;
task.output.format  = v4l2_fourcc('I', '4', '2', '0');

Here is the result I got, can anyone tell me what was wrong?

Thanks.

ipu_result.jpg

0 Kudos
1 Reply

423 Views
timf
Contributor II

OK, I figured out that the original picture in 444P format, not Y444 format. Now I got correct output.

0 Kudos