mirror of https://github.com/FFmpeg/FFmpeg.git
Vulkan supports some stupidly odd hardware, that unfortunately, most modern GPUs happen to be. The DPB images for encoders may be required to be preallocated all at once, and rather than be individual frames, be layers of a single frame. As the hw_base_encode code is written with the thought that either the driver or the device itself supports sane image allocation, Vulkan does not leave us with this option. So, in the case that the hardware does not support individual frames to be used as DPBs, make the DBP frames context optional, and let the subsystem manage this.release/7.1
parent
e6019ed075
commit
3de73f1262
1 changed files with 11 additions and 9 deletions
Loading…
Reference in new issue