From: Marton Balint <cus@passwd.hu> To: ffmpeg-devel@ffmpeg.org Cc: Marton Balint <cus@passwd.hu> Subject: [FFmpeg-devel] [PATCH 3/3] avfilter/vf_zscake: enable AVX512 zscale functions Date: Fri, 8 Jul 2022 00:29:31 +0200 Message-ID: <20220707222931.16118-3-cus@passwd.hu> (raw) In-Reply-To: <20220707222931.16118-1-cus@passwd.hu> Signed-off-by: Marton Balint <cus@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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2022-07-07 22:30 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-07 22:29 [FFmpeg-devel] [PATCH 1/3] avfilter/vf_zscale: remove some unneeded initializations Marton Balint 2022-07-07 22:29 ` [FFmpeg-devel] [PATCH 2/3] avfilter/vf_zscale: simplify and fix slice_params calculations Marton Balint 2022-07-07 22:29 ` Marton Balint [this message] 2022-07-10 20:46 ` [FFmpeg-devel] [PATCH 1/3] avfilter/vf_zscale: remove some unneeded initializations Marton Balint 2022-07-10 21:51 ` Paul B Mahol
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220707222931.16118-3-cus@passwd.hu \ --to=cus@passwd.hu \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git