Hi Paul,

> On 23 May 2016, at 13:13, Paul B Mahol <one...@gmail.com> wrote:
> 
> On 5/23/16, Haavard Espeland <espel...@mixedrealities.no> wrote:
>> Hi guys,
>> 
>> We have been working on Prores Anatoliy optimizations to get the speed up on
>> an embedded x86 platform. Fdct (10bit), scaling and encoding of code words
>> have been optimized with AVX2 instructions, and the performance is increased
>> by roughly 45% for the standard profile Prores 4:2:2 on our machine without
>> any significant PSNR or file size differences from master.
>> 
>> It is written using SIMD intrinsics, and I do understand you have a slightly
>> negative view on instrinsics in ffmpeg, but we do not have the resources to
>> rewrite this in nasm/yasm.
>> 
>> Is there any point in cleaning up this patch for submission, or should we
>> just keep it locally in our tree?
> 
> I would like to see that code.

Please find attached the WIP patch against master. It is not meant for review 
or as a suggestion for inclusion since it requires significant cleanup / 
refactoring before that. What I wanted to find out if doing this is worth the 
effort, i.e., will it be considered for inclusion without a rewrite to asm, 
which we cannot do now, unfortunately.

Remember to configure with ./configure --extra-cflags=“--march=native” since we 
haven’t made a proper way to build with intrinsics yet.


Attachment: prores_avx2_wip.patch
Description: Binary data


Best,

Håvard

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to