mirror of https://git.ffmpeg.org/ffmpeg.git
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;
|
AVVulkanDeviceContext *hwctx = ctx->hwctx;
|
||||||
|
|
||||||
static const struct FunctionLoadInfo {
|
static const struct FunctionLoadInfo {
|
||||||
int req_inst;
|
char req_inst;
|
||||||
int req_dev;
|
char req_dev;
|
||||||
size_t struct_offset;
|
uint16_t struct_offset;
|
||||||
FFVulkanExtensions ext_flag;
|
FFVulkanExtensions ext_flag;
|
||||||
const char *name;
|
const char *name;
|
||||||
} vk_load_info[] = {
|
} vk_load_info[] = {
|
||||||
|
|
Loading…
Reference in New Issue