[FFmpeg-devel] [PATCH V1 1/3] lavu: Add alpha blending API based on row.

mypopy at gmail.com mypopy at gmail.com
Wed Sep 26 05:02:09 EEST 2018


On Wed, Sep 26, 2018 at 6:58 AM Marton Balint <cus at passwd.hu> wrote:
>
>
>
> On Tue, 25 Sep 2018, Jun Zhao wrote:
>
> > Add alpha blending API based on row, support global alpha blending/
> > per-pixel blending, and add SSSE3/AVX2 optimizations of the functions.
>
> You might want to take a look at
> libavfilter/vf_framerate.c and libavfilter/x86/vf_framerate.asm as well,
> they do something similar. Maybe you should factorize that instead.
>
>
Yep, this is a good suggestion, I think we can factor this part and
supply a public 8bits/16bits blend API with SSSE3/AVX2 optimiztion,
then we can use the API in
vf_framerate/vf_blend (blend_normal_8bit/16bit)/vf_minterpolate (blend mode).


More information about the ffmpeg-devel mailing list