Subtile decoding: only do 9x7 IDWT computations on relevant areas of tile-component...
[openjpeg.git] / src / lib / openjp2 / tcd.c
index f61c65d408e6ecb83b6d97c733a163565cd39762..5e4681c4543598b8c92e386ddfb66e7bcd1ac60d 100644 (file)
@@ -1783,7 +1783,8 @@ static OPJ_BOOL opj_tcd_dwt_decode(opj_tcd_t *p_tcd)
                 return OPJ_FALSE;
             }
         } else {
-            if (! opj_dwt_decode_real(l_tile_comp, l_img_comp->resno_decoded + 1)) {
+            if (! opj_dwt_decode_real(p_tcd, l_tile_comp,
+                                      l_img_comp->resno_decoded + 1)) {
                 return OPJ_FALSE;
             }
         }