[FFmpeg-devel] avfilter/x86/vf_threshold : add SSE4 and AVX2 for threshold 16

Martin Vignali martin.vignali at gmail.com
Thu Dec 7 22:10:40 EET 2017


2017-12-03 21:28 GMT+01:00 Martin Vignali <martin.vignali at gmail.com>:

>
>
> 2017-12-03 21:15 GMT+01:00 James Darnley <james.darnley at gmail.com>:
>
>> On 2017-12-03 19:30, Martin Vignali wrote:
>> >  libavfilter/x86/vf_threshold.asm    | 19 ++++++++++++++-----
>> >  libavfilter/x86/vf_threshold_init.c | 34
>> ++++++++++++++++++++--------------
>> >  2 files changed, 34 insertions(+), 19 deletions(-)
>> >
>> > diff --git a/libavfilter/x86/vf_threshold.asm
>> b/libavfilter/x86/vf_threshold.asm
>> > index fb008c376a..7b929c6bd2 100644
>> > --- a/libavfilter/x86/vf_threshold.asm
>> > +++ b/libavfilter/x86/vf_threshold.asm
>> > @@ -27,14 +27,21 @@
>> >  SECTION_RODATA
>> >
>> >  pb_128: times 16 db 128
>> > +pb_128_0 : times 16 dw 32768
>>
>> No.  Please use db and the values you want.
>>
>> I assume this is supposed to be "times 8 db 0, 128".
>
>
>
Hello,

new patch in attach (you're right, it's "times 8 db 0, 128")


Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avfilter-x86-vf_threshold-add-threshold16-SIMD-SSE4.patch
Type: application/octet-stream
Size: 4415 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171207/dfc163e9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-checkasm-vf_threshold-add-test-for-threshold16.patch
Type: application/octet-stream
Size: 2148 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171207/dfc163e9/attachment-0001.obj>


More information about the ffmpeg-devel mailing list