Re: [FFmpeg-devel] [PATCH 3/3] libavutil/softfloat: Add functions.

2015-07-27 Thread Michael Niedermayer
On Mon, Jul 27, 2015 at 01:36:42PM +, Nedeljko Babic wrote: > >> +/** > >> + * Rounding-to-nearest used. > >> + */ > >> +static av_always_inline void av_sincos_sf(int a, int *s, int *c) > > > >this function seems to be buggy > >the sine values are very accurate but the cosine values are not > >

Re: [FFmpeg-devel] [PATCH 3/3] libavutil/softfloat: Add functions.

2015-07-27 Thread Nedeljko Babic
>> +/** >> + * Rounding-to-nearest used. >> + */ >> +static av_always_inline void av_sincos_sf(int a, int *s, int *c) > >this function seems to be buggy >the sine values are very accurate but the cosine values are not > >look: (tested with libavutil/softfloat-test and tightened up thresholds) Coul

Re: [FFmpeg-devel] [PATCH 3/3] libavutil/softfloat: Add functions.

2015-07-25 Thread Michael Niedermayer
On Thu, Apr 30, 2015 at 01:51:37PM +0200, Nedeljko Babic wrote: > Functions av_gt_sf, av_sqrt_sf and av_sincos_sf added to softfloat > > Signed-off-by: Nedeljko Babic > --- > libavutil/softfloat.h| 93 +++- > libavutil/softfloat_tables.h | 260 >

Re: [FFmpeg-devel] [PATCH 3/3] libavutil/softfloat: Add functions.

2015-04-30 Thread Michael Niedermayer
On Thu, Apr 30, 2015 at 01:51:37PM +0200, Nedeljko Babic wrote: > Functions av_gt_sf, av_sqrt_sf and av_sincos_sf added to softfloat > > Signed-off-by: Nedeljko Babic > --- > libavutil/softfloat.h| 93 +++- > libavutil/softfloat_tables.h | 260 >

[FFmpeg-devel] [PATCH 3/3] libavutil/softfloat: Add functions.

2015-04-30 Thread Nedeljko Babic
Functions av_gt_sf, av_sqrt_sf and av_sincos_sf added to softfloat Signed-off-by: Nedeljko Babic --- libavutil/softfloat.h| 93 +++- libavutil/softfloat_tables.h | 260 +++ 2 files changed, 352 insertions(+), 1 deletion(-) create mode