> -----Original Message----- > From: Song, Ruiling > Sent: Wednesday, July 31, 2019 3:54 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Song, Ruiling <ruiling.s...@intel.com> > Subject: [PATCH V2] avfilter/vf_convolution: add x86 SIMD for filter_3x3() > > Tested using a simple command (apply edge enhance): > ./ffmpeg_g -i ~/Downloads/bbb_sunflower_1080p_30fps_normal.mp4 \ > -vf convolution="0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:0 > 0 0 -1 1 0 0 > 0 0:5:1:1:1:0:128:128:128" \ > -an -vframes 1000 -f null /dev/null > > The fps increase from 151 to 270 on my local machine. > > Signed-off-by: Ruiling Song <ruiling.s...@intel.com> > --- > v2: > fix a bug in scalar code path. > Use macro PROCESS_V/S for the first tap to simplify code. Applied this version.
> > libavfilter/convolution.h | 64 +++++++++++ > libavfilter/vf_convolution.c | 41 +------ > libavfilter/x86/Makefile | 2 + > libavfilter/x86/vf_convolution.asm | 156 ++++++++++++++++++++++++++ > libavfilter/x86/vf_convolution_init.c | 46 ++++++++ > 5 files changed, 271 insertions(+), 38 deletions(-) > create mode 100644 libavfilter/convolution.h > create mode 100644 libavfilter/x86/vf_convolution.asm > create mode 100644 libavfilter/x86/vf_convolution_init.c [...] _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".