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

WIP 2D encoding #608

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

WIP 2D encoding #608

wants to merge 4 commits into from

Conversation

cskiraly
Copy link
Contributor

@cskiraly cskiraly commented Nov 9, 2023

This a 2D encoding provider, built using the same interface used for 1D

Decoding is only partial, since the underlying Leopard API does not support decoding of parity segments. It seems this can be fixed, but we don't really need full decoding now, except for tests.

After some thought, this doesn't seem like the right way of integrating it in our code, as it is intertwined with the manifest creation, which is being changed. I still keep it here as a WIP PR for eventual future use.

this is just a copy of the 1d RS encoder

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
decode was only retrieving ecK pieces, which is OK with MDS,
but not working with 2D RS and other non MDS codes.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
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

Successfully merging this pull request may close these issues.

None yet

1 participant