Class opj_dparameters


  • public class opj_dparameters
    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 cod_format
      output file format 0: J2K, 1: JP2, 2: JPT
      jnr.ffi.Struct.Signed32 cp_cinema
      DEPRECATED: use RSIZ, OPJ_PROFILE_* and MAX_COMP_SIZE instead Digital Cinema compliance 0-not compliant, 1-compliant
      jnr.ffi.Struct.Unsigned32 cp_layer  
      jnr.ffi.Struct.Unsigned32 cp_reduce  
      jnr.ffi.Struct.Signed32 cp_rsiz
      DEPRECATED: use RSIZ, OPJ_PROFILE_* and OPJ_EXTENSION_* instead Profile name
      jnr.ffi.Struct.Signed32 decod_format
      input file format 0: PGX, 1: PxM, 2: BMP 3:TIF
      jnr.ffi.Struct.Signed32 image_offset_x0
      subimage encoding: origin image offset in x direction
      jnr.ffi.Struct.Signed32 image_offset_y0
      subimage encoding: origin image offset in y direction
      jnr.ffi.Struct.AsciiString index  
      jnr.ffi.Struct.Signed32 index_on  
      jnr.ffi.Struct.AsciiString infile  
      jnr.ffi.Struct.Boolean jpip_on
      Enable JPIP indexing
      jnr.ffi.Struct.Boolean jpwl_epc_on
      enables writing of EPC in MH, thus activating JPWL
      jnr.ffi.Struct.Signed32 jpwl_hprot_MH
      error protection method for MH (0,1,16,32,37-128)
      jnr.ffi.Struct.Signed32[] jpwl_hprot_TPH
      error protection methods for TPHs (0,1,16,32,37-128)
      jnr.ffi.Struct.Signed32[] jpwl_hprot_TPH_tileno
      tile number of header protection specification (≥0)
      jnr.ffi.Struct.Signed32[] jpwl_pprot
      error protection methods for packets (0,1,16,32,37-128)
      jnr.ffi.Struct.Signed32[] jpwl_pprot_packn
      packet number of packet protection specification (≥0)
      jnr.ffi.Struct.Signed32[] jpwl_pprot_tileno
      tile number of packet protection specification (≥0)
      jnr.ffi.Struct.Signed32 jpwl_sens_addr
      sensitivity addressing size (0=auto/2/4 bytes)
      jnr.ffi.Struct.Signed32 jpwl_sens_MH
      sensitivity method for MH (-1=no,0-7)
      jnr.ffi.Struct.Signed32 jpwl_sens_range
      sensitivity range (0-3)
      jnr.ffi.Struct.Signed32 jpwl_sens_size
      enables writing of ESD, (0=no/1/2 bytes)
      jnr.ffi.Struct.Signed32[] jpwl_sens_TPH
      sensitivity methods for TPHs (-1=no,0-7)
      jnr.ffi.Struct.Signed32[] jpwl_sens_TPH_tileno
      tile number of sensitivity specification (≥0)
      jnr.ffi.Struct.Signed32 max_comp_size
      Maximum size (in bytes) for each component.
      jnr.ffi.Struct.Signed32 max_cs_size
      Maximum size (in bytes) for the whole codestream.
      jnr.ffi.Struct.Pointer mct_data
      Naive implementation of MCT restricted to a single reversible array based encoding without offset concerning all the components.
      jnr.ffi.Struct.AsciiString outfile  
      jnr.ffi.Struct.Unsigned16 rsiz
      RSIZ value To be used to combine OPJ_PROFILE_*, OPJ_EXTENSION_* and (sub)levels values.
      jnr.ffi.Struct.Signed32 subsampling_dx
      subsampling value for dx
      jnr.ffi.Struct.Signed32 subsampling_dy
      subsampling value for dy
      jnr.ffi.Struct.Signed32 tcp_mct
      MCT (multiple component transform)
      jnr.ffi.Struct.Signed32 tp_flag
      Flag for Tile part generation
      jnr.ffi.Struct.Signed32 tp_on
      Tile part generation
    • Constructor Summary

      Constructors 
      Constructor Description
      opj_dparameters​(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

      • cp_reduce

        public final jnr.ffi.Struct.Unsigned32 cp_reduce
      • cp_layer

        public final jnr.ffi.Struct.Unsigned32 cp_layer
      • infile

        public final jnr.ffi.Struct.AsciiString infile
      • outfile

        public final jnr.ffi.Struct.AsciiString outfile
      • index_on

        public final jnr.ffi.Struct.Signed32 index_on
      • index

        public final jnr.ffi.Struct.AsciiString index
      • image_offset_x0

        public final jnr.ffi.Struct.Signed32 image_offset_x0
        subimage encoding: origin image offset in x direction
      • image_offset_y0

        public final jnr.ffi.Struct.Signed32 image_offset_y0
        subimage encoding: origin image offset in y direction
      • subsampling_dx

        public final jnr.ffi.Struct.Signed32 subsampling_dx
        subsampling value for dx
      • subsampling_dy

        public final jnr.ffi.Struct.Signed32 subsampling_dy
        subsampling value for dy
      • decod_format

        public final jnr.ffi.Struct.Signed32 decod_format
        input file format 0: PGX, 1: PxM, 2: BMP 3:TIF
      • cod_format

        public final jnr.ffi.Struct.Signed32 cod_format
        output file format 0: J2K, 1: JP2, 2: JPT
      • jpwl_epc_on

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

        public final jnr.ffi.Struct.Signed32 jpwl_hprot_MH
        error protection method for MH (0,1,16,32,37-128)
      • jpwl_hprot_TPH_tileno

        public final jnr.ffi.Struct.Signed32[] jpwl_hprot_TPH_tileno
        tile number of header protection specification (≥0)
      • jpwl_hprot_TPH

        public final jnr.ffi.Struct.Signed32[] jpwl_hprot_TPH
        error protection methods for TPHs (0,1,16,32,37-128)
      • jpwl_pprot_tileno

        public final jnr.ffi.Struct.Signed32[] jpwl_pprot_tileno
        tile number of packet protection specification (≥0)
      • jpwl_pprot_packn

        public final jnr.ffi.Struct.Signed32[] jpwl_pprot_packn
        packet number of packet protection specification (≥0)
      • jpwl_pprot

        public final jnr.ffi.Struct.Signed32[] jpwl_pprot
        error protection methods for packets (0,1,16,32,37-128)
      • jpwl_sens_size

        public final jnr.ffi.Struct.Signed32 jpwl_sens_size
        enables writing of ESD, (0=no/1/2 bytes)
      • jpwl_sens_addr

        public final jnr.ffi.Struct.Signed32 jpwl_sens_addr
        sensitivity addressing size (0=auto/2/4 bytes)
      • jpwl_sens_range

        public final jnr.ffi.Struct.Signed32 jpwl_sens_range
        sensitivity range (0-3)
      • jpwl_sens_MH

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

        public final jnr.ffi.Struct.Signed32[] jpwl_sens_TPH_tileno
        tile number of sensitivity specification (≥0)
      • jpwl_sens_TPH

        public final jnr.ffi.Struct.Signed32[] jpwl_sens_TPH
        sensitivity methods for TPHs (-1=no,0-7)
      • cp_cinema

        public final jnr.ffi.Struct.Signed32 cp_cinema
        DEPRECATED: use RSIZ, OPJ_PROFILE_* and MAX_COMP_SIZE instead Digital Cinema compliance 0-not compliant, 1-compliant
      • max_comp_size

        public final jnr.ffi.Struct.Signed32 max_comp_size
        Maximum size (in bytes) for each component. If == 0, component size limitation is not considered
      • cp_rsiz

        public final jnr.ffi.Struct.Signed32 cp_rsiz
        DEPRECATED: use RSIZ, OPJ_PROFILE_* and OPJ_EXTENSION_* instead Profile name
      • tp_on

        public final jnr.ffi.Struct.Signed32 tp_on
        Tile part generation
      • tp_flag

        public final jnr.ffi.Struct.Signed32 tp_flag
        Flag for Tile part generation
      • tcp_mct

        public final jnr.ffi.Struct.Signed32 tcp_mct
        MCT (multiple component transform)
      • jpip_on

        public final jnr.ffi.Struct.Boolean jpip_on
        Enable JPIP indexing
      • mct_data

        public final jnr.ffi.Struct.Pointer mct_data
        Naive implementation of MCT restricted to a single reversible array based encoding without offset concerning all the components.
      • max_cs_size

        public final jnr.ffi.Struct.Signed32 max_cs_size
        Maximum size (in bytes) for the whole codestream. If == 0, codestream size limitation is not considered If it does not comply with tcp_rates, max_cs_size prevails and a warning is issued.
      • rsiz

        public final jnr.ffi.Struct.Unsigned16 rsiz
        RSIZ value To be used to combine OPJ_PROFILE_*, OPJ_EXTENSION_* and (sub)levels values.
    • Constructor Detail

      • opj_dparameters

        public opj_dparameters​(jnr.ffi.Runtime runtime)