I am attempting to resize an image and place it within a larger image (both input and output use ROI). I have no problems working with planar colorspaces (i.e. YV12). I run into an issue when I attempt to resize an image in the UYVY colorspace. It appears that the UV values are not correct and I see some slight vertical banding on the Y. The inpput image is 320x240 and the output image is 640x480. If the image is aligned on 32-bit boundries, the Step input step is 640 and the output 1280. If I use the YUY2 colorspace, the resize works perfectly. How does the ResizeYUV422 (in my case ResizeYUV422_8u_C2R) function determine if the bitstream is in UYVY or YUY2, etc...? Thanks.
For more complete information about compiler optimizations, see our Optimization Notice.