mbox series

[FFmpeg-devel,v5,0/6] adpcm_ima_apm encoder + apm muxer

Message ID 20200706092347.102557-1-zane@zanevaniperen.com
Headers show
Series adpcm_ima_apm encoder + apm muxer | expand

Message

Zane van Iperen July 6, 2020, 9:24 a.m. UTC
Add support for encoding adpcm_ima_apm and muxing to apm.

v5: [7]
* split out cosmetic changes into their own patch

v4:
* fix rebase issues

v3: [4][5][6]
* Support both extradata formats
  - fixes FATE failure + preserves compatibility
* EINVAL->ERANGE

v2: [1][2][3]
* fix mixed declarations and code
* remove unused variable
* fix array initialisation
* LOG_WARNING->LOG_ERROR
* reorder "name and probe fix"

[1] https://ffmpeg.org/pipermail/ffmpeg-devel/2020-June/264310.html
[2] https://ffmpeg.org/pipermail/ffmpeg-devel/2020-June/264309.html
[3] https://ffmpeg.org/pipermail/ffmpeg-devel/2020-June/264308.html
[4] https://ffmpeg.org/pipermail/ffmpeg-devel/2020-June/264328.html
[5] https://ffmpeg.org/pipermail/ffmpeg-devel/2020-June/264329.html
[6] https://ffmpeg.org/pipermail/ffmpeg-devel/2020-June/264326.html
[7] https://ffmpeg.org/pipermail/ffmpeg-devel/2020-June/265218.html

Zane van Iperen (6):
  avformat/apm: use new extradata format
  avformat/apm: fix variable/structure names and cosmetics
  avcodec: add adpcm_ima_apm encoder
  avformat: add apm muxer
  fate: add adpcm_ima_apm encoding test
  avcodec/adpcmenc: cleanup trellis checks

 Changelog                      |   2 +
 doc/general.texi               |   2 +-
 libavcodec/Makefile            |   1 +
 libavcodec/adpcmenc.c          |  63 ++++++---
 libavcodec/allcodecs.c         |   1 +
 libavcodec/utils.c             |   1 +
 libavcodec/version.h           |   2 +-
 libavformat/Makefile           |   3 +-
 libavformat/allformats.c       |   1 +
 libavformat/apm.c              | 240 ++++++++++++++++++++++++---------
 libavformat/version.h          |   2 +-
 tests/fate/acodec.mak          |   2 +
 tests/ref/acodec/adpcm-ima_apm |   4 +
 13 files changed, 241 insertions(+), 83 deletions(-)
 create mode 100644 tests/ref/acodec/adpcm-ima_apm