Class FileJPEG2000.opj_cp_t

  • Enclosing class:
    FileJPEG2000

    class FileJPEG2000.opj_cp_t
    extends java.lang.Object
    Coding parameters
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String comment
      comment
      (package private) boolean correct
      enables JPWL correction at the decoder
      (package private) boolean epb_on
      enables writing of EPB, in case of activated JPWL
      (package private) boolean epc_on
      enables writing of EPC in MH, thus activating JPWL
      (package private) boolean esd_on
      enables writing of ESD, in case of activated JPWL
      (package private) int exp_comps
      expected number of components at the decoder
      (package private) int hprot_MH
      error protection method for MH (0,1,16,32,37-128)
      (package private) int[] hprot_TPH
      error protection methods for TPHs (0,1,16,32,37-128)
      (package private) int[] hprot_TPH_tileno
      tile number of header protection specification (>=0)
      (package private) boolean info_on
      enables writing of informative techniques of ESD, in case of activated JPWL
      (package private) FileJPEG2000.opj_decoding_param_t m_dec  
      (package private) FileJPEG2000.opj_encoding_param_t m_enc  
      (package private) boolean m_is_decoder
      tells if the parameter is a coding or decoding one
      (package private) int max_tiles
      maximum number of tiles at the decoder
      (package private) int ppm
      if ppm == 1 --> there was a PPM marker
      (package private) byte[] ppm_buffer
      packet header storage original buffer
      (package private) byte[] ppm_data
      packet header store there for future use in t2_decode_packet
      (package private) byte[] ppm_data_current  
      (package private) long ppm_data_first
      pointer remaining on the first byte of the first header if ppm is used
      (package private) int ppm_data_read
      size of the ppm_data
      (package private) int ppm_data_size
      Number of bytes actually stored inside the ppm_data
      (package private) int ppm_len
      size of the ppm_data
      (package private) FileJPEG2000.opj_ppx[] ppm_markers
      ppm markers data (table indexed by Zppm)
      (package private) int ppm_markers_count
      number of ppm markers (reserved size)
      (package private) int ppm_previous
      use in case of multiple marker PPM (case on non-finished previous info)
      (package private) int ppm_store
      use in case of multiple marker PPM (number of info already store)
      (package private) int[] pprot
      error protection methods for packets (0,1,16,32,37-128)
      (package private) int[] pprot_packno
      packet number of packet protection specification (>=0)
      (package private) int[] pprot_tileno
      tile number of packet protection specification (>=0)
      (package private) boolean red_on
      enables writing of RED, in case of activated JPWL
      (package private) short rsiz
      Rsiz
      (package private) int sens_addr
      sensitivity addressing size (0=auto/2/4 bytes)
      (package private) int sens_MH
      sensitivity method for MH (-1,0-7)
      (package private) int sens_range
      sensitivity range (0-3)
      (package private) int sens_size
      enables writing of ESD, (0/2/4 bytes)
      (package private) int[] sens_TPH
      sensitivity methods for TPHs (-1,0-7)
      (package private) int[] sens_TPH_tileno
      tile number of sensitivity specification (>=0)
      (package private) FileJPEG2000.opj_tcp_t[] tcps
      tile coding parameters
      (package private) int tdx
      XTsiz
      (package private) int tdy
      YTsiz
      (package private) int th
      number of tiles in heigth
      (package private) int tw
      number of tiles in width
      (package private) int tx0
      XTOsiz
      (package private) int ty0
      YTOsiz
    • Constructor Summary

      Constructors 
      Constructor Description
      opj_cp_t()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • rsiz

        short rsiz
        Rsiz
      • tx0

        int tx0
        XTOsiz
      • ty0

        int ty0
        YTOsiz
      • tdx

        int tdx
        XTsiz
      • tdy

        int tdy
        YTsiz
      • comment

        java.lang.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_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)
      • 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 Detail

      • opj_cp_t

        opj_cp_t()