[FFmpeg-devel] [PATCH 3/3] avfilter/vf_zscake: enable AVX512 zscale functions
Marton Balint
cus at passwd.hu
Fri Jul 8 01:29:31 EEST 2022
Signed-off-by: Marton Balint <cus at passwd.hu>
---
libavfilter/vf_zscale.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c
index 8e50457c6b..91166dcbcb 100644
--- a/libavfilter/vf_zscale.c
+++ b/libavfilter/vf_zscale.c
@@ -837,7 +837,7 @@ static int filter_frame(AVFilterLink *link, AVFrame *in)
s->first_time = 0;
s->params.dither_type = s->dither;
- s->params.cpu_type = ZIMG_CPU_AUTO;
+ s->params.cpu_type = ZIMG_CPU_AUTO_64B;
s->params.resample_filter = s->filter;
s->params.resample_filter_uv = s->filter;
s->params.nominal_peak_luminance = s->nominal_peak_luminance;
@@ -851,7 +851,7 @@ static int filter_frame(AVFilterLink *link, AVFrame *in)
zimg_graph_builder_params_default(&s->alpha_params, ZIMG_API_VERSION);
s->alpha_params.dither_type = s->dither;
- s->alpha_params.cpu_type = ZIMG_CPU_AUTO;
+ s->alpha_params.cpu_type = ZIMG_CPU_AUTO_64B;
s->alpha_params.resample_filter = s->filter;
s->alpha_src_format.width = in->width;
--
2.35.3
More information about the ffmpeg-devel
mailing list