Cuda NPP Image processing for YUV420

Hi All,

I have a small question regarding the NPP library.

Are the image processing functions provided by the NPP library written for RGB images only?
I know there are a several image conversion functions for RGB->YUVXXX and YUVXX->RGB but I was just curious if there is some way to tell NPP which image format you are using when accessing the image processing functions so you dont have to do the conversion?


The vast majority of functions in NPP are for either single-channel images (i.e. C1R suffix), packed pixel images (C3R, C4R and AC4R suffix) or planar images (P3/P4 variants). Only a very small number of video specific functions are for downsampled video formats like the ones you’re mentioning.

Ok. Thank you for the quick replay