tile[chn],// will be filled, should have correct size before call
tile[chn],// will be filled, should have correct size before call
...
@@ -193,7 +193,7 @@ public class DebayerScissors {
...
@@ -193,7 +193,7 @@ public class DebayerScissors {
fht_instance.inverseTransform(tile[chn]);
fht_instance.inverseTransform(tile[chn]);
fht_instance.swapQuadrants(tile[chn]);
fht_instance.swapQuadrants(tile[chn]);
/* accumulate result */
/* accumulate result */
/*This is synchronized method. It is possible to make threads to write to non-overlapping regions of the outPixles, but as the accumulation
/*This is (now was) a synchronized method. It is possible to make threads to write to non-overlapping regions of the outPixles, but as the accumulation
* takes just small fraction of several FHTs, it should be OK - reasonable number of threads will spread and not "stay in line"
* takes just small fraction of several FHTs, it should be OK - reasonable number of threads will spread and not "stay in line"
*/
*/
...
@@ -206,31 +206,35 @@ public class DebayerScissors {
...
@@ -206,31 +206,35 @@ public class DebayerScissors {