Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-23avcodec/jpeg2000dwt: Replace /2 by >>1Michael Niedermayer
Divisions can be slow if the compiler fails to replace them by shifts Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-23avcodec/jpeg2000dwt: Move large arrays used in the test code away from the stackMichael Niedermayer
This should avoid problems on systems with little stack space and fix some crashes in fate crash found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-23avcodec/jpeg2000dwt: Print 1 digit less in the 9/7f DWT testMichael Niedermayer
This avoids test failure due to differing rounding between 32 and 64bit x86 Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-23avcodec/jpeg2000dwt: Use a tighter check threshold for the 9/7f DWT testMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-22avcodec/jpeg2000: Move L band scaling from the 9/7f wavelet to quantization ↵Michael Niedermayer
stage This reduces the number of operations Its not done for 9/7i as that would overflow thanks to JPEG2000 allowing 32 decomposition levels Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-22avcodec/jpeg2000dwt: use 32x32->64 multiplies in the 9/7i DWTMichael Niedermayer
This significantly improves the quality when the integer 9/7 transform is used Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-22avcodec/jpeg2000: Move H band scaling from wavelet into quantization codeMichael Niedermayer
This reduces the number of operations done and is equivalent except for rounding Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-22avcodec/jpeg2000dwt: Move K/X constants to headerMichael Niedermayer
this makes them accessible by the rest of the jpeg2000 code Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-22avcodec/jpeg2000: Move gainb handling into the quantization codeMichael Niedermayer
thats how the specification defines it, this also improves numerical accuracy of the integer wavelet implementation. It otherwise should be equivalent, in case of overflows this can be reverted. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-21avcodec/jpeg2000dwt: Fix value of F_LFTG_X and I_LFTG_XMichael Niedermayer
Even if the jpeg2000 spec uses a wrong value this does not make mathematics work this way, also this has been corrected in the 2004 version AFAIK Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-21avcodec/jpeg2000dwt: also test 9/7 float DWTMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-21avcodec/jpeg2000dwt: List differences for DWT testMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-21avcodec/jpeg2000dwt: increase the number of test iterationsMichael Niedermayer
the code had too little coverage Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-21avcodec/jpeg2000dwt: Also test 9/7 integer DWTMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-21avcodec/jpeg2000dwt: Allow testing with a maximum allowed differenceMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-20avcodec/jpeg2000dwt: Fill array using 2d instead of 1d accessesMichael Niedermayer
Avoids gcc warning Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-20avcodec/jpeg2000dwt: Factor dwt test code out so it can be easily used with ↵Michael Niedermayer
the other dwts too Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-20avcodec/jpeg2000dwt: Fix special cases in sd_1d53()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-20avcodec/jpeg2000dwt: add test for the 5/3 waveletMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-20avcodec/jpeg2000dwt: Fix order of operations in integer decomposition waveletsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-17avcodec/jpeg2000dwt: Support 9/7 singularity cases on the encoder sideMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-17avcodec/jpeg2000dwt: More special cases to handle singularities in 9/7 decodeMichael Niedermayer
Fixes Ticket4634 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-17avcodec/jpeg2000dwt: assert that mod == 0 for encodingMichael Niedermayer
We are missing the handling of some special cases for this. These cases should be unused and there should be no reason to ever use them unless some spec dictates their use Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-16avcodec/jpeg2000dwt: Fix 9/7 IDWT for small sizesMichael Niedermayer
Fixes Ticket4631 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-16avcodec/jpeg2000dwt: add special cases for handling length 1 in 5/3 decodeMichael Niedermayer
Fixes Ticket4630 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-23avcodec/jpeg2000dwt: use av_malloc_array()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-03avcodec/jpeg2000dwt: merge rescaling with interleave in 9/7 int IDWTMichael Niedermayer
Tha fate tests change because the edge mirroring was wrong before this commit Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-03avcodec/jpeg2000dwt: merge rescaling with interleave in 9/7 float IDWTMichael Niedermayer
10% faster Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-28jpeg2000dwt: add float based 9/7 dwtMichael Niedermayer
Untested as theres no code yet using it in the encoder. Code based on mixed float/int dwt Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-28jpeg2000dwt: remove floats from mixed float/int 9/7 dwtMichael Niedermayer
This should fix some fate failures Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-27j2k/jpeg2000: merge j2k & jpeg2000 dwts, drop j2k dwtMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-22Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: avcodec: Bump minor for JPEG 2000 decoder JPEG 2000 decoder for DCinema The mqc code is merged, the rest is added independent of the existing jpeg2000 decoder and encoder. Conflicts: Changelog doc/general.texi libavcodec/Makefile libavcodec/allcodecs.c libavcodec/mqc.c libavcodec/mqc.h libavcodec/mqcdec.c libavcodec/version.h tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-22JPEG 2000 decoder for DCinemaNicolas Bertrand
Based on the 2007 GSoC project from Kamil Nowosad <k.nowosad@students.mimuw.edu.pl> Updated to current programming standards, style and many more small fixes by Diego Biurrun <diego@biurrun.de>. Signed-off-by: Diego Biurrun <diego@biurrun.de>