I want to use the DM368 resizer module in single shot mode to convert YUV 4:2:0 images in NV12 (semi-planar) format from 320x180 to 1280x720 resolution. I am using the do_resize_420_420 example in dvsdk-4_02_00_06 (psp03.01.01.38). In order to be able to upscale an image I had to correct what looks like a bug in the example code: when requesting the output buffer, the buffer size should use OUTPUT_WIDTH and OUTPUT_HEIGHT instead of INPUT_WIDTH and INPUT_HEIGHT. Once I corrected this, the resizing operation completes with no errors in the code, but the resized image is not good: the luma channel is OK, but it looks like resizing for the chroma channels is not performed, and as a result the output image has its colors messed up. What could cause the resizer to skip resizing for the UV channels without the driver reporting any error to the application?
Thank you,
Francesco Lavra