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

Alex Converse alex.converse
Sun Jan 30 03:14:37 CET 2011


On Fri, Jan 28, 2011 at 11:50 AM, Justin Ruggles
<justin.ruggles at gmail.com> wrote:
>
> 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
>

LGTM.

Untangling dsputil is always welcome.



More information about the ffmpeg-devel mailing list