[FFmpeg-devel] [PATCH] Rewrite emu_edge functions to have separate src/dst_stride arguments.

Ronald S. Bultje rsbultje at gmail.com
Fri Sep 20 14:05:35 CEST 2013


Hi,

On Fri, Sep 20, 2013 at 8:03 AM, Ronald S. Bultje <rsbultje at gmail.com>wrote:

> From: "Ronald S. Bultje" <rsbultje at gmail.com>
>
> This allows supporting files for which the image stride is smaller than
> the max. block size + number of subpel mc taps, e.g. a 64x64 VP9 file
> or a 16x16 VP8 file with -fflags +emu_edge.
>

Sorry for the several messages - left some debug code behind multiple
times. This version is slighty faster on sintel1080p (vp8), going from
slightly over 1k cycles to slightly under 1k cycles. More importantly, it
makes the x86/simd code a lot more maintainable and adds some clever tricks
to make it faster that were hard to do before because the code was such a
mess.

This patch is a requirement to merge the vp9 decoder, since without it, it
can't decode files with a stride of 64 or smaller, meaning most reference
samples fail to decode with -flags +emu_edge.

Ronald


More information about the ffmpeg-devel mailing list