h264: Integrate clear_blocks calls with IDCT
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 19 Feb 2013 05:03:02 +0000 (21:03 -0800)
committerMartin Storsjö <martin@martin.st>
Wed, 10 Apr 2013 08:03:06 +0000 (11:03 +0300)
commit62844c3fd66940c7747e9b2bb7804e265319f43f
treeb0e5a05644457aa5d7598d1fefa1a41f83550753
parente8cafd2773bc56455c8816593cbd9368f2d69a80
h264: Integrate clear_blocks calls with IDCT

The non-intra-pcm branch in hl_decode_mb (simple, 8bpp) goes from 700
to 672 cycles, and the complete loop of decode_mb_cabac and hl_decode_mb
(in the decode_slice loop) goes from 1759 to 1733 cycles on the clip
tested (cathedral), i.e. almost 30 cycles per mb faster.

Signed-off-by: Martin Storsjö <martin@martin.st>
13 files changed:
libavcodec/arm/h264idct_neon.S
libavcodec/h264.c
libavcodec/h264_mb_template.c
libavcodec/h264addpx_template.c
libavcodec/h264dsp.c
libavcodec/h264dsp.h
libavcodec/h264idct_template.c
libavcodec/h264pred.h
libavcodec/h264pred_template.c
libavcodec/ppc/h264_altivec.c
libavcodec/svq3.c
libavcodec/x86/h264_idct.asm
libavcodec/x86/h264_idct_10bit.asm