Comments (2)
I'm interested in helping with this one, as well as data-shrinker. Does the patch at the following location represent the amount of changes needed to integrate a new codec?
http://pastebin.com/gn60AEFs
Or is there additional work needed (beyond the implied work such as verifying it all checks out okay)? And in particular is the code in a good place for this kind of integration or are there anticipated API changes?
from squash.
I'm interested in helping with this one, as well as data-shrinker. Does the patch at the following location represent the amount of changes needed to integrate a new codec?
In general yes, there are a lot of plugins like that. There are two common API types out there which it's really easy to integrate with Squash, and libzlg follows one of them (it's the same type of API as LZ4, Snappy, LZF, FastLZ, etc.). The other one is a zlib-style stream API (like zlib, bzip2, and liblzma use).
CRUSH will require a bit more work because there is no API designed to allow you to use CRUSH as a library. Basically, fixing this issue will require some significant changes to CRUSH. I'm considering adding some code to Squash which will handle FILE* stream APIs transparently (by using a thread and pipe(2)), but I'm leaning towards not doing it since it's really hackish and performance would suck. That said, it would make CRUSH, BALZ, zlite, etc. trivial to integrate.
If you want, I'm nemequ on IRC (FreeNode and GIMPNet), or at gmail.com for XMPP. That's a bit more convenient than the issue tracker if you have trouble while you're working on a plugin.
Or is there additional work needed (beyond the implied work such as verifying it all checks out okay)? And in particular is the code in a good place for this kind of integration or are there anticipated API changes?
The liblzg example is a good place to start, CRUSH definitely wouldn't be. I don't plan any backwards-incompatible API changes for plugins, but I'm not making guarantees yet.
from squash.
Related Issues (20)
- Support for PGI compilers
- Support for Lizard HOT 2
- Some variadic functions rely on undefined behavior
- Adding lzfse benchmarks HOT 2
- cmake: zlib-ng check failure HOT 7
- Make use of all zstd compression levels? HOT 2
- Pareto frontier? HOT 3
- Compression ratio ambiguity in all charts
- Include video compression dataset? HOT 1
- dynamic benchmark result with echarts scatter
- Zstd Squash Compression Benchmark contain only one level HOT 1
- Include genomics dataset
- Aligned alloc/free might have bug
- Introduce igzip which ultra fast impl compatible with zlib
- Example doesn't show how to use squash_decompress with unknown decompressed length HOT 2
- Add compression level 0 for Brotli
- Where is the blosc?
- Update ZStandard, Increase Range HOT 1
- Add zopfli (gzip) compressor
- add lzturbo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squash.