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

Justin Ruggles justin.ruggles
Fri Jan 7 17:20:31 CET 2011


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?

-Justin



More information about the ffmpeg-devel mailing list