feat/api #46

Open
Gregor Weiss wants to merge 55 commits from feat/api into main

55 commits

Author SHA1 Message Date
d49754381b
Docstring in libbwc.c and bits of renaming. 2024-11-08 11:03:59 +01:00
a2309b0ba2 Merge pull request 'cmdl-tool' (#45) from cmdl-tool into feat/api
Reviewed-on: #45
2024-11-07 15:40:28 +00:00
3353fd7795
refactor; uchar -> unsigned char 2024-11-07 16:26:52 +01:00
a84768bbec
refactor; print (verbose) header, I/O, and control parameters 2024-11-07 16:26:20 +01:00
64eeda9072
bug fix; wrong size in memcpy 2024-11-07 13:42:16 +01:00
742fb3bc78
mse and psnr analysis 2024-11-07 13:41:38 +01:00
6176fea676
header info mode 2024-11-07 10:32:38 +01:00
acf703f650
refactor/clean up in cmdl tool 2024-11-06 17:23:09 +01:00
1a087c1c85
Update docstrings in eas3.c 2024-11-06 15:42:56 +01:00
d4acd85c37
bwc_to_eas3 and writing decompressed data, tested output can be parsed to compress again 2024-11-06 15:05:08 +01:00
d13354078b
enqueue parameter names in auxiliary information 2024-11-05 18:43:45 +01:00
5d5aafae37
bug fixes in bwc_set_aux and bwc_set_com, both missing allocation of bwc_span 2024-11-05 11:12:12 +01:00
55ad00d6c5
fill eas3 auxiliary information in cmdl tool compression 2024-11-05 11:10:00 +01:00
9167ec48f3
doxygen in types.h 2024-11-05 11:09:13 +01:00
d1bfb5236a
fill eas3_data form bwc_stream and bwc_codec 2024-11-05 11:07:24 +01:00
d631f693c9
initial decompression workflow in cmdl tool 2024-11-05 08:08:41 +01:00
12f937ecac
open and close header with new header structure 2024-11-04 13:58:28 +01:00
92a646b5e0
refactor and typos 2024-10-31 14:31:34 +01:00
f81807e1e3
Fixed some memory leak issues. 2024-10-30 12:38:56 +01:00
6716a2b1d4
Updated the WARNING messages to fit the layout of the verbose command line tool output. 2024-10-29 19:03:11 +01:00
d979950626
Implemented the compression path with verbose output and support for all options available to the user. 2024-10-29 19:02:44 +01:00
90645bcf1b
Implemented the arg_parse function for bwccmdl and added preliminary mode setting functionality for main. 2024-10-28 11:05:34 +01:00
6d5dc06446
Modified eas3 interface to decouple it from the command line tool. 2024-10-28 11:04:18 +01:00
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