All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ncsa.hdf.hdflib.HDFNBITCompInfo Maven / Gradle / Ivy

The newest version!
/****************************************************************************
 * NCSA HDF                                                                 *
 * National Comptational Science Alliance                                   *
 * University of Illinois at Urbana-Champaign                               *
 * 605 E. Springfield, Champaign IL 61820                                   *
 *                                                                          *
 * For conditions of distribution and use, see the accompanying             *
 * hdf-java/COPYING file.                                                   *
 *                                                                          *
 ****************************************************************************/

package ncsa.hdf.hdflib;

/**
 * 

* This class is a container for the parameters to the HDF * ``NBIT'' compression class. *

* In this case, the information needed is the number type, * the sign extension, the fill bit, the start bit, and the * number of bits to store. *

* For details of the HDF libraries, see the HDF Documentation at: * http://hdf.ncsa.uiuc.edu */ public class HDFNBITCompInfo extends HDFNewCompInfo { public int nt; /* number type of the data to encode */ public int sign_ext; /* whether to sign extend or not */ public int fill_one; /* whether to fill with 1's or 0's */ public int start_bit; /* offset of the start bit in the data */ public int bit_len; /* number of bits to store */ public HDFNBITCompInfo() { ctype = HDFConstants.COMP_CODE_NBIT; } public HDFNBITCompInfo( int Nt, int Sign_ext, int Fill_one, int Start_bit, int Bit_len) { ctype = HDFConstants.COMP_CODE_NBIT; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy