| Package | Description | 
|---|---|
| jj2000.j2k.codestream.writer | |
| jj2000.j2k.entropy.encoder | 
| Modifier and Type | Method and Description | 
|---|---|
| BitOutputBuffer | PktEncoder. encodePacket(int ly,
            int c,
            int r,
            int t,
            CBlkRateDistStats[][] cbs,
            int[][] tIndx,
            BitOutputBuffer hbuf,
            byte[] bbuf,
            int pIdx)Encodes a packet and returns the buffer containing the encoded packet
 header. | 
| Modifier and Type | Field and Description | 
|---|---|
| private CBlkRateDistStats[][][][][] | EBCOTRateAllocator. cblks5D Array containing all the coded code-blocks:
 
 1st index: tile index
 2nd index: component index
 3rd index: resolution level index
 4th index: subband index
 5th index: code-block index
  | 
| (package private) CBlkRateDistStats | StdEntropyCoder.Compressor. ccbThe object where to store the compressed code-block | 
| Modifier and Type | Method and Description | 
|---|---|
| CBlkRateDistStats | StdEntropyCoder. getNextCodeBlock(int c,
                CBlkRateDistStats ccb)Returns the next coded code-block in the current tile for the specified
 component, as a copy (see below). | 
| CBlkRateDistStats | CodedCBlkDataSrcEnc. getNextCodeBlock(int c,
                CBlkRateDistStats ccb)Returns the next coded code-block in the current tile for the specified
 component, as a copy (see below). | 
| Modifier and Type | Method and Description | 
|---|---|
| private static void | StdEntropyCoder. compressCodeBlock(int c,
                 CBlkRateDistStats ccb,
                 CBlkWTData srcblk,
                 MQCoder mq,
                 BitToByteOutput bout,
                 ByteOutputBuffer out,
                 int[] state,
                 double[] distbuf,
                 int[] ratebuf,
                 boolean[] istermbuf,
                 int[] symbuf,
                 int[] ctxtbuf,
                 int options,
                 boolean rev,
                 int lcType,
                 int tType)Compresses the code-block in 'srcblk' and puts the results in 'ccb',
 using the specified options and temporary storage. | 
| CBlkRateDistStats | StdEntropyCoder. getNextCodeBlock(int c,
                CBlkRateDistStats ccb)Returns the next coded code-block in the current tile for the specified
 component, as a copy (see below). | 
| CBlkRateDistStats | CodedCBlkDataSrcEnc. getNextCodeBlock(int c,
                CBlkRateDistStats ccb)Returns the next coded code-block in the current tile for the specified
 component, as a copy (see below). | 
Copyright © 2017 Open Microscopy Environment