I want to encode raw YUV images (particularly 4:2:0 planar format) to JPEG.
I’ve downloaded the Cuda toolkit 8.0 which includes the 7_CUDALibrariess/jpegNPP and as stated this sample demonstrates how to use NPP for JPEG compression on the GPU.
However this sample input is an already jpeg image which is being decoded and then encoded again and this is clearly not what i need.
Before I continue learning this sample, I just wanted to ask if it is possible to use this sample to encode YUV images? Or maybe there are other samples/projects that I should use?