[FFmpeg-cvslog] avfilter/x86/vf_convolution_init: there is asm only for 8bit depth

Paul B Mahol git at videolan.org
Tue Sep 15 09:14:44 EEST 2020


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Sep 15 08:10:47 2020 +0200| [fda5363c80bd09066d69fb9bd365c9114b8d08f3] | committer: Paul B Mahol

avfilter/x86/vf_convolution_init: there is asm only for 8bit depth

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fda5363c80bd09066d69fb9bd365c9114b8d08f3
---

 libavfilter/x86/vf_convolution_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/x86/vf_convolution_init.c b/libavfilter/x86/vf_convolution_init.c
index 51432406ed..45df576aa7 100644
--- a/libavfilter/x86/vf_convolution_init.c
+++ b/libavfilter/x86/vf_convolution_init.c
@@ -36,7 +36,7 @@ av_cold void ff_convolution_init_x86(ConvolutionContext *s)
     int cpu_flags = av_get_cpu_flags();
     for (i = 0; i < 4; i++) {
         if (s->mode[i] == MATRIX_SQUARE) {
-            if (s->matrix_length[i] == 9) {
+            if (s->matrix_length[i] == 9 && s->depth == 8) {
                 if (EXTERNAL_SSE4(cpu_flags))
                     s->filter[i] = ff_filter_3x3_sse4;
             }



More information about the ffmpeg-cvslog mailing list