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

Support non-byte aligned pixel lengths #709

Open
Makuna opened this issue May 29, 2023 · 0 comments
Open

Support non-byte aligned pixel lengths #709

Makuna opened this issue May 29, 2023 · 0 comments
Labels
enhancement future consideration This issue is tracking a feature for consideration in any future major work.

Comments

@Makuna
Copy link
Owner

Makuna commented May 29, 2023

Some Chips support 12bit per color element (total of 36 bits per pixel) which are not byte aligned and thus the current Feature/Method model can't support.
The feature model today assumes a pixel of data is always in byte length sizes.

Describe the solution you'd like
Enhance the features to support bits rather than bytes for pixel length.
Some methods use look up tables to quickly encode/form the output data for the hardware peripheral they use; these tables also makes assumptions about the size, but often it is only two bits minimum.

Describe alternatives you've considered
Two or four bits size increments due to method limitations.

Additional context
#705

@Makuna Makuna added enhancement future consideration This issue is tracking a feature for consideration in any future major work. labels May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement future consideration This issue is tracking a feature for consideration in any future major work.
Projects
None yet
Development

No branches or pull requests

1 participant