On Fri, Apr 24, 2015 at 12:18:10PM +0200, Nedeljko Babic wrote: > From: Djordje Pesut <djordje.pe...@imgtec.com> > > Functions for sqrt and sincos are added. > > Div function is improved. > > Some changes are made in order for code in softfloat to be usable in fixed aac > decoder code. > > This doesn't create any impact on current ffmpeg code since softfloat is > currently not in use and this way we don't need to make much changes in > implementation of aac fixed point decoder that uses this code. > > Softfloat tests are adjusted. > > Signed-off-by: Nedeljko Babic <nedeljko.ba...@imgtec.com> > --- > libavutil/softfloat.c | 6 +- > libavutil/softfloat.h | 157 +++++++++++++++++++++-- > libavutil/softfloat_tables.h | 294 > +++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 447 insertions(+), 10 deletions(-) > create mode 100644 libavutil/softfloat_tables.h > > diff --git a/libavutil/softfloat.c b/libavutil/softfloat.c > index bf9cfda..2583636 100644 > --- a/libavutil/softfloat.c > +++ b/libavutil/softfloat.c > @@ -27,7 +27,7 @@ > #undef printf > > int main(void){ > - SoftFloat one= av_int2sf(1, 0); > + SoftFloat one= av_int2sf(1, -1);
av_int2sf(x,y) is supposed to be x * 2 ^ y "one" is supposed to be 1.0 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB When you are offended at any man's fault, turn to yourself and study your own failings. Then you will forget your anger. -- Epictetus
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel