Video processing in the device


I want to process a video on the device but I didn’t get yet the way to pass the video from host to device. I tried to create a pointer of pointers but it doesn’t work with cudaMalloc. I want to have a kernel that will be executed n times, where n is the number of video frames.

Thank you very much