[FFmpeg-devel] [PATCH v2 00/16] Replace native DCA decoder with libdcadec based one

foo86 foobaz86 at gmail.com
Thu Jan 21 19:44:06 CET 2016


Updated version of the patch. I choose to split it into even smaller commits to
make reviewing easier; you may prefer to squash it as needed.

Changes since the first version:

* Removed checkasm test for dcadsp
* Removed FATE test for dca-xll (didn't check if this works)
* Core decoder now uses butterflies_fixed() for sumdiff decoding
* avpriv_request_sample() is now used for reporting missing features
* Core decoder now stays in fixed point mode during intermittent XLL decoding errors
* X96 extension is no longer parsed (and left unused) when decoding XLL
* Minor code refactoring

foo86 (16):
  avcodec/dca: remove old decoder
  avcodec/dca: remove unused assembly
  avcodec/dca: remove unused data
  tests/fate/audio: remove dca-xll test
  tests/checkasm: remove dcadsp test
  avcodec/dca: add REV1AUX sync word
  avcodec/dca: add more tables
  avcodec/dca: add math helpers and fixed point DCT
  avcodec/synth_filter: fix whitespace
  avcodec/synth_filter: add more filters
  avcodec/dca: add DSP implementation
  avcodec/dca: add generic defines
  avcodec/dca: add core decoder
  avcodec/dca: add EXSS parser
  avcodec/dca: add XLL decoder
  avcodec/dca: add new decoder based on libdcadec

 configure                        |    2 +-
 libavcodec/Makefile              |    6 +-
 libavcodec/aarch64/Makefile      |    3 +-
 libavcodec/aarch64/dcadsp_init.c |   15 +-
 libavcodec/aarch64/dcadsp_neon.S |  109 --
 libavcodec/arm/Makefile          |    6 +-
 libavcodec/arm/dca.h             |    1 -
 libavcodec/arm/dcadsp_init_arm.c |   30 +-
 libavcodec/arm/dcadsp_neon.S     |   64 -
 libavcodec/arm/dcadsp_vfp.S      |  476 -------
 libavcodec/dca.h                 |  367 ++----
 libavcodec/dca_core.c            | 2602 ++++++++++++++++++++++++++++++++++++++
 libavcodec/dca_core.h            |  206 +++
 libavcodec/dca_exss.c            |  687 ++++++----
 libavcodec/dca_exss.h            |   92 ++
 libavcodec/dca_syncwords.h       |    1 +
 libavcodec/dca_xll.c             | 2040 ++++++++++++++++++++----------
 libavcodec/dca_xll.h             |  149 +++
 libavcodec/dcadata.c             |  936 +++++++++-----
 libavcodec/dcadata.h             |   30 +-
 libavcodec/dcadct.c              |  362 ++++++
 libavcodec/dcadct.h              |   32 +
 libavcodec/dcadec.c              | 2192 ++++----------------------------
 libavcodec/dcadec.h              |   80 ++
 libavcodec/dcadsp.c              |  435 +++++--
 libavcodec/dcadsp.h              |   86 +-
 libavcodec/dcamath.h             |   38 +-
 libavcodec/synth_filter.c        |  161 ++-
 libavcodec/synth_filter.h        |   13 +
 libavcodec/x86/dcadsp.asm        |   99 --
 libavcodec/x86/dcadsp_init.c     |   21 +-
 tests/checkasm/Makefile          |    2 +-
 tests/checkasm/checkasm.c        |    1 -
 tests/checkasm/checkasm.h        |    1 -
 tests/checkasm/dcadsp.c          |   92 --
 tests/fate/audio.mak             |    5 -
 36 files changed, 6938 insertions(+), 4504 deletions(-)
 delete mode 100644 libavcodec/aarch64/dcadsp_neon.S
 delete mode 100644 libavcodec/arm/dcadsp_neon.S
 delete mode 100644 libavcodec/arm/dcadsp_vfp.S
 create mode 100644 libavcodec/dca_core.c
 create mode 100644 libavcodec/dca_core.h
 create mode 100644 libavcodec/dca_exss.h
 create mode 100644 libavcodec/dca_xll.h
 create mode 100644 libavcodec/dcadct.c
 create mode 100644 libavcodec/dcadct.h
 create mode 100644 libavcodec/dcadec.h
 delete mode 100644 tests/checkasm/dcadsp.c

-- 
2.1.4



More information about the ffmpeg-devel mailing list