mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
vkvideoutils: add video capabilities structure
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4850>
This commit is contained in:
parent
8023e3c19a
commit
bf7a01f3fd
2 changed files with 21 additions and 0 deletions
|
@ -47,6 +47,26 @@ struct _GstVulkanVideoProfile
|
|||
gpointer _reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
/**
|
||||
* GstVulkanVideoCapabilities:
|
||||
*
|
||||
* Since: 1.24
|
||||
*/
|
||||
struct _GstVulkanVideoCapabilities
|
||||
{
|
||||
/*< private >*/
|
||||
#if GST_VULKAN_HAVE_VIDEO_EXTENSIONS
|
||||
VkVideoCapabilitiesKHR caps;
|
||||
union
|
||||
{
|
||||
VkBaseInStructure base;
|
||||
VkVideoDecodeH264CapabilitiesKHR h264dec;
|
||||
VkVideoDecodeH265CapabilitiesKHR h265dec;
|
||||
} codec;
|
||||
#endif
|
||||
gpointer _reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
GST_VULKAN_API
|
||||
GstCaps * gst_vulkan_video_profile_to_caps (const GstVulkanVideoProfile * profile);
|
||||
GST_VULKAN_API
|
||||
|
|
|
@ -113,6 +113,7 @@ typedef struct _GstVulkanFullScreenQuadPrivate GstVulkanFullScreenQuadPrivate;
|
|||
|
||||
typedef struct _GstVulkanQueueFamilyOps GstVulkanQueueFamilyOps;
|
||||
typedef struct _GstVulkanVideoProfile GstVulkanVideoProfile;
|
||||
typedef struct _GstVulkanVideoCapabilities GstVulkanVideoCapabilities;
|
||||
|
||||
typedef struct _GstVulkanOperation GstVulkanOperation;
|
||||
typedef struct _GstVulkanOperationClass GstVulkanOperationClass;
|
||||
|
|
Loading…
Reference in a new issue