diff options
author | Wenbin Chen <wenbin.chen@intel.com> | 2021-12-07 17:05:51 +0800 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2021-12-10 17:03:48 +0100 |
commit | bd6ef73399f3f2fcd59ae2ff358954bb536540f2 (patch) | |
tree | 03f38f2fc38984c8f19afbd68054f5e46f365f4c /presets | |
parent | f3c9847c2754b7a43eb721c95e356a53085c2491 (diff) | |
download | ffmpeg-bd6ef73399f3f2fcd59ae2ff358954bb536540f2.tar.gz |
hwcontext_vulkan: add support for allocating all planes in a single allocation
VAAPI on Intel can import external frame, but the planes of the external
frames should be in the same drm object. A new option "contiguous_planes"
is added to device. This flag tells device to allocate places in one
memory. When device is derived from vaapi this flag will be enabled.
A new flag frame_flag is also added to AVVulkanFramesContext. User
can use this flag to force enable or disable this behaviour.
A new variable "offset "is added to AVVKFrame. It describe describe the
offset from the memory currently bound to the VkImage.
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Further-modifications-by: Lynne <dev@lynne.ee>
Diffstat (limited to 'presets')
0 files changed, 0 insertions, 0 deletions