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

Nedeljko Babic Nedeljko.Babic at imgtec.com
Fri Nov 14 12:39:33 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)

Yeah... I missed this...
Sorry, I'll have a look and fix it.


More information about the ffmpeg-devel mailing list