[FFmpeg-devel] [PATCH 1/3] adpcm_thp: Use packet side data for coeff table and previous sample
Paul B Mahol
onemda at gmail.com
Fri May 3 11:56:36 CEST 2013
On 4/22/13, James Almer <jamrial at gmail.com> wrote:
> There are several containers that support adpcm_thp (Also known as Gamecube
> DSP)
> streams, but only thp files contain the coeff table and previous sample
> inside
> each frame.
> Some don't even contain previous sample information at all.
>
> This change will make it easier to implement demuxers for said containers
> without having to create a new decoder.
>
> The BRSTM fate test is updated because the contents of each frame are
> changed
> and the test makes a crc check of said frames instead of the decoded
> samples.
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> libavcodec/adpcm.c | 32 +++++++++++++++++++-------------
> libavformat/brstm.c | 10 +++++-----
> libavformat/thp.c | 15 ++++++++++++---
> tests/ref/fate/brstm | 2 +-
> 4 files changed, 37 insertions(+), 22 deletions(-)
>
probably ok
More information about the ffmpeg-devel
mailing list