]> git.sesse.net Git - ffmpeg/commitdiff
checkasm/hevc_idct : update test bit depth from 8 9 and 10 to 8 10 and 12
authorYingming Fan <yingmingfan@gmail.com>
Thu, 8 Mar 2018 07:56:56 +0000 (15:56 +0800)
committerJames Almer <jamrial@gmail.com>
Mon, 19 Mar 2018 03:56:01 +0000 (00:56 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
tests/checkasm/hevc_idct.c

index eea712101d3d7e082b2ba0a4a46bf491aa48467e..c20111c2df9ae3baa6a2f93000c9f5b851df60df 100644 (file)
@@ -87,7 +87,7 @@ void checkasm_check_hevc_idct(void)
 {
     int bit_depth;
 
-    for (bit_depth = 8; bit_depth <= 10; bit_depth++) {
+    for (bit_depth = 8; bit_depth <= 12; bit_depth += 2) {
         HEVCDSPContext h;
 
         ff_hevc_dsp_init(&h, bit_depth);
@@ -95,7 +95,7 @@ void checkasm_check_hevc_idct(void)
     }
     report("idct_dc");
 
-    for (bit_depth = 8; bit_depth <= 10; bit_depth++) {
+    for (bit_depth = 8; bit_depth <= 12; bit_depth += 2) {
         HEVCDSPContext h;
 
         ff_hevc_dsp_init(&h, bit_depth);