vulkan/video: deep copy video parameters
The vulkan video parameters have to be deep copied to avoid accessing pointers later, this refactors some of the code and then adds the deep copying of the parameters.
Edited by Dave Airlie
The vulkan video parameters have to be deep copied to avoid accessing pointers later, this refactors some of the code and then adds the deep copying of the parameters.