View Single Post
Old 29th September 2010, 11:16   #12572  |  Link
Reimar
Registered User
 
Join Date: Jun 2005
Posts: 278
Quote:
Originally Posted by madshi View Post
Adding scale/bias options sounds like a useful idea if you really need to squeeze out the last bit of performance on very slow hardware. But scale/bias options would also be useful if the decoders keep on outputting int16. So I don't think that changing the output data format and adding scale/bias options are (or have to be) connected in any way.
Let me try to make this more clear: scale/bias is _required_ to avoid a (on some hardware massive, IIRC > 50%) performance regression for the float->int16 conversion if the decoders output native float.
That is very unlikely to be accepted by FFmpeg developers.
Selectable codec output format (either at run- or compiletime) might be accepted, but it is not an ideal solution (more a quick hack) and is likely to be treated as such during review.
Reimar is offline   Reply With Quote