RGB_to_NV12 conversion takes ~15ms


I am doing RGB to NV12 conversion using the CUDA core and it takes around ~15ms which is too much for my application.

I have also attached the code for your reference. Well, I am using the GTX-1650 GPU model.

Please let me know is there any scope for improvisation. Please do let me know your valuable inputs for the same.

rgb_to_nv12_cuda.log (6.4 KB)