Skip to content
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

consider sector clustering #16

Open
zeromus opened this issue Jul 12, 2016 · 0 comments
Open

consider sector clustering #16

zeromus opened this issue Jul 12, 2016 · 0 comments

Comments

@zeromus
Copy link
Owner

zeromus commented Jul 12, 2016

For better compression, we could cluster several sectors together. This would have to be optional. The size of clusters would be put in the header. Any given user of libjad would have to reject clusters larger than it's prepared to deal with (embedded systems may not have huge sector buffers)

Howevever, due to the concept for how the sector encoding works, this might be really difficult. Basically, all the filters are designed to operate on one sector at a time. Maybe we'd need a special encode stream command which said to extend the range of operation across several sectors worth. For instance a command like "just do basic decompression of 2340 bytes (that is, excluding sync)" would change to "just do basic decompression of 2340 bytes, twice (and skip both sync fields)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant