vkimagebufferpool: add encoding usage as video usage
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7247>
This commit is contained in:
parent
541e2e93ca
commit
bb9eb6f477
@ -262,7 +262,9 @@ gst_vulkan_image_buffer_pool_set_config (GstBufferPool * pool,
|
|||||||
|
|
||||||
#if GST_VULKAN_HAVE_VIDEO_EXTENSIONS
|
#if GST_VULKAN_HAVE_VIDEO_EXTENSIONS
|
||||||
video = (priv->usage & (VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR
|
video = (priv->usage & (VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR
|
||||||
| VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR));
|
| VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR
|
||||||
|
| VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR
|
||||||
|
| VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR));
|
||||||
#endif
|
#endif
|
||||||
sampleable = priv->usage &
|
sampleable = priv->usage &
|
||||||
(VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_STORAGE_BIT);
|
(VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_STORAGE_BIT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user