-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use another filter ID for fixed bytedelta
- Loading branch information
1 parent
f14aa15
commit e5ff89e
Showing
6 changed files
with
123 additions
and
79 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
Copyright (c) 2021 The Blosc Development Team <[email protected]> | ||
Copyright (c) 2021 The Blosc Development Team <[email protected]> | ||
https://blosc.org | ||
License: BSD 3-Clause (see LICENSE.txt) | ||
*/ | ||
|
@@ -29,11 +29,21 @@ void register_filters(void) { | |
ndmean.backward = &ndmean_backward; | ||
register_filter_private(&ndmean); | ||
|
||
// Buggy version. See #524 | ||
blosc2_filter bytedelta_v1; | ||
bytedelta_v1.id = BLOSC_FILTER_BYTEDELTA_V1; | ||
bytedelta_v1.name = "bytedelta_v1"; | ||
bytedelta_v1.version = 1; | ||
bytedelta_v1.forward = &bytedelta_forward_v1; | ||
bytedelta_v1.backward = &bytedelta_backward_v1; | ||
register_filter_private(&bytedelta_v1); | ||
|
||
// Fixed version. See #524 | ||
blosc2_filter bytedelta; | ||
bytedelta.id = BLOSC_FILTER_BYTEDELTA; | ||
bytedelta.name = "bytedelta"; | ||
bytedelta.version = 1; | ||
bytedelta.forward = &bytedelta_forward; | ||
bytedelta.backward = &bytedelta_backward; | ||
register_filter_private(&bytedelta); | ||
|
||
} |