mbox series

[FFmpeg-devel,0/2] Simon & Schuster Interactive VAG demuxer + decoder.

Message ID 20200201041220.9571-1-zane@zanevaniperen.com
Headers show
Series Simon & Schuster Interactive VAG demuxer + decoder. | expand

Message

Zane van Iperen Feb. 1, 2020, 4:12 a.m. UTC
Hi all,

This patchset adds support for the VAG container and ADPCM variant used
by some Simon & Schuster Interactive games such as 'Real War',
and 'Real War: Rogue States'.

It has been tested against VAG files from both games.

Some things to note:
* SSI's VAG has no relation to the existing PS2 VAG.
  I've named it 'kvag' (after its tag), but am open to suggestions if this
  is inappropriate (ssi_vag?).
* The ROUNDED_DIV() call causes a (harmless) warning when called with
  unsigned arguments. I'm not sure of the policy for situations like this.

Zane


Zane van Iperen (2):
  avcodec: add decoder for Simon & Schuster Interactive's ADPCM variant
  avformat: add demuxer for Simon & Schuster Interactive's VAG format

 libavcodec/Makefile      |   1 +
 libavcodec/adpcm.c       |  10 +++
 libavcodec/allcodecs.c   |   1 +
 libavcodec/avcodec.h     |   1 +
 libavcodec/codec_desc.c  |   7 ++
 libavcodec/version.h     |   2 +-
 libavformat/Makefile     |   1 +
 libavformat/allformats.c |   1 +
 libavformat/kvag.c       | 149 +++++++++++++++++++++++++++++++++++++++
 libavformat/version.h    |   2 +-
 10 files changed, 173 insertions(+), 2 deletions(-)
 create mode 100644 libavformat/kvag.c