[FFmpeg-devel] [PATCH] Separate format conversion DSP functions from DSPContext.

Justin Ruggles justin.ruggles
Fri Jan 28 20:50:16 CET 2011


This will be beneficial for use with the audio conversion API without
requiring it to depend on all of dsputil.
---

Tested on x86-64 and ppc.

 libavcodec/Makefile                 |    1 +
 libavcodec/aac.h                    |    2 +
 libavcodec/aacdec.c                 |    4 +-
 libavcodec/ac3dec.c                 |    5 +-
 libavcodec/ac3dec.h                 |    2 +
 libavcodec/arm/Makefile             |    3 +
 libavcodec/arm/dsputil_init_neon.c  |   10 -
 libavcodec/arm/dsputil_init_vfp.c   |    4 -
 libavcodec/arm/fmtconvert_arm.c     |   53 +++++
 libavcodec/arm/fmtconvert_neon.S    |  391 +++++++++++++++++++++++++++++++++++
 libavcodec/arm/fmtconvert_vfp.S     |   79 +++++++
 libavcodec/binkaudio.c              |    6 +-
 libavcodec/dca.c                    |    7 +-
 libavcodec/dsputil.c                |   33 ---
 libavcodec/dsputil.h                |    5 -
 libavcodec/fmtconvert.c             |   68 ++++++
 libavcodec/fmtconvert.h             |   81 +++++++
 libavcodec/nellymoserdec.c          |    5 +-
 libavcodec/ppc/Makefile             |    1 +
 libavcodec/ppc/float_altivec.c      |  112 ----------
 libavcodec/ppc/fmtconvert_altivec.c |  142 +++++++++++++
 libavcodec/vorbis_dec.c             |    6 +-
 libavcodec/wma.c                    |    1 +
 libavcodec/wma.h                    |    2 +
 libavcodec/wmadec.c                 |    2 +-
 libavcodec/x86/Makefile             |    2 +
 libavcodec/x86/dsputil_mmx.c        |  220 --------------------
 libavcodec/x86/fmtconvert.asm       |   91 ++++++++
 libavcodec/x86/fmtconvert_mmx.c     |  266 ++++++++++++++++++++++++
 29 files changed, 1211 insertions(+), 393 deletions(-)
 create mode 100644 libavcodec/arm/fmtconvert_arm.c
 create mode 100644 libavcodec/arm/fmtconvert_neon.S
 create mode 100644 libavcodec/arm/fmtconvert_vfp.S
 create mode 100644 libavcodec/fmtconvert.c
 create mode 100644 libavcodec/fmtconvert.h
 create mode 100644 libavcodec/ppc/fmtconvert_altivec.c
 create mode 100644 libavcodec/x86/fmtconvert.asm
 create mode 100644 libavcodec/x86/fmtconvert_mmx.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Separate-format-conversion-DSP-functions-from-DSPCon.patch
Type: text/x-patch
Size: 81986 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110128/a0feecc2/attachment.bin>



More information about the ffmpeg-devel mailing list