Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 decoder.
authorOskar Arvidsson <oskar@irock.se>
Tue, 29 Mar 2011 15:48:59 +0000 (17:48 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Apr 2011 20:33:42 +0000 (22:33 +0200)
commit8dbe5856410ee10ac4a9368105149efdacfac994
tree6f332567746e6ef0bf33be492911263192153984
parentd268bed209828923b891aeab7979d7ef14a730b2
Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 decoder.

This patch lets e.g. dsputil_init chose dsp functions with respect to
the bit depth to decode. The naming scheme of bit depth dependent
functions is <base name>_<bit depth>[_<prefix>] (i.e. the old
clear_blocks_c is now named clear_blocks_8_c).

Note: Some of the functions for high bit depth is not dependent on the
bit depth, but only on the pixel size. This leaves some room for
optimizing binary size.

Preparatory patch for high bit depth h264 decoding support.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
34 files changed:
libavcodec/alpha/dsputil_alpha.c
libavcodec/arm/dsputil_init_arm.c
libavcodec/arm/dsputil_init_armv6.c
libavcodec/arm/dsputil_init_neon.c
libavcodec/arm/dsputil_iwmmxt.c
libavcodec/arm/h264dsp_init_arm.c
libavcodec/arm/h264pred_init_arm.c
libavcodec/bfin/dsputil_bfin.c
libavcodec/dsputil.c
libavcodec/dsputil.h
libavcodec/dsputil_internal.h
libavcodec/h264.c
libavcodec/h264_high_depth.h [new file with mode: 0644]
libavcodec/h264dsp.c
libavcodec/h264dsp.h
libavcodec/h264dsp_internal.h
libavcodec/h264idct.c
libavcodec/h264idct_internal.h
libavcodec/h264pred.c
libavcodec/h264pred.h
libavcodec/h264pred_internal.h
libavcodec/mlib/dsputil_mlib.c
libavcodec/ppc/dsputil_altivec.c
libavcodec/ppc/dsputil_ppc.c
libavcodec/ppc/h264_altivec.c
libavcodec/ps2/dsputil_mmi.c
libavcodec/rv34.c
libavcodec/sh4/dsputil_align.c
libavcodec/sh4/dsputil_sh4.c
libavcodec/sparc/dsputil_vis.c
libavcodec/vp8.c
libavcodec/x86/dsputil_mmx.c
libavcodec/x86/h264_intrapred_init.c
libavcodec/x86/h264dsp_mmx.c