Commit graph

23 commits

Author SHA1 Message Date
0673dafb64
rename init_stream(...) -> init_bitstream(...).
init_bitstream without allocation.
emit_symbol and emit_chunck without reallocation.
2024-07-03 10:47:49 +02:00
ad3a1ad061
Symmetrize API for compression and decompression to follow
- allocate codec
- initialize stream (using input data/codestream and output buffer from user)
- create (de-)compression
- run (de-)compression
2024-07-03 10:47:09 +02:00
008ccfa4a9
Reorganize bwc_field and bwc_data to split codec settings and data stream semantically into data structures bwc_codec and bwc_stream.
Cleaning up by removal of redundant information like parameter linked list, file extension, and file pointer including associated functionality.
Start constructing an API taking void pointers to the original data for compression.
2024-07-03 10:47:08 +02:00
41ec39574f
Pulled the start and end variables used for time measurements in the profiling block to avoid warnings during compilation without profiling. 2024-06-28 13:05:22 +02:00
b3f594771f
Previously the library accepted a max of 255 threads for compression. The limit has now been extended to 9 223 372 036 854 775 807, which should suffice for the next couple of years. 2024-06-28 11:27:58 +02:00
58596bb3e4
Fixed issue with handling OpenMP integration for debugging. 2024-06-26 14:20:55 +02:00
501a36d568
Combined the assemble_main_header and codestream_write_header function and added the codestreamSize value as a length identifier to the Start of Code-Stream (SOC) marker to allow for proper decompression without the user having to supply the codestreamSize through an API call. Functions to append com and aux header blocks have been removed and functionality is now provided by codestream_write_header function. 2024-06-25 20:54:44 +02:00
1330d5b262
Moved metering to a compile time option to streamline API 2024-06-24 16:31:02 +02:00
3920405c4c
API Clean Up to remove unsupported (de)compression instructions. 2024-04-30 17:04:30 +02:00
f66091747a
Warn if new header files in include/library/private are not included in either include_files or exclude_files lists for bwc.h generation. 2024-04-15 13:59:39 +02:00
bf719d3a1d
bug fix: assert on unassigned variable dim 2024-04-12 10:34:13 +02:00
695d518f76
Ported python interface to new coding style 2024-03-28 07:31:42 +01:00
eae976b9ba
Removed the streaming functions from the public header to clean up the API. 2024-02-22 16:25:52 +01:00
8850d525f2
Ported Header files to new coding standard. 2024-02-22 11:27:40 +01:00
e9617107aa
Removed the bwc_set_nThreads function in favor of the OMP_NUM_THREADS environment variable/set omp_set_num_threads function to clean up the API 2024-02-15 11:55:03 +01:00
e6abc9fd81
bug fix in initialize_tagtree; correctly incrementing to parent nodes in y direction. 2024-02-12 15:57:02 +01:00
e5eccfe858
bug fix setting number of threads 2024-02-09 10:31:30 +01:00
31c03e45d2
Removed sampling operation to simplify API since it falls outside of the purview of the compression library. 2024-02-01 15:35:35 +01:00
2ca0cd8be1
Bug fixed where comparison between supported and actual output file format during compression would fail due to inclusion of period '.' in comparison. Additionally the decompression output formatting was adapted to the format used for compression output. 2024-01-22 16:51:30 +01:00
ecaa8be636
Initial fortran interface commit. 2024-01-22 15:48:08 +01:00
395fb176c5
config-file packaging for find_package() in linking CMake projects 2024-01-22 15:28:51 +01:00
9d85a8c8e2 specify PUBLIC_HEADER destination in bwclib target
avoids duplication of bwc.h in installation include/lib directories
2024-01-22 14:38:26 +01:00
Patrick Vogler
bfa813fcb1
Initial commit 2023-06-20 13:43:33 +02:00