[FFmpeg-devel] [PATCH] Move audioconvert API from libavcodec to libavcore.

Michael Niedermayer michaelni
Fri Jan 7 19:17:18 CET 2011


On Fri, Jan 07, 2011 at 11:20:31AM -0500, Justin Ruggles wrote:
> On 11/20/2010 01:32 PM, Stefano Sabatini wrote:
> 
> > On date Saturday 2010-11-20 19:17:11 +0100, Stefano Sabatini encoded:
> >> ---
> >>  libavcodec/audioconvert.c |   74 ++++-----------------------------------
> >>  libavcodec/audioconvert.h |    8 ++++
> >>  libavcore/audioconvert.c  |   85 +++++++++++++++++++++++++++++++++++++++++++++
> >>  libavcore/audioconvert.h  |   39 ++++++++++++++++++++
> >>  4 files changed, 140 insertions(+), 66 deletions(-)
> > 
> > Updated with a fix.
> > 
> > I wonder if we should make AVAudioConvertContext an AVClass context
> > (this would be useful e.g. for logging).
> 
> 
> Related to this move, what would be a good way to move DSPContext
> functions (float_to_int16(), etc..) to libavcore so they could be used
> both by libavcodec and by audioconvert?  I guess we could add something
> similar to DSPContext but make it public?  AVCoreDSPUtilContext?

yes seems to be the sanest solution

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110107/2011a1d1/attachment.pgp>



More information about the ffmpeg-devel mailing list