[FFmpeg-devel] [PATCH 0/7] Replace native DCA decoder with libdcadec based one

James Almer jamrial at gmail.com
Fri Jan 15 06:12:38 CET 2016


On 1/14/2016 9:59 PM, Andreas Cadhalpun wrote:
> On 14.01.2016 17:25, foo86 wrote:
>> Full diff output has been omitted for deleted files. If git complains about
>> applying the first patch, this can be also pulled from dca-replace branch at
>> [1].
> 
> I'd prefer if you would post full patches here, i.e. including deleted files.

For future, smaller patches if anything. Doing so here would mean thousands of
extra lines for no reason or benefit. And i remember there being a problem with
git send-email regarding huge emails.

> 
> That aside, the new decoder seems fine from a security point of view, with
> only some rare overflows in the dsp functions left.
> 
> However, this series breaks FATE.
> The fate-dca-xll test should probably be disabled, as the reference was created
> with the old, not bitexact decoder. (It currently fails due to the disable_xll
> option being gone, but fixing that reveals the changed output.)
> 
> The checkasm test needs to be updated:

Removed, actually. The new lfe_fir dsp functions don't yet have arch optimized
versions, so even if you adapt this code now it will not be really tested and
reported as part of the checkasm output since there's nothing to compare the C
version with.
It can be readded and adapted once said arch optimized functions are written.

> $ make fate-checkasm
> CC	tests/checkasm/dcadsp.o
> In file included from tests/checkasm/dcadsp.c:31:0:
> tests/checkasm/dcadsp.c: In function ‘checkasm_check_dcadsp’:
> tests/checkasm/dcadsp.c:85:21: error: ‘DCADSPContext {aka struct DCADSPContext}’ has no member named ‘lfe_fir’
>      if (check_func(c.lfe_fir[0], "dca_lfe_fir0"))
>                      ^
> tests/checkasm/checkasm.h:71:75: note: in definition of macro ‘check_func’
>  #define check_func(func, ...) (func_ref = checkasm_check_func((func_new = func), __VA_ARGS__))
>                                                                            ^
> tests/checkasm/dcadsp.c:88:21: error: ‘DCADSPContext {aka struct DCADSPContext}’ has no member named ‘lfe_fir’
>      if (check_func(c.lfe_fir[1], "dca_lfe_fir1"))
>                      ^
> tests/checkasm/checkasm.h:71:75: note: in definition of macro ‘check_func’
>  #define check_func(func, ...) (func_ref = checkasm_check_func((func_new = func), __VA_ARGS__))
>                                                                            ^
> common.mak:60: recipe for target 'tests/checkasm/dcadsp.o' failed
> make: *** [tests/checkasm/dcadsp.o] Error 1
> 
> Best regards,
> Andreas
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 



More information about the ffmpeg-devel mailing list