Structs§
- OmDecoder_
index Read_ t - OmDecoder_
t - OmDimensions_
t - OmEncoder_
t - OmHeader
V1_ t - Legacy files only contain one 2D array with attributes in the header File content: Header, look-up-table, compressed data
- OmHeader
V3_ t - Newer version only contain magic number “OM” and the version 3
- OmRange_
t - OmString_
t - =========== Functions for reading ===============
- OmTrailer_
t - Trailer only present in version 3 files
- OmVariable
Array V3_ t - OmVariable
V3_ t - =========== Structures describing the data layout ===============
- _G_
fpos64_ t - _G_
fpos_ t - _IO_
FILE - _IO_
codecvt - _IO_
cookie_ io_ functions_ t - _IO_
marker - _IO_
wide_ data - __
fsid_ t - __
mbstate_ t - __
va_ list_ tag - max_
align_ t
Enums§
- OmCompression_
t - Compression types
- OmData
Type_ t - Data types
- OmError_
t - OmHeader
Type_ t - OmMemory
Layout_ t - Memory layout types
Constants§
- BUFSIZ
- EOF
- FILENAME_
MAX - FOPEN_
MAX - INT8_
MAX - INT8_
MIN - INT16_
MAX - INT16_
MIN - INT32_
MAX - INT32_
MIN - INTPTR_
MAX - INTPTR_
MIN - INT_
FAST8_ MAX - INT_
FAST8_ MIN - INT_
FAST16_ MAX - INT_
FAST16_ MIN - INT_
FAST32_ MAX - INT_
FAST32_ MIN - INT_
LEAS T8_ MAX - INT_
LEAS T8_ MIN - INT_
LEAS T16_ MAX - INT_
LEAS T16_ MIN - INT_
LEAS T32_ MAX - INT_
LEAS T32_ MIN - LUT_
CHUNK_ COUNT - L_
ctermid - L_
tmpnam - P4D_MAX
- PTRDIFF_
MAX - PTRDIFF_
MIN - P_
tmpdir - SEEK_
CUR - SEEK_
END - SEEK_
SET - SIG_
ATOMIC_ MAX - SIG_
ATOMIC_ MIN - SIZE_
MAX - TMP_MAX
- UINT8_
MAX - UINT16_
MAX - UINT32_
MAX - UINTPTR_
MAX - UINT_
FAST8_ MAX - UINT_
FAST16_ MAX - UINT_
FAST32_ MAX - UINT_
LEAS T8_ MAX - UINT_
LEAS T16_ MAX - UINT_
LEAS T32_ MAX - WINT_
MAX - WINT_
MIN - _ATFILE_
SOURCE - _BITS_
STDINT_ INTN_ H - _BITS_
STDINT_ LEAST_ H - _BITS_
STDINT_ UINTN_ H - _BITS_
STDIO_ LIM_ H - _BITS_
TIME64_ H - _BITS_
TYPESIZES_ H - _BITS_
TYPES_ H - _BITS_
WCHAR_ H - _DEFAULT_
SOURCE - _FEATURES_
H - _IOFBF
- _IOLBF
- _IONBF
- _IO_
EOF_ SEEN - _IO_
ERR_ SEEN - _IO_
USER_ LOCK - _POSIX_
C_ SOURCE - _POSIX_
SOURCE - _STDC_
PREDEF_ H - _STDINT_
H - _STDIO_
H - _SYS_
CDEFS_ H - __
FD_ SETSIZE - __
FILE_ defined - __
GLIBC_ MINOR__ - __
GLIBC_ USE_ C2X_ STRTOL - __
GLIBC_ USE_ DEPRECATED_ GETS - __
GLIBC_ USE_ DEPRECATED_ SCANF - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT_ C2X - __
GLIBC_ USE_ IEC_ 60559_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT_ C2X - __
GLIBC_ USE_ IEC_ 60559_ TYPES_ EXT - __
GLIBC_ USE_ ISOC2X - __
GLIBC_ USE_ LIB_ EXT2 - __
GLIBC__ - __
GNU_ LIBRARY__ - __
HAVE_ DISTINCT_ FLOA T16 - __
HAVE_ DISTINCT_ FLOA T32 - __
HAVE_ DISTINCT_ FLOA T64 - __
HAVE_ DISTINCT_ FLOA T32X - __
HAVE_ DISTINCT_ FLOA T64X - __
HAVE_ DISTINCT_ FLOA T128 - __
HAVE_ DISTINCT_ FLOA T128X - __
HAVE_ FLOA T16 - __
HAVE_ FLOA T32 - __
HAVE_ FLOA T64 - __
HAVE_ FLOA T32X - __
HAVE_ FLOA T64X - __
HAVE_ FLOA T64X_ LONG_ DOUBLE - __
HAVE_ FLOA T128 - __
HAVE_ FLOA T128X - __
HAVE_ FLOATN_ NOT_ TYPEDEF - __
HAVE_ GENERIC_ SELECTION - __
INO_ T_ MATCHES_ INO64_ T - __
KERNEL_ OLD_ TIMEVAL_ MATCHES_ TIMEVA L64 - __
LDOUBLE_ REDIRECTS_ TO_ FLOA T128_ ABI - __
OFF_ T_ MATCHES_ OFF64_ T - __
RLIM_ T_ MATCHES_ RLIM64_ T - __
STATFS_ MATCHES_ STATF S64 - __
STDC_ IEC_ 559_ COMPLEX__ - __
STDC_ IEC_ 559__ - __
STDC_ IEC_ 60559_ BFP__ - __
STDC_ IEC_ 60559_ COMPLEX__ - __
STDC_ ISO_ 10646__ - __
SYSCALL_ WORDSIZE - __
TIMESIZE - __
USE_ ATFILE - __
USE_ FORTIFY_ LEVEL - __
USE_ ISOC11 - __
USE_ ISOC95 - __
USE_ ISOC99 - __
USE_ MISC - __
USE_ POSIX - __
USE_ POSI X2 - __
USE_ POSI X199309 - __
USE_ POSI X199506 - __
USE_ POSIX_ IMPLICITLY - __
USE_ XOPE N2K - __
USE_ XOPE N2K8 - __
WORDSIZE - __
WORDSIZE_ TIME64_ COMPA T32 - ____
FILE_ defined - _____
fpos64_ t_ defined - _____
fpos_ t_ defined - ____
mbstate_ t_ defined - __
bool_ true_ false_ are_ defined - __
cookie_ io_ functions_ t_ defined - __
glibc_ c99_ flexarr_ available - __
struct_ FILE_ defined - false_
- true_
Statics§
Functions§
- __
asprintf ⚠ - __
getdelim ⚠ - __
overflow ⚠ - __uflow⚠
- _om_
variable_ ⚠memory_ layout - Check if a variable is legacy or version 3 array of scalar. Legacy files are the entire header containing magic number and version.
- _p4bits8⚠
- _p4bits16⚠
- _p4bits32⚠
- _p4bits64⚠
- _p4bitsx8⚠
- _p4bitsx16⚠
- _p4bitsx32⚠
- _p4bitsx64⚠
- _p4d1dec8⚠
- _p4d1dec16⚠
- _p4d1dec32⚠
- _p4d1dec64⚠
- _p4d1dec128v16⚠
- _p4d1dec128v32⚠
- _p4d1dec256v32⚠
- _p4ddec8⚠
- _p4ddec16⚠
- _p4ddec32⚠
- _p4ddec64⚠
- _p4ddec128v16⚠
- _p4ddec128v32⚠
- _p4ddec256v32⚠
- _p4dec8⚠
- _p4dec16⚠
- _p4dec32⚠
- _p4dec64⚠
- _p4dec128v16⚠
- _p4dec128v32⚠
- _p4dec128v64⚠
- _p4enc8⚠
- _p4enc16⚠
- _p4enc32⚠
- _p4enc64⚠
- _p4enc128v16⚠
- _p4enc128v32⚠
- _p4enc128v64⚠
- _p4enc256v32⚠
- _p4zdec8⚠
- _p4zdec16⚠
- _p4zdec32⚠
- _p4zdec64⚠
- _p4zdec128v16⚠
- _p4zdec128v32⚠
- _p4zdec256v32⚠
- asprintf⚠
- bvzdec8⚠
- bvzdec16⚠
- bvzdec32⚠
- bvzdec64⚠
- bvzenc8⚠
- bvzenc16⚠
- bvzenc32⚠
- bvzenc64⚠
- bvzzdec8⚠
- bvzzdec16⚠
- bvzzdec32⚠
- bvzzdec64⚠
- bvzzenc8⚠
- bvzzenc16⚠
- bvzzenc32⚠
- bvzzenc64⚠
- clearerr⚠
- clearerr_
unlocked ⚠ - ctermid⚠
- delta2d_
decode8 ⚠ - delta2d_
decode16 ⚠ - delta2d_
decode32 ⚠ - delta2d_
decode64 ⚠ - delta2d_
decode_ ⚠xor - delta2d_
decode_ ⚠xor_ double - delta2d_
encode8 ⚠ - delta2d_
encode16 ⚠ - delta2d_
encode32 ⚠ - delta2d_
encode64 ⚠ - delta2d_
encode_ ⚠xor - delta2d_
encode_ ⚠xor_ double - dprintf⚠
- fclose⚠
- fdopen⚠
- feof⚠
- feof_
unlocked ⚠ - ferror⚠
- ferror_
unlocked ⚠ - fflush⚠
- fflush_
unlocked ⚠ - fgetc⚠
- fgetc_
unlocked ⚠ - fgetpos⚠
- fgets⚠
- fileno⚠
- fileno_
unlocked ⚠ - flockfile⚠
- fmemopen⚠
- fopen⚠
- fopencookie⚠
- fp2dfcmdec8⚠
- fp2dfcmdec16⚠
- fp2dfcmdec32⚠
- fp2dfcmdec64⚠
- fp2dfcmenc8⚠
- fp2dfcmenc16⚠
- fp2dfcmenc32⚠
- fp2dfcmenc64⚠
- fpdfcmdec8⚠
- fpdfcmdec16⚠
- fpdfcmdec32⚠
- fpdfcmdec64⚠
- fpdfcmenc8⚠
- fpdfcmenc16⚠
- fpdfcmenc32⚠
- fpdfcmenc64⚠
- fpfcmdec8⚠
- fpfcmdec16⚠
- fpfcmdec32⚠
- fpfcmdec64⚠
- fpfcmenc8⚠
- fpfcmenc16⚠
- fpfcmenc32⚠
- fpfcmenc64⚠
- fpgdec8⚠
- fpgdec16⚠
- fpgdec32⚠
- fpgdec64⚠
- fpgenc8⚠
- fpgenc16⚠
- fpgenc32⚠
- fpgenc64⚠
- fprintf⚠
- fputc⚠
- fputc_
unlocked ⚠ - fputs⚠
- fpxdec8⚠
- fpxdec16⚠
- fpxdec32⚠
- fpxdec64⚠
- fpxenc8⚠
- fpxenc16⚠
- fpxenc32⚠
- fpxenc64⚠
- fread⚠
- fread_
unlocked ⚠ - freopen⚠
- fscanf⚠
- fscanf1⚠
- fseek⚠
- fseeko⚠
- fsetpos⚠
- ftell⚠
- ftello⚠
- ftrylockfile⚠
- funlockfile⚠
- fwrite⚠
- fwrite_
unlocked ⚠ - getc⚠
- getc_
unlocked ⚠ - getchar⚠
- getchar_
unlocked ⚠ - getdelim⚠
- getline⚠
- getw⚠
- om_
common_ ⚠compress_ fpxenc32 - om_
common_ ⚠compress_ fpxenc64 - om_
common_ ⚠copy8 - om_
common_ ⚠copy16 - om_
common_ ⚠copy32 - om_
common_ ⚠copy64 - om_
common_ ⚠copy_ double_ to_ int64 - om_
common_ ⚠copy_ float_ to_ int16 - Copy 16 bit integer array and convert to float
- om_
common_ ⚠copy_ float_ to_ int32 - om_
common_ ⚠copy_ float_ to_ int16_ log10 - Copy 16 bit integer array and convert to float and scale log10
- om_
common_ ⚠copy_ int16_ to_ float - Convert int16 and scale to float
- om_
common_ ⚠copy_ int16_ to_ float_ log10 - Convert int16 and scale to float with log10
- om_
common_ ⚠copy_ int32_ to_ float - om_
common_ ⚠copy_ int64_ to_ double - om_
common_ ⚠decompress_ fpxdec32 - om_
common_ ⚠decompress_ fpxdec64 - om_
decoder_ ⚠decode_ chunks - @brief Decodes multiple data chunks from compressed input into a target buffer.
- om_
decoder_ ⚠init - @brief Initializes the
om_decoder_t
structure with the specified parameters. - om_
decoder_ ⚠init_ data_ read - @brief Initializes an
om_decoder_data_read_t
structure for data reading. - om_
decoder_ ⚠init_ index_ read - @brief Initializes an
om_decoder_index_read_t
structure for reading chunk indices. - om_
decoder_ ⚠next_ data_ read - @brief Prepares the next data read operation for a given chunk of compressed data.
- om_
decoder_ ⚠next_ index_ read - @brief Determines the next range of chunks to be read and updates the
om_decoder_index_read_t
structure. - om_
decoder_ ⚠read_ buffer_ size - @brief Calculates the size of the buffer required to read a single data chunk.
- om_
encoder_ ⚠chunk_ buffer_ size - The buffer size required to collect a single chunk of data
- om_
encoder_ ⚠compress_ chunk - Compress a single chunk. Chunk buffer must be of size
OmEncoder_chunkBufferSize
- om_
encoder_ ⚠compress_ lut - Compress the LUT and return the size of compressed LUT in bytes
- om_
encoder_ ⚠compressed_ chunk_ buffer_ size - The buffer size required to compress a single chunk.
- om_
encoder_ ⚠count_ chunks - Get the number of chunks that is calculated from dimensions and chunks
- om_
encoder_ ⚠count_ chunks_ in_ array - Calculate how many chunks can be filled from a given input
- om_
encoder_ ⚠init - Initialise the OmEncoder structure with information about the shape of data May return an error on invalid compression or data types
- om_
encoder_ ⚠lut_ buffer_ size - Calculate the required buffer size for the entire compressed LUT
- om_
error_ ⚠string - om_
get_ ⚠bytes_ per_ element - Get the number of bytes per element. This function will set an error if called for an invalid data type. It only supports array types.
- om_
get_ ⚠bytes_ per_ element_ compressed - Get the number of bytes per element after compression. This function will set an error if called for an invalid data type. It only supports array types.
- om_
header_ ⚠size - Return the size in byte of the header that should be read. Always 40 byte to support legacy 2D files.
- om_
header_ ⚠type - Check if the header is a OM file header and return if its a legacy version or a new version file
- om_
header_ ⚠write - Write an header for newer OM files
- om_
header_ ⚠write_ size - The size of a OM header for newer files. Always 3 bytes.
- om_
trailer_ ⚠read - Read the trailer of an OM file to get the root variable. Size is set to 0 if this is not an OM file.
- om_
trailer_ ⚠size - Size in bytes of the trailer that contains the root variable offset in newer files
- om_
trailer_ ⚠write - Write an trailer for newer OM files including the root variable
- om_
variable_ ⚠get_ add_ offset - om_
variable_ ⚠get_ children - Get the file offset where a specified child or children can be read
- om_
variable_ ⚠get_ children_ count - Return how many children are available for a given variable
- om_
variable_ ⚠get_ chunks - Get a pointer to the chunk dimensions of an OM Variable
- om_
variable_ ⚠get_ compression - Get the compression type of the current variable
- om_
variable_ ⚠get_ dimensions - Get a pointer to the dimensions of a OM variable
- om_
variable_ ⚠get_ name - Get the name of of a given variable. No guarantee for zero termination!
- om_
variable_ ⚠get_ scalar - Read a variable as a scalar. Returns the size and value into the value and size field.
value
needs to be a pointer that then points to the value - om_
variable_ ⚠get_ scale_ factor - om_
variable_ ⚠get_ type - Get the type of the current variable
- om_
variable_ ⚠init - After reading data for the variable, initialize it. This is literally a simple cast to an opaque pointer. Source memory must remain accessible!
- om_
variable_ ⚠write_ numeric_ array - Write meta data for a numeric array to file
- om_
variable_ ⚠write_ numeric_ array_ size - Get the size of meta attributes of a numeric array if written to a file. Does not contain any data. Only offsets for the actual data.
- om_
variable_ ⚠write_ scalar - Write a scalar variable with name and children variables to a destination buffer
- om_
variable_ ⚠write_ scalar_ size - Get the length of a scalar variable if written to a file. If the scalar is a string, we need to know the length of the string.
- open_
memstream ⚠ - p4d1dec8⚠
- p4d1dec16⚠
- p4d1dec32⚠
- p4d1dec64⚠
- p4d1dec128v16⚠
- p4d1dec128v32⚠
- p4d1dec256v32⚠
- p4d1enc8⚠
- p4d1enc16⚠
- p4d1enc32⚠
- p4d1enc64⚠
- p4d1enc128v16⚠
- p4d1enc128v32⚠
- p4d1enc256v32⚠
- p4d1encx8⚠
- p4d1encx16⚠
- p4d1encx32⚠
- p4ddec8⚠
- p4ddec16⚠
- p4ddec32⚠
- p4ddec64⚠
- p4ddec128v16⚠
- p4ddec128v32⚠
- p4ddec256v32⚠
- p4dec8⚠
- p4dec16⚠
- p4dec32⚠
- p4dec64⚠
- p4dec128v16⚠
- p4dec128v32⚠
- p4dec128v64⚠
- p4dec256v32⚠
- p4denc8⚠
- p4denc16⚠
- p4denc32⚠
- p4denc64⚠
- p4denc128v16⚠
- p4denc128v32⚠
- p4denc256v32⚠
- p4denc256w32⚠
- p4dencx8⚠
- p4dencx16⚠
- p4dencx32⚠
- p4enc8⚠
- p4enc16⚠
- p4enc32⚠
- p4enc64⚠
- p4enc128v16⚠
- p4enc128v32⚠
- p4enc128v64⚠
- p4enc256v32⚠
- p4enc256w32⚠
- p4encx8⚠
- p4encx16⚠
- p4encx32⚠
- p4encx64⚠
- p4nd1dec8⚠
- p4nd1dec16⚠
- p4nd1dec32⚠
- p4nd1dec64⚠
- p4nd1dec128v16⚠
- p4nd1dec128v32⚠
- p4nd1dec256v32⚠
- p4nd1enc8⚠
- p4nd1enc16⚠
- p4nd1enc32⚠
- p4nd1enc64⚠
- p4nd1enc128v16⚠
- p4nd1enc128v32⚠
- p4nd1enc256v32⚠
- p4nddec8⚠
- p4nddec16⚠
- p4nddec32⚠
- p4nddec64⚠
- p4nddec128v16⚠
- p4nddec128v32⚠
- p4nddec256v32⚠
- p4nddec256w32⚠
- p4ndec8⚠
- p4ndec16⚠
- p4ndec32⚠
- p4ndec64⚠
- p4ndec128v16⚠
- p4ndec128v32⚠
- p4ndec128v64⚠
- p4ndec256v32⚠
- p4ndenc8⚠
- p4ndenc16⚠
- p4ndenc32⚠
- p4ndenc64⚠
- p4ndenc128v16⚠
- p4ndenc128v32⚠
- p4ndenc256v32⚠
- p4nenc8⚠
- p4nenc16⚠
- p4nenc32⚠
- p4nenc64⚠
- p4nenc128v16⚠
- p4nenc128v32⚠
- p4nenc128v64⚠
- p4nenc256v32⚠
- p4nenc256w32⚠
- p4nsdec16⚠
- p4nsdec32⚠
- p4nsdec64⚠
- p4nsenc16⚠
- p4nsenc32⚠
- p4nsenc64⚠
- p4nzdec8⚠
- p4nzdec16⚠
- p4nzdec32⚠
- p4nzdec64⚠
- p4nzdec128v16⚠
- p4nzdec128v32⚠
- p4nzdec256v32⚠
- p4nzenc8⚠
- p4nzenc16⚠
- p4nzenc32⚠
- p4nzenc64⚠
- p4nzenc128v16⚠
- p4nzenc128v32⚠
- p4nzenc256v32⚠
- p4nzzdec128v8⚠
- p4nzzdec128v16⚠
- p4nzzdec128v32⚠
- p4nzzdec128v64⚠
- p4nzzenc128v8⚠
- p4nzzenc128v16⚠
- p4nzzenc128v32⚠
- p4nzzenc128v64⚠
- p4sdec16⚠
- p4sdec32⚠
- p4sdec64⚠
- p4senc16⚠
- p4senc32⚠
- p4senc64⚠
- p4zdec8⚠
- p4zdec16⚠
- p4zdec32⚠
- p4zdec64⚠
- p4zdec128v16⚠
- p4zdec128v32⚠
- p4zdec256v32⚠
- p4zenc8⚠
- p4zenc16⚠
- p4zenc32⚠
- p4zenc64⚠
- p4zenc128v16⚠
- p4zenc128v32⚠
- p4zenc256v32⚠
- pclose⚠
- perror⚠
- popen⚠
- printf⚠
- putc⚠
- putc_
unlocked ⚠ - putchar⚠
- putchar_
unlocked ⚠ - puts⚠
- putw⚠
- remove⚠
- rename⚠
- renameat⚠
- rewind⚠
- scanf⚠
- scanf1⚠
- setbuf⚠
- setbuffer⚠
- setlinebuf⚠
- setvbuf⚠
- snprintf⚠
- sprintf⚠
- sscanf⚠
- sscanf1⚠
- tempnam⚠
- tmpfile⚠
- tmpnam⚠
- tmpnam_
r ⚠ - ungetc⚠
- vasprintf⚠
- vdprintf⚠
- vfprintf⚠
- vfscanf⚠
- vfscanf1⚠
- vprintf⚠
- vscanf⚠
- vscanf1⚠
- vsnprintf⚠
- vsprintf⚠
- vsscanf⚠
- vsscanf1⚠
Type Aliases§
- FILE
- OmDecoder_
data Read_ t - OmVariable_
t - only expose an opaque pointer
- _Float32
- _Float64
- _Float32x
- _Float64x
- _IO_
lock_ t - __FILE
- __
blkcnt64_ t - __
blkcnt_ t - __
blksize_ t - __
builtin_ va_ list - __
caddr_ t - __
clock_ t - __
clockid_ t - __
daddr_ t - __dev_t
- __
fpos64_ t - __
fpos_ t - __
fsblkcnt64_ t - __
fsblkcnt_ t - __
fsfilcnt64_ t - __
fsfilcnt_ t - __
fsword_ t - __gid_t
- __
gnuc_ va_ list - __id_t
- __
ino64_ t - __ino_t
- __
int8_ t - __
int16_ t - __
int32_ t - __
int64_ t - __
int_ least8_ t - __
int_ least16_ t - __
int_ least32_ t - __
int_ least64_ t - __
intmax_ t - __
intptr_ t - __key_t
- __
loff_ t - __
mode_ t - __
nlink_ t - __
off64_ t - __off_t
- __pid_t
- __
quad_ t - __
rlim64_ t - __
rlim_ t - __
sig_ atomic_ t - __
socklen_ t - __
ssize_ t - __
suseconds64_ t - __
suseconds_ t - __
syscall_ slong_ t - __
syscall_ ulong_ t - __
time_ t - __
timer_ t - __
u_ char - __u_int
- __
u_ long - __
u_ quad_ t - __
u_ short - __uid_t
- __
uint8_ t - __
uint16_ t - __
uint32_ t - __
uint64_ t - __
uint_ least8_ t - __
uint_ least16_ t - __
uint_ least32_ t - __
uint_ least64_ t - __
uintmax_ t - __
useconds_ t - cookie_
close_ function_ t - cookie_
io_ functions_ t - cookie_
read_ function_ t - cookie_
seek_ function_ t - cookie_
write_ function_ t - fpos_t
- int_
fast8_ t - int_
fast16_ t - int_
fast32_ t - int_
fast64_ t - int_
least8_ t - int_
least16_ t - int_
least32_ t - int_
least64_ t - intmax_
t - off_t
- uint_
fast8_ t - uint_
fast16_ t - uint_
fast32_ t - uint_
fast64_ t - uint_
least8_ t - uint_
least16_ t - uint_
least32_ t - uint_
least64_ t - uintmax_
t - va_list
- wchar_t