Commit graph

57 commits

Author SHA1 Message Date
03718f0b3d
bug fix in call to calc_xi macro 2024-10-09 21:30:28 +02:00
9513edb181
add SIG2XI in argument list to calc_xi macro 2024-10-09 21:30:27 +02:00
11f4a68fd4
refactor: move duplicated code into macro (k_mag) 2024-10-09 21:30:27 +02:00
2ddd711267
refactor: move duplicated code into macro (xi) 2024-10-09 21:30:27 +02:00
55921f7d9a
refactor: move duplicated code into macro (k_sig) 2024-10-09 21:30:26 +02:00
d8e2e58862
adjust Fortran API 2024-10-09 21:30:26 +02:00
06b96ae5af
adjust python API 2024-10-09 21:30:12 +02:00
4baaaddf5f
remove bwc_free_data 2024-10-09 21:30:03 +02:00
68fcedc9ff
rename field->codec for bwc_codec variables 2024-10-09 14:18:42 +02:00
366827ca4a
align integer precision for all dimensions, adaptations in fourth dimension 2024-09-18 14:41:29 +02:00
e970a0d892
uint64 for number of time steps parameter 2024-09-17 13:04:30 +02:00
bbc538d5e8
Merge pull request 'Cleaned memory management for bitstream' (#41) from develop-gws into feat/api 2024-07-09 11:45:28 +02:00
3242165d90
remove unused bwc_span bwc_stream.codestream.data 2024-07-03 10:47:50 +02:00
1c41147b73
resolved terminate_stream into shrink_to_fit and transfer_to_span.
transferal of stream to span not required in assemble_codestream anymore.
assemble_codestream and bwc_compress return the size of the compressed data.
user provided buffer is used.
2024-07-03 10:47:49 +02:00
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
e831bec061
Refactored template files to reflect the new coding style 2024-07-03 08:04:43 +02:00
6f3b03bcb5
Merge pull request 'Bug in CMakeLists.txt' (#37) from cmake/bug-fix into main 2024-07-02 10:07:58 +02:00
0622e79aab
add .vscode to .gitignore 2024-07-01 21:08:29 +02:00
1cebbd2d2c
Bug in CMakeLists.txt (signed commit)
Currently, cmake throws
```
CMake Error at CMakeLists.txt:134 (if):
  if given arguments:

    "Release" "STREQUAL" "Release" "OR"

  Unknown arguments specified
```
from here

41ec39574f/CMakeLists.txt (L134)

Fix on would be
```
if("${CMAKE_BUILD_TYPE}" STREQUAL "Release" OR "${OMP}")
```
2024-07-01 20:32:31 +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
ed91f1d15c
Added the option to enable OpenMP parallelization during debug 2024-06-28 11:28:34 +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
86979f8ffa
Merge branch 'fix-public-header-creation' 2024-04-15 16:48:20 +02:00
ecf6c6ffc1
Reset printFlg during derived types parsing. 2024-04-15 16:08:59 +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
27cdf8d389
hardcode somewhat logical order of header files in public_header.py
append possibly missing header files
assumes that missing header files need no dedicated position in list
2024-04-12 12:13:47 +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
9aabc7b4f3
Corrected the cloning instructions in the README.md file. 2024-03-06 13:30:08 +01:00
a2543802f7
Added Credits section to README.md 2024-03-04 11:39:29 +01:00
e3dcc28902
Cleanup of constant and macro definitions. 2024-02-22 17:20:38 +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
d2b88391b9
Updated Repository Logo 2024-02-22 10:23:54 +01:00
6b58b19126
Corrected href link in README.md 2024-02-15 14:08:51 +01:00
946d9de81b
Correct link to BigWhoop Logo 2024-02-15 14:01:45 +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
db5f6a4e5f
Merge remote-tracking branch 'origin/main' 2024-02-01 15:36:11 +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
a14539d5ec
Interfacing with C++ -- 'extern "C"' 2024-01-25 17:01:16 +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