Class opj_cparameters


  • public class opj_cparameters
    extends jnr.ffi.Struct
    • Nested Class Summary

      • Nested classes/interfaces inherited from class jnr.ffi.Struct

        jnr.ffi.Struct.AbstractBoolean, jnr.ffi.Struct.AbstractMember, jnr.ffi.Struct.Address, jnr.ffi.Struct.Alignment, jnr.ffi.Struct.AsciiString, jnr.ffi.Struct.AsciiStringRef, jnr.ffi.Struct.blkcnt_t, jnr.ffi.Struct.blksize_t, jnr.ffi.Struct.BOOL16, jnr.ffi.Struct.Boolean, jnr.ffi.Struct.BYTE, jnr.ffi.Struct.caddr_t, jnr.ffi.Struct.cc_t, jnr.ffi.Struct.clock_t, jnr.ffi.Struct.dev_t, jnr.ffi.Struct.Double, jnr.ffi.Struct.DWORD, jnr.ffi.Struct.Enum<T extends Enum<T>>, jnr.ffi.Struct.Enum16<E extends Enum<E>>, jnr.ffi.Struct.Enum32<E extends Enum<E>>, jnr.ffi.Struct.Enum64<E extends Enum<E>>, jnr.ffi.Struct.Enum8<E extends Enum<E>>, jnr.ffi.Struct.EnumField<E extends Object>, jnr.ffi.Struct.EnumLong<E extends Enum<E>>, jnr.ffi.Struct.Float, jnr.ffi.Struct.fsblkcnt_t, jnr.ffi.Struct.fsfilcnt_t, jnr.ffi.Struct.Function<T extends Object>, jnr.ffi.Struct.gid_t, jnr.ffi.Struct.id_t, jnr.ffi.Struct.in_addr_t, jnr.ffi.Struct.in_port_t, jnr.ffi.Struct.ino_t, jnr.ffi.Struct.ino64_t, jnr.ffi.Struct.int16_t, jnr.ffi.Struct.int32_t, jnr.ffi.Struct.int64_t, jnr.ffi.Struct.int8_t, jnr.ffi.Struct.IntegerAlias, jnr.ffi.Struct.intptr_t, jnr.ffi.Struct.key_t, jnr.ffi.Struct.LONG, jnr.ffi.Struct.Member, jnr.ffi.Struct.mode_t, jnr.ffi.Struct.nlink_t, jnr.ffi.Struct.NumberField, jnr.ffi.Struct.off_t, jnr.ffi.Struct.Offset, jnr.ffi.Struct.Padding, jnr.ffi.Struct.pid_t, jnr.ffi.Struct.Pointer, jnr.ffi.Struct.PointerField, jnr.ffi.Struct.rlim_t, jnr.ffi.Struct.sa_family_t, jnr.ffi.Struct.Signed16, jnr.ffi.Struct.Signed32, jnr.ffi.Struct.Signed64, jnr.ffi.Struct.Signed8, jnr.ffi.Struct.SignedLong, jnr.ffi.Struct.size_t, jnr.ffi.Struct.socklen_t, jnr.ffi.Struct.speed_t, jnr.ffi.Struct.ssize_t, jnr.ffi.Struct.String, jnr.ffi.Struct.StructRef<T extends jnr.ffi.Struct>, jnr.ffi.Struct.swblk_t, jnr.ffi.Struct.tcflag_t, jnr.ffi.Struct.time_t, jnr.ffi.Struct.u_int16_t, jnr.ffi.Struct.u_int32_t, jnr.ffi.Struct.u_int64_t, jnr.ffi.Struct.u_int8_t, jnr.ffi.Struct.uid_t, jnr.ffi.Struct.uintptr_t, jnr.ffi.Struct.Unsigned16, jnr.ffi.Struct.Unsigned32, jnr.ffi.Struct.Unsigned64, jnr.ffi.Struct.Unsigned8, jnr.ffi.Struct.UnsignedLong, jnr.ffi.Struct.UTF8String, jnr.ffi.Struct.UTF8StringRef, jnr.ffi.Struct.UTFString, jnr.ffi.Struct.UTFStringRef, jnr.ffi.Struct.WBOOL, jnr.ffi.Struct.WORD
    • Field Summary

      Fields 
      Modifier and Type Field Description
      jnr.ffi.Struct.Signed32 cblockh_init
      initial code block height, default to 64
      jnr.ffi.Struct.Signed32 cblockw_init
      initial code block width, default to 64
      jnr.ffi.Struct.String cp_comment
      comment for coding
      jnr.ffi.Struct.Signed32 cp_disto_alloc
      allocation by rate/distortion
      jnr.ffi.Struct.Signed32 cp_fixed_alloc
      allocation by fixed layer
      jnr.ffi.Struct.Signed32 cp_fixed_quality
      add fixed_quality
      jnr.ffi.Struct.Pointer cp_matrice
      fixed layer
      jnr.ffi.Struct.Signed32 cp_tdx
      XTsiz
      jnr.ffi.Struct.Signed32 cp_tdy
      YTsiz
      jnr.ffi.Struct.Signed32 cp_tx0
      XTOsiz
      jnr.ffi.Struct.Signed32 cp_ty0
      YTOsiz
      jnr.ffi.Struct.Signed32 csty
      csty : coding style
      jnr.ffi.Struct.Signed32 index_on
      DEPRECATED.
      jnr.ffi.Struct.Signed32 irreversible
      1 : use the irreversible DWT 9-7, 0 : use lossless compression (default)
      jnr.ffi.Struct.Boolean jpwl_epc_on
      enables writing of EPC in MH, thus activating JPWL
      jnr.ffi.Struct.Signed32 jpwl_sens_MH
      sensitivity method for MH (-1=no,0-7)
      jnr.ffi.Struct.Signed32 mode
      mode switch (cblk_style)
      jnr.ffi.Struct.Unsigned32 numpocs
      number of progression order changes (POC), default to 0
      jnr.ffi.Struct.Signed32 numresolution
      number of resolutions
      opj_poc[] POC
      progression order changes
      jnr.ffi.Struct.Signed32[] prch_init
      initial precinct height
      jnr.ffi.Struct.Signed32[] prcw_init
      initial precinct width
      jnr.ffi.Struct.Enum<PROG_ORDER> prog_order
      progression order (default OPJ_LRCP)
      jnr.ffi.Struct.Signed32 res_spec  
      jnr.ffi.Struct.Signed32 roi_compno
      region of interest: affected component in [0..3], -1 means no ROI
      jnr.ffi.Struct.Signed32 roi_shift
      region of interest: upshift value
      jnr.ffi.Struct.Float[] tcp_distoratio
      different psnr for successive layers.
      jnr.ffi.Struct.Unsigned8 tcp_mct
      MCT (multiple component transform)
      jnr.ffi.Struct.Signed32 tcp_numlayers
      number of layers
      jnr.ffi.Struct.Float[] tcp_rates
      rates of layers - might be subsequently limited by the max_cs_size field.
      jnr.ffi.Struct.Boolean tile_size_on
      size of tile: tile_size_on = false (not in argument) or = true (in argument)
    • Constructor Summary

      Constructors 
      Constructor Description
      opj_cparameters​(jnr.ffi.Runtime runtime)  
    • Method Summary

      • Methods inherited from class jnr.ffi.Struct

        alignment, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, arrayBegin, arrayEnd, arrayOf, function, getMemory, getMemory, getRuntime, inner, isDirect, size, toString, useMemory
    • Field Detail

      • tile_size_on

        public jnr.ffi.Struct.Boolean tile_size_on
        size of tile: tile_size_on = false (not in argument) or = true (in argument)
      • cp_tx0

        public jnr.ffi.Struct.Signed32 cp_tx0
        XTOsiz
      • cp_ty0

        public jnr.ffi.Struct.Signed32 cp_ty0
        YTOsiz
      • cp_tdx

        public jnr.ffi.Struct.Signed32 cp_tdx
        XTsiz
      • cp_tdy

        public jnr.ffi.Struct.Signed32 cp_tdy
        YTsiz
      • cp_disto_alloc

        public jnr.ffi.Struct.Signed32 cp_disto_alloc
        allocation by rate/distortion
      • cp_fixed_alloc

        public jnr.ffi.Struct.Signed32 cp_fixed_alloc
        allocation by fixed layer
      • cp_fixed_quality

        public jnr.ffi.Struct.Signed32 cp_fixed_quality
        add fixed_quality
      • cp_matrice

        public jnr.ffi.Struct.Pointer cp_matrice
        fixed layer
      • cp_comment

        public jnr.ffi.Struct.String cp_comment
        comment for coding
      • csty

        public jnr.ffi.Struct.Signed32 csty
        csty : coding style
      • prog_order

        public jnr.ffi.Struct.Enum<PROG_ORDER> prog_order
        progression order (default OPJ_LRCP)
      • POC

        public opj_poc[] POC
        progression order changes
      • numpocs

        public jnr.ffi.Struct.Unsigned32 numpocs
        number of progression order changes (POC), default to 0
      • tcp_numlayers

        public jnr.ffi.Struct.Signed32 tcp_numlayers
        number of layers
      • tcp_rates

        public final jnr.ffi.Struct.Float[] tcp_rates
        rates of layers - might be subsequently limited by the max_cs_size field. Should be decreasing. 1 can be used as last value to indicate the last layer is lossless.
      • tcp_distoratio

        public jnr.ffi.Struct.Float[] tcp_distoratio
        different psnr for successive layers. Should be increasing. 0 can be used as last value to indicate the last layer is lossless.
      • numresolution

        public jnr.ffi.Struct.Signed32 numresolution
        number of resolutions
      • cblockw_init

        public jnr.ffi.Struct.Signed32 cblockw_init
        initial code block width, default to 64
      • cblockh_init

        public jnr.ffi.Struct.Signed32 cblockh_init
        initial code block height, default to 64
      • mode

        public jnr.ffi.Struct.Signed32 mode
        mode switch (cblk_style)
      • irreversible

        public jnr.ffi.Struct.Signed32 irreversible
        1 : use the irreversible DWT 9-7, 0 : use lossless compression (default)
      • roi_compno

        public jnr.ffi.Struct.Signed32 roi_compno
        region of interest: affected component in [0..3], -1 means no ROI
      • roi_shift

        public jnr.ffi.Struct.Signed32 roi_shift
        region of interest: upshift value
      • res_spec

        public jnr.ffi.Struct.Signed32 res_spec
      • prcw_init

        public jnr.ffi.Struct.Signed32[] prcw_init
        initial precinct width
      • prch_init

        public jnr.ffi.Struct.Signed32[] prch_init
        initial precinct height
      • index_on

        public jnr.ffi.Struct.Signed32 index_on
        DEPRECATED. Index generation is now handeld with the opj_encode_with_info() function. Set to NULL
      • jpwl_epc_on

        public jnr.ffi.Struct.Boolean jpwl_epc_on
        enables writing of EPC in MH, thus activating JPWL
      • jpwl_sens_MH

        public jnr.ffi.Struct.Signed32 jpwl_sens_MH
        sensitivity method for MH (-1=no,0-7)
      • tcp_mct

        public jnr.ffi.Struct.Unsigned8 tcp_mct
        MCT (multiple component transform)
    • Constructor Detail

      • opj_cparameters

        public opj_cparameters​(jnr.ffi.Runtime runtime)