mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-20 06:11:04 +00:00
avfilter/vf_scale_vulkan: align struct ScaleVulkanContext
On 64 bit Operating System, sizeof(ScaleVulkanContext): reduce from 2400 to 2392 on Linux reduce from 2416 to 2408 on Windows Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
This commit is contained in:
parent
c7c37a8f22
commit
68d0a7e446
@ -35,7 +35,6 @@ enum ScalerFunc {
|
|||||||
typedef struct ScaleVulkanContext {
|
typedef struct ScaleVulkanContext {
|
||||||
FFVulkanContext vkctx;
|
FFVulkanContext vkctx;
|
||||||
|
|
||||||
int initialized;
|
|
||||||
FFVkQueueFamilyCtx qf;
|
FFVkQueueFamilyCtx qf;
|
||||||
FFVkExecContext *exec;
|
FFVkExecContext *exec;
|
||||||
FFVulkanPipeline *pl;
|
FFVulkanPipeline *pl;
|
||||||
@ -46,11 +45,14 @@ typedef struct ScaleVulkanContext {
|
|||||||
VkDescriptorImageInfo output_images[3];
|
VkDescriptorImageInfo output_images[3];
|
||||||
VkDescriptorBufferInfo params_desc;
|
VkDescriptorBufferInfo params_desc;
|
||||||
|
|
||||||
enum ScalerFunc scaler;
|
|
||||||
char *out_format_string;
|
char *out_format_string;
|
||||||
enum AVColorRange out_range;
|
|
||||||
char *w_expr;
|
char *w_expr;
|
||||||
char *h_expr;
|
char *h_expr;
|
||||||
|
|
||||||
|
enum ScalerFunc scaler;
|
||||||
|
enum AVColorRange out_range;
|
||||||
|
|
||||||
|
int initialized;
|
||||||
} ScaleVulkanContext;
|
} ScaleVulkanContext;
|
||||||
|
|
||||||
static const char scale_bilinear[] = {
|
static const char scale_bilinear[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user