Re: [FFmpeg-devel] [PATCH] lavu/libm: add exp10 support

2015-12-23 Thread Ganesh Ajjanagadde
On Tue, Dec 22, 2015 at 4:31 PM, Ganesh Ajjanagadde wrote: > On Tue, Dec 22, 2015 at 4:17 PM, Hendrik Leppkes wrote: >> On Wed, Dec 23, 2015 at 12:29 AM, Ganesh Ajjanagadde >> wrote: >>> exp10 is a function available in GNU libm. Looks like no other common >>> libm has it. This adds support for

Re: [FFmpeg-devel] [PATCH] lavu/libm: add exp10 support

2015-12-22 Thread Ganesh Ajjanagadde
On Tue, Dec 22, 2015 at 4:17 PM, Hendrik Leppkes wrote: > On Wed, Dec 23, 2015 at 12:29 AM, Ganesh Ajjanagadde > wrote: >> exp10 is a function available in GNU libm. Looks like no other common >> libm has it. This adds support for it to FFmpeg. >> >> There are essentially 2 ways of handling the f

Re: [FFmpeg-devel] [PATCH] lavu/libm: add exp10 support

2015-12-22 Thread Hendrik Leppkes
On Wed, Dec 23, 2015 at 12:29 AM, Ganesh Ajjanagadde wrote: > exp10 is a function available in GNU libm. Looks like no other common > libm has it. This adds support for it to FFmpeg. > > There are essentially 2 ways of handling the fallback: > 1. Using pow(10, x) > 2. Using exp2(M_LOG2_10 * x). >

[FFmpeg-devel] [PATCH] lavu/libm: add exp10 support

2015-12-22 Thread Ganesh Ajjanagadde
exp10 is a function available in GNU libm. Looks like no other common libm has it. This adds support for it to FFmpeg. There are essentially 2 ways of handling the fallback: 1. Using pow(10, x) 2. Using exp2(M_LOG2_10 * x). First one represents a Pareto improvement, with no speed or accuracy regr