Re: [FFmpeg-devel] [PATCH v5 3/3] avcodec/adpcm: Fixes output from Westwood ADPCM.

2021-04-26 Thread Aidan R
From: ffmpeg-devel on behalf of Zane van Iperen Sent: 26 April 2021 01:46 To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH v5 3/3] avcodec/adpcm: Fixes output from Westwood ADPCM. On 26/4/21 6:00 am, Aidan Richmond wrote: Patch 1/3: lgtm Patch 2/3: > +static int

Re: [FFmpeg-devel] [PATCH v2 1/2] avcodec/adpcmenc: Adds encoder for Westwood ADPCM.

2021-04-24 Thread Aidan R
> +case AV_CODEC_ID_ADPCM_IMA_WS: > +{ > +PutBitContext pb; > +init_put_bits(, dst, pkt_size); > + > +av_assert0(avctx->trellis == 0); > +for (n = frame->nb_samples / 2; n > 0; n--) { > +/* stereo: 1 byte (2 samples) for left, 1 byte for right */

Re: [FFmpeg-devel] [PATCH v2] avformat/westwood_aud: Adds PCM format demux.

2019-03-20 Thread Aidan R
From: ffmpeg-devel on behalf of Michael Niedermayer Sent: 20 March 2019 19:08 To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH v2] avformat/westwood_aud: Adds PCM format demux. > fails probetest: > > > tools/probetest 256 4096 > testing size=1 > testing

Re: [FFmpeg-devel] [PATCH v2] avformat/westwood_aud: Adds PCM format demux.

2019-03-20 Thread Aidan R
tis 2019-03-19 klockan 22:53 + skrev Aidan R: > @@ -69,13 +75,25 @@ static int wsaud_probe(AVProbeData *p) >> if (p->buf[10] & 0xFC) >> return 0; >> >> -if (p->buf[11] != 99 && p->buf[11] != 1) >> +/* valid

[FFmpeg-devel] [PATCH v2] avformat/westwood_aud: Adds PCM format demux.

2019-03-19 Thread Aidan R
PCM format AUD files are found in Westwood's Blade Runner game. --- libavformat/westwood_aud.c | 83 -- 1 file changed, 66 insertions(+), 17 deletions(-) diff --git a/libavformat/westwood_aud.c b/libavformat/westwood_aud.c index 9c2d35cb8a..b25d299bf0

[FFmpeg-devel] [PATCH] avformat/westwood_aud: Adds PCM format demux.

2019-02-27 Thread Aidan R
PCM format AUD files are found in Westwood's Blade Runner game. --- libavformat/westwood_aud.c | 80 -- 1 file changed, 63 insertions(+), 17 deletions(-) diff --git a/libavformat/westwood_aud.c b/libavformat/westwood_aud.c index 9c2d35cb8a..5d7e827bc1