avutil/vulkan_loader: Use smaller types

Saves 16B per entry here (four of these 16 bytes are padding);
leads to 1776 B of savings in each file that uses
ff_vk_load_functions().

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-03-03 14:26:56 +01:00
parent e9b4f4461f
commit 674f20813d
1 changed files with 3 additions and 3 deletions

View File

@ -97,9 +97,9 @@ static inline int ff_vk_load_functions(AVHWDeviceContext *ctx,
AVVulkanDeviceContext *hwctx = ctx->hwctx;
static const struct FunctionLoadInfo {
int req_inst;
int req_dev;
size_t struct_offset;
char req_inst;
char req_dev;
uint16_t struct_offset;
FFVulkanExtensions ext_flag;
const char *name;
} vk_load_info[] = {