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

openimageio 2.3 allows us to use stride when creating ImageBuf #1879

Open
dankamongmen opened this issue Jul 4, 2021 · 0 comments
Open

openimageio 2.3 allows us to use stride when creating ImageBuf #1879

dankamongmen opened this issue Jul 4, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request hax0rs-wanted looking to hack on notcurses? try these perf sweet sweet perf

Comments

@dankamongmen
Copy link
Owner

currently, in ncvisual_from_rgba() and friends, we repack any discontiguous rows so that they are contiguous. with openimageio 2.3, we can pass an xstride in (see AcademySoftwareFoundation/OpenImageIO#3022 (comment)), and thus don't need to perform the rearrangement/copy. detect 2.3, and use this functionality when available.

@dankamongmen dankamongmen added documentation Improvements or additions to documentation enhancement New feature or request perf sweet sweet perf hax0rs-wanted looking to hack on notcurses? try these labels Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request hax0rs-wanted looking to hack on notcurses? try these perf sweet sweet perf
Projects
None yet
Development

No branches or pull requests

1 participant