Commit graph

72 commits

Author SHA1 Message Date
26c00bd4e3
refactor aux buffer and macros 2024-10-18 11:23:12 +02:00
a5d67f8470
remove span, eas3_bytes_used, eas3_init_stream 2024-10-18 11:06:52 +02:00
b8a1df1c11
rename aux_push_back to aux_enqueue 2024-10-18 10:59:09 +02:00
1175e8b71f
remove eas3_get_chunck 2024-10-18 10:56:00 +02:00
58ab32e393
implement aux_dequeue, test, and remove aux span 2024-10-18 10:55:00 +02:00
df2ad56f14
remove eas3_emit_chunck and eas3_terminate_stream 2024-10-18 08:22:53 +02:00
31ed09982e
manual aux buffer 2024-10-18 08:20:16 +02:00
e0bc0d8839
comments; todo implement 2024-10-17 15:20:31 +02:00
43dc27014b
initial test compression with new api; working eas3 reader 2024-10-17 15:16:19 +02:00
49a9cf3d63
don't close on null file pointer 2024-10-17 14:33:35 +02:00
e101bd2404
correct usage of params and param_names 2024-10-17 14:32:50 +02:00
46358b4c1f
rename functions and bitstream stuff to avoid redefinitions 2024-10-17 14:30:53 +02:00
62c9bc1a21
adjust write_eas3 2024-10-16 11:14:36 +02:00
858808a46c
adjust read_eas3 2024-10-16 11:11:34 +02:00
379e10d5a2
adjust write_eas3_header 2024-10-16 10:34:25 +02:00
00f9e720e9
adjust read_eas3_header 2024-10-16 10:31:15 +02:00
b48525b8e4
add eas3_param_names linked list and functionality to extend
eas3_add_param_name
also add eas3_free_data
2024-10-16 10:19:30 +02:00
ae7d48c458
adjusted terminate_stream to shallow copy between two bitstreams 2024-10-15 17:58:21 +02:00
60b5c6c80a
new eas3_data struct and mods in bitstream eas3_std_params 2024-10-15 17:56:29 +02:00
fc922d4354
New Command Line Tool Framework 2024-10-15 11:10:13 +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