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.
OK, I figured out that the original picture in 444P format, not Y444 format. Now I got correct output.