[FFmpeg-devel] Prores encoding optmizations

Ronald S. Bultje rsbultje at gmail.com
Mon May 23 13:19:47 CEST 2016

Hi Havard,

On Mon, May 23, 2016 at 6:36 AM, HÃ¥vard Espeland <espeland at 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?

The SIMD won't be accepted if it's intrinsics. The codeword encoding is not
SIMD, is it? So that may be worth upstreaming.

When you say "no significant PSNR or file size differences", though, it
sounds like the output changed? Did it? Can you explain why?


More information about the ffmpeg-devel mailing list