[FFmpeg-devel] Float vs. fixed-point audio codecs

Måns Rullgård mans
Tue May 18 21:08:25 CEST 2010


Michael Niedermayer <michaelni at gmx.at> writes:

> On Mon, May 17, 2010 at 09:57:25AM -0400, Ronald S. Bultje wrote:
>> Hi,
>> 
>> On Mon, May 17, 2010 at 9:52 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
>> > 3 AVCodecs
>> > mp3
>> > mp3float
>> > mp3fixp
>> >
>> > can very easily achive this, mp3 would just pass calls through to whatever
>> > it determined to be faster.
>> > no flag is needed for this, also it can easily be extended to handle external
>> > decoders
>> 
>> I think this is a good idea, also because speed will differ per codec.
>> Usually it's not as simple as "float" vs. "fixp".
>
> any objections from anyone?
> note, this can be used together with some cpuflag set at runtime that
> indicates fpu speed, though iam suspecting later being overkill.
>
> if no objections, do we have a volunteer to implement this?

Is a static build-time default acceptable?  How about adding a
HAVE_FAST_FLOAT setting and choosing based on that?

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list