All pastes #1072731 Raw Edit

Untitled

public text v1 · immutable
#1072731 ·published 2008-07-15 20:41 UTC
rendered paste body
diff --git a/schroedinger/schroengine.c b/schroedinger/schroengine.c
index 5705c6f..b5fe577 100644
--- a/schroedinger/schroengine.c
+++ b/schroedinger/schroengine.c
@@ -340,8 +340,10 @@ init_params (SchroEncoderFrame *frame)
     for(i=1;i<params->transform_depth+1;i++){
       shift = params->transform_depth + 1 - i;
       /* These values are empirically derived from fewer than 2 test results */
-      params->horiz_codeblocks[i] = (params->iwt_luma_width >> shift) / 5;
-      params->vert_codeblocks[i] = (params->iwt_luma_height >> shift) / 5;
+      //params->horiz_codeblocks[i] = (params->iwt_luma_width >> shift) / 5;
+      //params->vert_codeblocks[i] = (params->iwt_luma_height >> shift) / 5;
+      params->horiz_codeblocks[i] = 4;
+      params->vert_codeblocks[i] = 3;
       SCHRO_DEBUG("codeblocks %d %d %d", i, params->horiz_codeblocks[i],
           params->vert_codeblocks[i]);
     }