[FFmpeg-cvslog] avcodec/jpeg2000dwt: Use a tighter check threshold for the 9/7f DWT test

Michael Niedermayer git at videolan.org
Mon Jun 22 23:20:38 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jun 22 23:06:55 2015 +0200| [19dc1ed4ada333390e8ea12c4e969b916320c67b] | committer: Michael Niedermayer

avcodec/jpeg2000dwt: Use a tighter check threshold for the 9/7f DWT test

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=19dc1ed4ada333390e8ea12c4e969b916320c67b
---

 libavcodec/jpeg2000dwt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeg2000dwt.c b/libavcodec/jpeg2000dwt.c
index 4201fc6..713678c 100644
--- a/libavcodec/jpeg2000dwt.c
+++ b/libavcodec/jpeg2000dwt.c
@@ -728,7 +728,7 @@ int main(void) {
         ret = test_dwt(array, ref, border, decomp_levels, FF_DWT97_INT, FFMIN(7+5*decomp_levels, 15+3*decomp_levels));
         if (ret)
             return ret;
-        ret = test_dwtf(arrayf, reff, border, decomp_levels, 1.0);
+        ret = test_dwtf(arrayf, reff, border, decomp_levels, 0.05);
         if (ret)
             return ret;
     }



More information about the ffmpeg-cvslog mailing list