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

Luca Barbato lu_zero
Tue Jan 11 23:31:07 CET 2011


On 01/11/2011 10:57 PM, Michael Niedermayer wrote:
> What we need is this darn resample code in libavfilter because some filters
> need it. Until it is moved there or in a dependancy of libavfilter,
> work cannot continue in the related filters. <- This is a problem and VERY bad

That explains a bit.

> It does not belong in libavcore unless there is a need for this code from a
> second library
> libavresample is a great idea but we do NOT have a qualified volunteer to
> write this besides its a long term plan. moving code != writing libavresample

Moving code is a step in that direction, if you want...

> grand audio plan
> phase 1: unblock the libavfilter audio work, copy code in there, deprecate in
>          libavcodec, eventualy remove from libavcodec (i said this months ago)
> phase 2: design libavresample API
> phase 3: implement libavresample API
> phase 4: update filters to use libavresample

Ok, we have a project for this summer of code, that means that:

phase 1: copy code there, make it private for libavfilter.
> phase 2: design libavresample API
> phase 3: implement libavresample API
> phase 4: update filters to use libavresample
  phase 4b: update libavcodec to use libavresample

> I dont know what you talk about but iam currently working on fixing avfilter
> vf_pad and would prefer to contiue to fix whatever else is buggy there instead
> of arguing about this

I think the quickest route in this regard is take the bits needed and
keep them private.

Users won't notice that out of that we spawn libavresample on later time
if they don't need it.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list