Class FileJPEG2000.opj_cp_t

java.lang.Object
gov.nih.mipav.model.file.FileJPEG2000.opj_cp_t
Enclosing class:
FileJPEG2000

class FileJPEG2000.opj_cp_t extends Object
Coding parameters
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) String
    comment
    (package private) boolean
    enables JPWL correction at the decoder
    (package private) boolean
    enables writing of EPB, in case of activated JPWL
    (package private) boolean
    enables writing of EPC in MH, thus activating JPWL
    (package private) boolean
    enables writing of ESD, in case of activated JPWL
    (package private) int
    expected number of components at the decoder
    (package private) int
    error protection method for MH (0,1,16,32,37-128)
    (package private) int[]
    error protection methods for TPHs (0,1,16,32,37-128)
    (package private) int[]
    tile number of header protection specification (>=0)
    (package private) boolean
    enables writing of informative techniques of ESD, in case of activated JPWL
     
     
    (package private) boolean
    tells if the parameter is a coding or decoding one
    (package private) int
    maximum number of tiles at the decoder
    (package private) int
    if ppm == 1 --> there was a PPM marker
    (package private) byte[]
    packet header storage original buffer
    (package private) byte[]
    packet header store there for future use in t2_decode_packet
    (package private) byte[]
     
    (package private) long
    pointer remaining on the first byte of the first header if ppm is used
    (package private) int
    size of the ppm_data
    (package private) int
    Number of bytes actually stored inside the ppm_data
    (package private) int
    size of the ppm_data
    (package private) FileJPEG2000.opj_ppx[]
    ppm markers data (table indexed by Zppm)
    (package private) int
    number of ppm markers (reserved size)
    (package private) int
    use in case of multiple marker PPM (case on non-finished previous info)
    (package private) int
    use in case of multiple marker PPM (number of info already store)
    (package private) int[]
    error protection methods for packets (0,1,16,32,37-128)
    (package private) int[]
    packet number of packet protection specification (>=0)
    (package private) int[]
    tile number of packet protection specification (>=0)
    (package private) boolean
    enables writing of RED, in case of activated JPWL
    (package private) short
    Rsiz
    (package private) int
    sensitivity addressing size (0=auto/2/4 bytes)
    (package private) int
    sensitivity method for MH (-1,0-7)
    (package private) int
    sensitivity range (0-3)
    (package private) int
    enables writing of ESD, (0/2/4 bytes)
    (package private) int[]
    sensitivity methods for TPHs (-1,0-7)
    (package private) int[]
    tile number of sensitivity specification (>=0)
    (package private) FileJPEG2000.opj_tcp_t[]
    tile coding parameters
    (package private) int
    XTsiz
    (package private) int
    YTsiz
    (package private) int
    number of tiles in heigth
    (package private) int
    number of tiles in width
    (package private) int
    XTOsiz
    (package private) int
    YTOsiz
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • rsiz

      short rsiz
      Rsiz
    • tx0

      int tx0
      XTOsiz
    • ty0

      int ty0
      YTOsiz
    • tdx

      int tdx
      XTsiz
    • tdy

      int tdy
      YTsiz
    • comment

      String comment
      comment
    • tw

      int tw
      number of tiles in width
    • th

      int th
      number of tiles in heigth
    • ppm_markers_count

      int ppm_markers_count
      number of ppm markers (reserved size)
    • ppm_markers

      FileJPEG2000.opj_ppx[] ppm_markers
      ppm markers data (table indexed by Zppm)
    • ppm_data

      byte[] ppm_data
      packet header store there for future use in t2_decode_packet
    • ppm_len

      int ppm_len
      size of the ppm_data
    • ppm_data_read

      int ppm_data_read
      size of the ppm_data
    • ppm_data_current

      byte[] ppm_data_current
    • ppm_buffer

      byte[] ppm_buffer
      packet header storage original buffer
    • ppm_data_first

      long ppm_data_first
      pointer remaining on the first byte of the first header if ppm is used
    • ppm_data_size

      int ppm_data_size
      Number of bytes actually stored inside the ppm_data
    • ppm_store

      int ppm_store
      use in case of multiple marker PPM (number of info already store)
    • ppm_previous

      int ppm_previous
      use in case of multiple marker PPM (case on non-finished previous info)
    • tcps

      tile coding parameters
    • m_dec

    • m_enc

    • epc_on

      boolean epc_on
      enables writing of EPC in MH, thus activating JPWL
    • epb_on

      boolean epb_on
      enables writing of EPB, in case of activated JPWL
    • esd_on

      boolean esd_on
      enables writing of ESD, in case of activated JPWL
    • info_on

      boolean info_on
      enables writing of informative techniques of ESD, in case of activated JPWL
    • red_on

      boolean red_on
      enables writing of RED, in case of activated JPWL
    • hprot_MH

      int hprot_MH
      error protection method for MH (0,1,16,32,37-128)
    • hprot_TPH_tileno

      int[] hprot_TPH_tileno
      tile number of header protection specification (>=0)
    • hprot_TPH

      int[] hprot_TPH
      error protection methods for TPHs (0,1,16,32,37-128)
    • pprot_tileno

      int[] pprot_tileno
      tile number of packet protection specification (>=0)
    • pprot_packno

      int[] pprot_packno
      packet number of packet protection specification (>=0)
    • pprot

      int[] pprot
      error protection methods for packets (0,1,16,32,37-128)
    • sens_size

      int sens_size
      enables writing of ESD, (0/2/4 bytes)
    • sens_addr

      int sens_addr
      sensitivity addressing size (0=auto/2/4 bytes)
    • sens_range

      int sens_range
      sensitivity range (0-3)
    • sens_MH

      int sens_MH
      sensitivity method for MH (-1,0-7)
    • sens_TPH_tileno

      int[] sens_TPH_tileno
      tile number of sensitivity specification (>=0)
    • sens_TPH

      int[] sens_TPH
      sensitivity methods for TPHs (-1,0-7)
    • correct

      boolean correct
      enables JPWL correction at the decoder
    • exp_comps

      int exp_comps
      expected number of components at the decoder
    • max_tiles

      int max_tiles
      maximum number of tiles at the decoder
    • ppm

      int ppm
      if ppm == 1 --> there was a PPM marker
    • m_is_decoder

      boolean m_is_decoder
      tells if the parameter is a coding or decoding one
  • Constructor Details

    • opj_cp_t

      opj_cp_t()