Best way of resizing a yuv420p image


As far as I understand there is no direct resize / scale function for yuv420p in the NPP library.
Is there any other library that might have this?

But my question is would it be best to convert the yuv420p image to RGB and then do the resizing or resize each individual channel in the YUV image.

I don’t really know which would be best from a quality perspective but I guess going through the RGB step?

Thanks in advance!