-
Notifications
You must be signed in to change notification settings - Fork 658
Add ZSTD Compressor #2147
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
Draft
TodicaIonut
wants to merge
46
commits into
AcademySoftwareFoundation:main
Choose a base branch
from
TodicaIonut:New-Zstd-compressor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Add ZSTD Compressor #2147
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
eb9e7c5
zstd debug
TodicaIonut 55878c0
Merge branch 'AcademySoftwareFoundation:main' into New-Zstd-compressor
TodicaIonut fcc78aa
c-blosc2
TodicaIonut a3c984e
Zstd Compressor
TodicaIonut ca0ddb7
Add zstd
TodicaIonut 5b22213
install Blosc2
TodicaIonut 0004967
error Add zstd
TodicaIonut 5760525
Fix
TodicaIonut 049c635
openexr error code
TodicaIonut 4f907e8
ZSTD part
TodicaIonut 0ee5700
Zstd build
TodicaIonut 5a10de3
OpenEXR blosc2
TodicaIonut 400de68
CMakeLists blosc2
TodicaIonut e9d09ee
CMakeLists blosc2
TodicaIonut 7e49cd1
zstd compression level
TodicaIonut de5d0ae
Add ZSTD
TodicaIonut 7f481ff
Compression ZSTD
TodicaIonut 9eb9418
blosc zstd
TodicaIonut ea09170
zstd Compression Level
TodicaIonut bca4954
zstd Compression Level
TodicaIonut 9259457
zstd Compression Level
TodicaIonut 29e33e8
set Zstd Level
TodicaIonut 2eecde0
zstd level
TodicaIonut a4b8174
zstd level
TodicaIonut 500321c
context zstd level
TodicaIonut ad2165d
zstd compression level
TodicaIonut c4a5f20
get zstd compression level test
TodicaIonut d5c8494
zstd level test
TodicaIonut 9f63ad4
Deep ScanLine test zstd
TodicaIonut 6c31833
test Large ZSTD
TodicaIonut 91db8f2
zstd Compression Level
TodicaIonut 661cda2
exrmetrics zstd
TodicaIonut f9b2efc
zstd
TodicaIonut 465df39
zstd
TodicaIonut 8d12714
zstd
TodicaIonut c376554
zstd compression level
TodicaIonut 23226f8
test ZSTD
TodicaIonut 9471de7
test Deep Zstd
TodicaIonut 84aafd7
test Deep Zstd
TodicaIonut 9a4d8a6
test ZSTD
TodicaIonut edfa8d2
blosc2
TodicaIonut b9feaa3
c-blosc2
TodicaIonut b3906bf
Fix Blosc2
TodicaIonut 057703a
Fix bulid
TodicaIonut ea6fdef
Fix c-blosc2
TodicaIonut f6a1097
thread blosc2
TodicaIonut File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,12 +5,10 @@ | |
|
|
||
| include(CMakeFindDependencyMacro) | ||
|
|
||
| set(openexr_needthreads @OPENEXR_ENABLE_THREADING@) | ||
| if (openexr_needthreads) | ||
| set(THREADS_PREFER_PTHREAD_FLAG ON) | ||
| find_dependency(Threads) | ||
| endif() | ||
| unset(openexr_needthreads) | ||
| # blosc2 needs threads, so we set it irrespective of OPENEXR_ENABLE_THREADING | ||
| # which enables threaded processing of requests. | ||
| set(THREADS_PREFER_PTHREAD_FLAG ON) | ||
| find_dependency(Threads) | ||
|
|
||
| find_dependency(Imath) | ||
|
|
||
|
|
@@ -22,5 +20,9 @@ if (@openjph_FOUND@) | |
| find_dependency(openjph) | ||
| endif() | ||
|
|
||
| if (@c-blosc2_FOUND@) | ||
| find_dependency(c-blosc2) | ||
| endif() | ||
|
|
||
| include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]") | ||
| check_required_components("@PROJECT_NAME@") | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| // | ||
| // SPDX-License-Identifier: BSD-3-Clause | ||
| // Copyright (c) Contributors to the OpenEXR Project. | ||
| // | ||
|
|
||
| #include "ImfZstdCompressor.h" | ||
|
|
||
| OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_ENTER | ||
|
|
||
| ZstdCompressor::ZstdCompressor (const Header& hdr, size_t maxScanLineSize, int scanLines) | ||
| : Compressor (hdr, EXR_COMPRESSION_ZSTD, maxScanLineSize, scanLines) | ||
| {} | ||
|
|
||
| ZstdCompressor::~ZstdCompressor () | ||
| {} | ||
|
|
||
| OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_EXIT |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Vertexwahn c-blosc2 newest release of the library (2.21.3) work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TodicaIonut Sorry - this slipped through my fingers - just got aware of this and created this PR: bazelbuild/bazel-central-registry#6461 - on this is merged you can use the newest version