[FFmpeg-devel] [PATCH] avfilter: add hflip x86 SIMD

Martin Vignali martin.vignali at gmail.com
Sun Dec 3 20:09:04 EET 2017


> 2017-12-03 17:46 GMT+01:00 Paul B Mahol <onemda at gmail.com>:
>
>> On 12/3/17, Martin Vignali <martin.vignali at gmail.com> wrote:
>> > Hello,
>> >
>> > Maybe you can use a macro for byte and short version,
>> > only few lines are different in each version
>>
>> Sure, feel free to send patches.
>>
>> I'm not very macro proficient.
>>
>
> Ok, i will take a look.
>
> Martin
>

I write a basic checkasm test. Seems like the byte version is slower than c

hflip_byte_c: 31.8
hflip_byte_ssse3: 108.1
hflip_short_c: 300.1
hflip_short_ssse3: 139.8

(checkasm patch in attach if you want to test)

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-checkasm-vf_hflip-add-test-for-hflip-SIMD.patch
Type: application/octet-stream
Size: 6290 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171203/8777e2d8/attachment.obj>


More information about the ffmpeg-devel mailing list