[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 04:45:13 EEST 2018


On Wed, Sep 26, 2018 at 3:55 AM Rostislav Pehlivanov <atomnuker at gmail.com>
wrote:
>
> On 25 September 2018 at 16:27, Jun Zhao <mypopydev at gmail.com> wrote:
>
> > Add alpha blending API based on row, support global alpha blending/
> > per-pixel blending, and add SSSE3/AVX2 optimizations of the functions.
> >


> We don't use inline asm on x86 and we don't use global contexts. Look at
> how float_dsp is done.

I guess you precise mean "prefer NASM assembler over inline asm on x86". :)
In fact,
I know some x86 inline asm in FFmpeg, e,g libavcodec/x86/h264_cabac.
(Use grep "__asm__ volatile" can find more x86 inline asm). And we need to
update
the inline asm on x86 rule in
https://github.com/FFmpeg/FFmpeg/blob/master/doc/optimization.txt?

Thanks.


More information about the ffmpeg-devel mailing list