mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
vulkan/runtime: retain video session creation flags
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26519>
This commit is contained in:
parent
22c60ea384
commit
e8a96e6ba0
2 changed files with 2 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ vk_video_session_init(struct vk_device *device,
|
|||
{
|
||||
vk_object_base_init(device, &vid->base, VK_OBJECT_TYPE_VIDEO_SESSION_KHR);
|
||||
|
||||
vid->flags = create_info->flags;
|
||||
vid->op = create_info->pVideoProfile->videoCodecOperation;
|
||||
vid->max_coded = create_info->maxCodedExtent;
|
||||
vid->picture_format = create_info->pictureFormat;
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ extern "C" {
|
|||
|
||||
struct vk_video_session {
|
||||
struct vk_object_base base;
|
||||
VkVideoSessionCreateFlagsKHR flags;
|
||||
VkVideoCodecOperationFlagsKHR op;
|
||||
VkExtent2D max_coded;
|
||||
VkFormat picture_format;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue