[FFmpeg-devel] [PATCH 02/15] libavutil: Implementation of AAC_fixed_decoder (LC-module) [2/5]

Michael Niedermayer michaelni at gmx.at
Sat Nov 8 14:50:14 CET 2014


On Fri, Nov 07, 2014 at 04:08:06PM +0100, Nedeljko Babic wrote:
> From: Djordje Pesut <djordje.pesut at imgtec.com>
> 
> Make changes in softfloat.
> 
> 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.
> For example order of fields in structure SoftFloat is changed.
> 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.
> 
> Signed-off-by: Nedeljko Babic <nedeljko.babic at imgtec.com>
> ---
>  libavutil/softfloat.h        | 167 ++++++++++++++++++++----
>  libavutil/softfloat_tables.h | 294 +++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 439 insertions(+), 22 deletions(-)
>  create mode 100644 libavutil/softfloat_tables.h

This breaks softfloat-test

before:
test1 double=10369251
test1 sf    =10369251
test2 double=1660944384
test2 sf    =1660944264 (6 830472132)

after:
test1 double=10369251
test1 sf    =805307153
test2 double=1660944384
test2 sf    =44144701 (-31 706315218)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141108/fe427a6e/attachment.asc>


More information about the ffmpeg-devel mailing list