-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modules/zstd: Add sequence decoding #1362
base: main
Are you sure you want to change the base?
Commits on Jul 24, 2024
-
modules/zstd: Add buffer library
This commit adds a DSLX Buffer library that provides the Buffer struct, and helper functions that can be used to operate on it. The Buffer is meant to be a storage for data coming from the channel. It acts like a FIFO, allowing data of any length to be put in or popped out of it. Provided DSLX tests verify the correct behaviour of the library. Internal-tag: [#50221] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bccd3d3 - Browse repository at this point
Copy the full SHA bccd3d3View commit details -
modules/zstd: Add Buffer use-case example
This commit adds a simple test that shows, how one can use the Buffer struct inside a Proc. Internal-tag: [#50221] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04bf3e8 - Browse repository at this point
Copy the full SHA 04bf3e8View commit details -
modules/zstd: Add library for parsing magic number
This commit adds the library with functions for parsing a magic number and tests that verify its correctness. Internal-tag: [#50221] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a43fa9c - Browse repository at this point
Copy the full SHA a43fa9cView commit details -
modules/zstd: Add library for parsing frame header
This commit adds the library with functions for parsing a frame header. The provided tests verify the correcness of the library. Internal-tag: [#49967] Co-authored-by: Roman Dobrodii <[email protected]> Co-authored-by: Pawel Czarnecki <[email protected]> Signed-off-by: Robert Winkler <[email protected]> Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3048bf - Browse repository at this point
Copy the full SHA d3048bfView commit details -
dependency_support/libzstd: Make zstd_errors.h public
Required for expected_status inference in C++ tests for ZSTD decoder components Internal-tag: [#53465] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86de6a7 - Browse repository at this point
Copy the full SHA 86de6a7View commit details -
dependency_support: Add decodecorpus binary
Internal-tag: [#50967] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3208de7 - Browse repository at this point
Copy the full SHA 3208de7View commit details -
modules/zstd: Add data generator library
This commit adds a binary that calls decoding to generate data and loads it into a vector of bytes. Internal-tag: [#50967] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9375be5 - Browse repository at this point
Copy the full SHA 9375be5View commit details -
modules/zstd: Add zstd frame header tests
Internal-tag: [#50967] Co-authored-by: Pawel Czarnecki <[email protected]> Signed-off-by: Robert Winkler <[email protected]> Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c65b32c - Browse repository at this point
Copy the full SHA c65b32cView commit details -
modules/zstd: Add common zstd definitions
Internal-tag: [#51343] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 236d96e - Browse repository at this point
Copy the full SHA 236d96eView commit details -
modules/zstd: Add raw block decoder
Internal-tag: [#51343] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4fecaca - Browse repository at this point
Copy the full SHA 4fecacaView commit details -
modules/zstd: Add rle block decoder
Adds RleBlockDecoder responsible for decoding Blocks of RLE_Block Block_Type as specified in RFC 8878, paragraph 3.1.1.2.2. https://datatracker.ietf.org/doc/html/rfc8878#section-3.1.1.2.2 RleBlockDecoder communicates through BlockDataPacket channels. It reuses existing RunLengthDecoder block which is interfaced through two seprate procs: * RleDataPacker * BatchPacker Which are responsible for converting input data into format accepted by RLE decoder and for gathering RLE decoder output symbols into batches which are then send out through BlockDataPacket. Internal-tag: [#51473] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f2d89b - Browse repository at this point
Copy the full SHA 6f2d89bView commit details -
modules/zstd: Add block header parsing library
Internal-tag: [#51343] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4bd9c40 - Browse repository at this point
Copy the full SHA 4bd9c40View commit details -
modules/zstd: Add SequenceExecutorPacket to common definitions
Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3de695e - Browse repository at this point
Copy the full SHA 3de695eView commit details -
modules/zstd: Add block data muxer library
This commit adds DecoderMux Proc, which collects data from specialized Raw, RLE, and Compressed Block decoders and re-sends them in the correct order. Internal-tag: [#51343] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c525a6 - Browse repository at this point
Copy the full SHA 1c525a6View commit details -
modules/zstd: Add block demuxer library
This DSLX proc responsibility is to dispatch encoded blocks to a correct decoder: RAW, RLE, COMPRESSED. It tracks and assigns block IDs. The ID counter is reset on the frame's last block on the last data packet. Internal-tag: [#51736] Co-authored-by: Robert Winkler <[email protected]> Signed-off-by: Maciej Dudek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27573e2 - Browse repository at this point
Copy the full SHA 27573e2View commit details -
modules/zstd: Add block decoder module
This adds a decoder of block data. It decodes block header and demuxes remaining input data into one of specific block decoders depending on the type of the parsed block. Then it muxes outputs from those decoders into single output channel. Internal-tag: [#51873] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 323214e - Browse repository at this point
Copy the full SHA 323214eView commit details -
modules/zstd/common: Specify decoder output format
Internal-tag: [#52954] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f19952 - Browse repository at this point
Copy the full SHA 4f19952View commit details -
examples/ram: Export internal RAM API to other modules
This commit marks SimultaneousReadWriteBehavior enum and num_partitions function as public to allow for creating simpler tests that interact with RAM models. Internal-tag: [#53241] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 410d78c - Browse repository at this point
Copy the full SHA 410d78cView commit details -
modules/zstd: Add Offset type to common zstd definitions
Internal-tag: [#54705] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b613d2 - Browse repository at this point
Copy the full SHA 0b613d2View commit details -
modules/zstd: Add RamPrinter Proc
This commit adds RAM printer block usefull for debugging HistoryBuffer inside SequenceExecutor. Internal-tag: [#54705] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ca18c4 - Browse repository at this point
Copy the full SHA 0ca18c4View commit details -
modules/zstd: Add SequenceExecutor Proc
Add Proc responsible for handling ZSTD Sequence Execution step, which is described in: https://datatracker.ietf.org/doc/html/rfc8878#name-sequence-execution Internal-tag: [#54705] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02fc78c - Browse repository at this point
Copy the full SHA 02fc78cView commit details -
modules/zstd: Add repacketizer
Internal-tag: [#52954] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 43a637d - Browse repository at this point
Copy the full SHA 43a637dView commit details -
modules/zstd: Add ZSTD decoder
This commit adds a ZSTD decoder module that parses ZSTD frames. The provided tests examine the model using C++ API, which is a prerequisite for detailed tests using zstd library. Internal-tag: [#50221] Co-authored-by: Maciej Dudek <[email protected]> Co-authored-by: Pawel Czarnecki <[email protected]> Signed-off-by: Maciej Dudek <[email protected]> Signed-off-by: Pawel Czarnecki <[email protected]> Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96b6efd - Browse repository at this point
Copy the full SHA 96b6efdView commit details -
modules/zstd: Add ZSTD Decoder documentation
Internal-tag: [#52186] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c3b07c - Browse repository at this point
Copy the full SHA 4c3b07cView commit details -
examples/ram: use assert!() instead of assert_eq() in RamModel
Internal-tag: [#52186] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 57afc0f - Browse repository at this point
Copy the full SHA 57afc0fView commit details -
CI: Add custom ZSTD module workflow
Internal-tag: [#52186] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab5fb05 - Browse repository at this point
Copy the full SHA ab5fb05View commit details -
[FIXUP] Update copyrights notice and add missing license header
Internal-tag: [#52186] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 495353d - Browse repository at this point
Copy the full SHA 495353dView commit details -
Internal-tag: [#52186] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 593e40c - Browse repository at this point
Copy the full SHA 593e40cView commit details -
[FIXUP] Add manual tags to test rules
Internal-tag: [#52186] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc6cb3c - Browse repository at this point
Copy the full SHA dc6cb3cView commit details -
[FIXUP] restore original main CI workflow
Internal-tag: [#52186] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d7463ba - Browse repository at this point
Copy the full SHA d7463baView commit details -
[FIXUP] Explicitly run test targets in ZSTD CI workflow
Internal-tag: [#52186] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b46ee8c - Browse repository at this point
Copy the full SHA b46ee8cView commit details -
[FIXUP] document the usage of libzstd dependency
Internal-tag: [#52186] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ddd7ce - Browse repository at this point
Copy the full SHA 9ddd7ceView commit details -
[FIXUP] return reference to the data vector
Internal-tag: [#52186] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9483420 - Browse repository at this point
Copy the full SHA 9483420View commit details -
[FIXUP] fix RLE block handling in decodecorpus
Internal-tag: [#52186] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a16c27a - Browse repository at this point
Copy the full SHA a16c27aView commit details -
[FIXUP] fix generating data when we don't force the block type
Internal-tag: [#52186] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c350b5 - Browse repository at this point
Copy the full SHA 8c350b5View commit details -
modules/zstd/frame_header_test: Reproduce bugs
Internal-tag: [#60906] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c5011c - Browse repository at this point
Copy the full SHA 5c5011cView commit details -
[FIXUP] return expect empty buffer on the unsupported windows size error
Internal-tag: [#60906] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc33b0b - Browse repository at this point
Copy the full SHA cc33b0bView commit details -
[FIXUP] Handle special case of difference between libzstd and ZSTD de…
…coder Internal-tag: [#60906] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2aef289 - Browse repository at this point
Copy the full SHA 2aef289View commit details -
[FIXUP] Add DSLX test case for unsupported FCS
Internal-tag: [#60906] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 14fe3f0 - Browse repository at this point
Copy the full SHA 14fe3f0View commit details -
[FIXUP] fix max_window_size calculation types
Internal-tag: [#52186] Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e3804ff - Browse repository at this point
Copy the full SHA e3804ffView commit details -
Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cdeff69 - Browse repository at this point
Copy the full SHA cdeff69View commit details -
[FIXUP] shorten test case names in frame_header tests
Signed-off-by: Pawel Czarnecki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 210e322 - Browse repository at this point
Copy the full SHA 210e322View commit details -
Signed-off-by: Maciej Dudek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba7eda4 - Browse repository at this point
Copy the full SHA ba7eda4View commit details
Commits on Jul 30, 2024
-
modules/zstd: Add buffer implementing desired API
Add a buffering proc that implements the desired API of the final buffering mechanism. A more efficient implementation will be provided later. Internal-tag: [#55149] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f758928 - Browse repository at this point
Copy the full SHA f758928View commit details -
modules/zstd: Add common FSE definitions
Internal-tag: [#57353] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 934ef92 - Browse repository at this point
Copy the full SHA 934ef92View commit details -
modules/zstd: Add a proc handling RAM write completion
Internal-tag: [#57353] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fc12f1 - Browse repository at this point
Copy the full SHA 1fc12f1View commit details -
modules/zstd: Add FSE probability frequency decoder
Internal-tag: [#57353] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aab399d - Browse repository at this point
Copy the full SHA aab399dView commit details -
modules/zstd: Add proc for generating symbol order for FSE lookup
Internal-tag: [#57353] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 807275b - Browse repository at this point
Copy the full SHA 807275bView commit details -
modules/zstd: Add CommandConstructor proc
Internal-tag: [#58422] Signed-off-by: Ryszard Rozak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4935945 - Browse repository at this point
Copy the full SHA 4935945View commit details -
Internal-tag: [#58557] Co-authored-by: Ryszard Rozak <[email protected]> Co-authored-by: Maciej Torhan <[email protected]> Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4b23a24 - Browse repository at this point
Copy the full SHA 4b23a24View commit details -
modules/zstd: Add FSE table creator
Internal-tag: [#57353] Signed-off-by: Robert Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c15b8d4 - Browse repository at this point
Copy the full SHA c15b8d4View commit details -
modules/zstd: Update FSE branch
Signed-off-by: Maciej Torhan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c0d935 - Browse repository at this point
Copy the full SHA 7c0d935View commit details -
modules/zstd: Add FseDecoder implementation
Signed-off-by: Maciej Torhan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9b273b2 - Browse repository at this point
Copy the full SHA 9b273b2View commit details