Re: [FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-10-07 Thread Andreas Rheinhardt
Paul B Mahol: > +typedef struct SpeexBMode { > +int frame_size; /**< Size of frames used for decoding */ > +int subframe_size; /**< Size of sub-frames used for decoding */ > +int lpc_size; /**< Order of LPC filter */ > +float folding_gain; /**< Folding gain */ > +const SpeexSubm

Re: [FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-10-07 Thread Paul B Mahol
will apply soon ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-21 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/Makefile|1 + libavcodec/allcodecs.c |1 + libavcodec/speexdata.h | 780 +++ libavcodec/speexdec.c | 1616 4 files changed, 2398 insertions(+) create mode 100644 libavcodec/speexdata

Re: [FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-21 Thread Michael Niedermayer
On Tue, Sep 21, 2021 at 12:33:40AM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile|1 + > libavcodec/allcodecs.c |1 + > libavcodec/speexdata.h | 780 > libavcodec/speexdec.c | 1584 >

Re: [FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-20 Thread James Almer
On 9/20/2021 7:33 PM, Paul B Mahol wrote: +static int speex_decode_frame(AVCodecContext *avctx, void *data, + int *got_frame_ptr, AVPacket *avpkt) +{ +SpeexContext *s = avctx->priv_data; +AVFrame *frame = data; +const float scale = 1.f / 32768.f; +int

[FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-20 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/Makefile|1 + libavcodec/allcodecs.c |1 + libavcodec/speexdata.h | 780 libavcodec/speexdec.c | 1584 4 files changed, 2366 insertions(+) create mode 100644 libavcodec/speexdat

Re: [FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-20 Thread Anton Khirnov
Quoting Paul B Mahol (2021-09-19 12:01:06) > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile|1 + > libavcodec/allcodecs.c |1 + > libavcodec/speexdata.h | 764 > libavcodec/speexdec.c | 1538 > tests/ref/fate/sou

Re: [FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-19 Thread Michael Niedermayer
On Sun, Sep 19, 2021 at 12:01:06PM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile|1 + > libavcodec/allcodecs.c |1 + > libavcodec/speexdata.h | 764 > libavcodec/speexdec.c | 1538 >

Re: [FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-19 Thread Lynne
19 Sept 2021, 14:02 by d...@lynne.ee: > 19 Sept 2021, 12:01 by one...@gmail.com: > >> Signed-off-by: Paul B Mahol >> --- >> libavcodec/Makefile|1 + >> libavcodec/allcodecs.c |1 + >> libavcodec/speexdata.h | 764 >> libavcodec/speexdec.c | 1538 +++

Re: [FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-19 Thread Lynne
19 Sept 2021, 12:01 by one...@gmail.com: > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile|1 + > libavcodec/allcodecs.c |1 + > libavcodec/speexdata.h | 764 > libavcodec/speexdec.c | 1538 > tests/ref/fate/sour

[FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-19 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/Makefile|1 + libavcodec/allcodecs.c |1 + libavcodec/speexdata.h | 764 libavcodec/speexdec.c | 1538 tests/ref/fate/source |2 + 5 files changed, 2306 insertions(+) creat

Re: [FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-17 Thread James Almer
On 9/17/2021 5:54 PM, Paul B Mahol wrote: +static int speex_decode_frame(AVCodecContext *avctx, void *data, + int *got_frame_ptr, AVPacket *avpkt) +{ +SpeexContext *s = avctx->priv_data; +AVFrame *frame = data; +float *dst; +int ret; + +if ((ret =

[FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-17 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/Makefile|1 + libavcodec/allcodecs.c |1 + libavcodec/speexdata.h | 764 libavcodec/speexdec.c | 1540 4 files changed, 2306 insertions(+) create mode 100644 libavcodec/speexdat