NPP YUV 422 Support

I’ve started working with the NPP 1.0 calls. I am able to convert YUV 4:2:2 to RGB successfully. However, my application is not YUVY… but UYVY - a minor inconvenience, but troublesome none the less.

After converting to RGB, I wanted to downscale the image - using nppiResize_8u_C4R - but, oh my! nppiYcbCr422ToRGB_8U_C2C3R does NOT create a 4-channel RGB buffer. So, I must now
copy the bits off the device, reformat to RGBA, copy the bits back, do the downscaling, then copy the bits off again - quite bothersome.

So, what I would like to see in NPP is the following:

nppiYCbCr422ToRGB_8u_C2C4R - convert YUV 4:2:2 to RGBA for direct use with nppiResize_8u_C4R

Additionally, the following would be nice:

nppiUYVY422ToRGB_8u_C2C4R - convert UYVY 4:2:2 to RGBA for direct use with nppiResize_8u_C4R

If anyone can point me in the right direction for this functionality using the CUDA SDK instead, I would certainly appreciate it. I will see if my hardware device will provide YUYV instead.


Chuck McCrobie