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

Måns Rullgård mans
Sat May 15 13:01:59 CEST 2010


Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:

> On Fri, May 14, 2010 at 07:00:58PM +0100, M?ns Rullg?rd wrote:
>> avcodec_alloc_context() and friends would set the flag to its default
>> as determined at build time.  The user could then set or clear it as
>> desired before calling avcodec_open().  From the command line this
>> would be done with "-flags +float" or "-flags -float".
>
> Ok, that would of course not allow for codec-dependant settings
> (which is where the SIMD case makes a difference).

Hmm, yes... there'd be no way of telling a default setting from a
user-supplied one.  I guess we need two flags then.  And ignore both
if the user sets both?

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



More information about the ffmpeg-devel mailing list