[FFmpeg-devel] [PATCH] Move H264 dsputil functions into their own struct
Måns Rullgård
mans
Mon Mar 15 23:47:29 CET 2010
Mans Rullgard <mans at mansr.com> writes:
> This moves the H264-specific functions from DSPContext to the new
> H264DSPContext. The code is made conditional on CONFIG_H264DSP
> which is set by the codecs requiring it.
>
> The qpel and chroma MC functions are not moved as these are used by
> non-h264 code.
> ---
> configure | 11 +-
> libavcodec/Makefile | 22 ++-
> libavcodec/arm/dsputil_init_neon.c | 92 ----------
> libavcodec/arm/h264dsp_init_arm.c | 126 ++++++++++++++
> libavcodec/dsputil.c | 288 --------------------------------
> libavcodec/dsputil.h | 33 ----
> libavcodec/h264.c | 31 ++--
> libavcodec/h264.h | 2 +
> libavcodec/h264_loopfilter.c | 20 +-
> libavcodec/h264dsp.c | 320 ++++++++++++++++++++++++++++++++++++
> libavcodec/h264dsp.h | 80 +++++++++
> libavcodec/ppc/h264_altivec.c | 27 ++-
> libavcodec/x86/dsputil_mmx.c | 144 +++++++++--------
> 13 files changed, 669 insertions(+), 527 deletions(-)
> create mode 100644 libavcodec/arm/h264dsp_init_arm.c
> create mode 100644 libavcodec/h264dsp.c
> create mode 100644 libavcodec/h264dsp.h
ping
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list