mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32:16 +02:00
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:
parent
e9b4f4461f
commit
674f20813d
@ -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[] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user