Re: [FFmpeg-devel] [PATCH 1/6] ac3enc_fixed: convert to 32-bit sample format

2021-01-12 Thread Lynne
Jan 12, 2021, 08:59 by andreas.rheinha...@gmail.com: > Lynne: > >> The AC3 encoder used to be a separate library called "Aften", which >> got merged into libavcodec (literally, SVN commits and all). >> The merge preserved as much features from the library as possible. >> >> The code had two versio

Re: [FFmpeg-devel] [PATCH 1/6] ac3enc_fixed: convert to 32-bit sample format

2021-01-12 Thread Lynne
Jan 12, 2021, 08:48 by andreas.rheinha...@gmail.com: > Lynne: > >> Jan 9, 2021, 22:01 by andreas.rheinha...@gmail.com: >> >>> Lynne: >>> @@ -165,7 +164,11 @@ typedef struct AC3EncodeContext { AVCodecContext *avctx; ///< parent AVCodecContext PutBitContext pb;

Re: [FFmpeg-devel] [PATCH 1/6] ac3enc_fixed: convert to 32-bit sample format

2021-01-12 Thread Andreas Rheinhardt
Lynne: > The AC3 encoder used to be a separate library called "Aften", which > got merged into libavcodec (literally, SVN commits and all). > The merge preserved as much features from the library as possible. > > The code had two versions - a fixed point version and a floating > point version. FFm

Re: [FFmpeg-devel] [PATCH 1/6] ac3enc_fixed: convert to 32-bit sample format

2021-01-11 Thread Andreas Rheinhardt
Lynne: > Jan 9, 2021, 22:01 by andreas.rheinha...@gmail.com: > >> Lynne: >> >>> @@ -165,7 +164,11 @@ typedef struct AC3EncodeContext { >>> AVCodecContext *avctx; ///< parent AVCodecContext >>> PutBitContext pb; ///< bitstream writer context >>> AudioDSPCon

Re: [FFmpeg-devel] [PATCH 1/6] ac3enc_fixed: convert to 32-bit sample format

2021-01-11 Thread Lynne
Jan 9, 2021, 22:01 by andreas.rheinha...@gmail.com: > Lynne: > >> @@ -165,7 +164,11 @@ typedef struct AC3EncodeContext { >> AVCodecContext *avctx; ///< parent AVCodecContext >> PutBitContext pb; ///< bitstream writer context >> AudioDSPContext adsp; >> +#i

Re: [FFmpeg-devel] [PATCH 1/6] ac3enc_fixed: convert to 32-bit sample format

2021-01-09 Thread Andreas Rheinhardt
Lynne: > @@ -165,7 +164,11 @@ typedef struct AC3EncodeContext { > AVCodecContext *avctx; ///< parent AVCodecContext > PutBitContext pb; ///< bitstream writer context > AudioDSPContext adsp; > +#if AC3ENC_FLOAT > AVFloatDSPContext *fdsp; > +

[FFmpeg-devel] [PATCH 1/6] ac3enc_fixed: convert to 32-bit sample format

2021-01-09 Thread Lynne
The AC3 encoder used to be a separate library called "Aften", which got merged into libavcodec (literally, SVN commits and all). The merge preserved as much features from the library as possible. The code had two versions - a fixed point version and a floating point version. FFmpeg had floating po