public ForwWTFull ( BlkImgDataSrc src, CSJ2K.j2k.encoder.EncoderSpecs encSpec, int cb0x, int cb0y ) : System | ||
src | BlkImgDataSrc | From where the image data should be obtained. /// /// |
encSpec | CSJ2K.j2k.encoder.EncoderSpecs | The encoder specifications /// /// |
cb0x | int | The horizontal coordinate of the code-block partition /// origin on the reference grid. /// /// |
cb0y | int | The vertical coordinate of the code-block partition origin /// on the reference grid. /// /// |
return | System |
public ForwWTFull(BlkImgDataSrc src, EncoderSpecs encSpec, int cb0x, int cb0y)
: base(src)
{
this.src = src;
this.cb0x = cb0x;
this.cb0y = cb0y;
this.dls = encSpec.dls;
this.filters = encSpec.wfs;
this.cblks = encSpec.cblks;
this.pss = encSpec.pss;
int ncomp = src.NumComps;
int ntiles = src.getNumTiles();
currentSubband = new SubbandAn[ncomp];
decomposedComps = new DataBlk[ncomp];
subbTrees = new SubbandAn[ntiles][];
for (int i = 0; i < ntiles; i++)
{
subbTrees[i] = new SubbandAn[ncomp];
}
lastn = new int[ncomp];
lastm = new int[ncomp];
}