mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
radv/video: move session defines to header as encode needs more.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32440>
This commit is contained in:
parent
dd45e25dc3
commit
ee9ec055d9
2 changed files with 4 additions and 4 deletions
|
|
@ -1039,10 +1039,6 @@ radv_GetPhysicalDeviceVideoFormatPropertiesKHR(VkPhysicalDevice physicalDevice,
|
|||
return vk_outarray_status(&out);
|
||||
}
|
||||
|
||||
#define RADV_BIND_SESSION_CTX 0
|
||||
#define RADV_BIND_DECODER_CTX 1
|
||||
#define RADV_BIND_INTRA_ONLY 2
|
||||
|
||||
VKAPI_ATTR VkResult VKAPI_CALL
|
||||
radv_GetVideoSessionMemoryRequirementsKHR(VkDevice _device, VkVideoSessionKHR videoSession,
|
||||
uint32_t *pMemoryRequirementsCount,
|
||||
|
|
|
|||
|
|
@ -26,6 +26,10 @@ struct radv_image_create_info;
|
|||
|
||||
#define RADV_ENC_MAX_RATE_LAYER 4
|
||||
|
||||
#define RADV_BIND_SESSION_CTX 0
|
||||
#define RADV_BIND_DECODER_CTX 1
|
||||
#define RADV_BIND_INTRA_ONLY 2
|
||||
|
||||
struct radv_vid_mem {
|
||||
struct radv_device_memory *mem;
|
||||
VkDeviceSize offset;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue