[FFmpeg-devel] [PATCH 1/3] sbc: implement SBC codec (low-complexity subband codec)

James Almer jamrial at gmail.com
Mon Nov 6 17:53:38 EET 2017


On 11/5/2017 8:35 PM, Aurelien Jacobs wrote:
> This was originally based on libsbc, and was fully integrated into ffmpeg.
> ---
>  doc/general.texi                 |   2 +
>  libavcodec/Makefile              |   4 +
>  libavcodec/allcodecs.c           |   2 +
>  libavcodec/arm/Makefile          |   3 +
>  libavcodec/arm/sbcdsp_armv6.S    | 245 ++++++++++++++
>  libavcodec/arm/sbcdsp_init_arm.c | 105 ++++++
>  libavcodec/arm/sbcdsp_neon.S     | 714 +++++++++++++++++++++++++++++++++++++++
>  libavcodec/avcodec.h             |   2 +
>  libavcodec/codec_desc.c          |  12 +
>  libavcodec/sbc.c                 | 316 +++++++++++++++++
>  libavcodec/sbc.h                 | 121 +++++++
>  libavcodec/sbcdec.c              | 469 +++++++++++++++++++++++++
>  libavcodec/sbcdec_data.c         | 127 +++++++
>  libavcodec/sbcdec_data.h         |  44 +++
>  libavcodec/sbcdsp.c              | 569 +++++++++++++++++++++++++++++++
>  libavcodec/sbcdsp.h              |  86 +++++
>  libavcodec/sbcdsp_data.c         | 335 ++++++++++++++++++
>  libavcodec/sbcdsp_data.h         |  57 ++++
>  libavcodec/sbcenc.c              | 461 +++++++++++++++++++++++++
>  libavcodec/x86/Makefile          |   2 +
>  libavcodec/x86/sbcdsp.asm        | 290 ++++++++++++++++
>  libavcodec/x86/sbcdsp_init.c     |  51 +++
>  22 files changed, 4017 insertions(+)
>  create mode 100644 libavcodec/arm/sbcdsp_armv6.S
>  create mode 100644 libavcodec/arm/sbcdsp_init_arm.c
>  create mode 100644 libavcodec/arm/sbcdsp_neon.S
>  create mode 100644 libavcodec/sbc.c
>  create mode 100644 libavcodec/sbc.h
>  create mode 100644 libavcodec/sbcdec.c
>  create mode 100644 libavcodec/sbcdec_data.c
>  create mode 100644 libavcodec/sbcdec_data.h
>  create mode 100644 libavcodec/sbcdsp.c
>  create mode 100644 libavcodec/sbcdsp.h
>  create mode 100644 libavcodec/sbcdsp_data.c
>  create mode 100644 libavcodec/sbcdsp_data.h
>  create mode 100644 libavcodec/sbcenc.c
>  create mode 100644 libavcodec/x86/sbcdsp.asm
>  create mode 100644 libavcodec/x86/sbcdsp_init.c

This needs to be split into at least four patches.
One to add the decoder (plus codec ID, descriptor and such things), one
to add the encoder (and the dsp framework), one to add the x86 assembly
optimizations for the encoder, and one for the arm optimizations.


More information about the ffmpeg-devel mailing list