AcademySoftwareFoundation / AcademySoftwareFoundation/openexr
feature request: signed strides
- Dominant language
- C
- Stars
- 1.8k
- Forks
- 700
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 29
Description
Frame buffer slice strides are non-negative as per:
https://github.com/openexr/openexr/blob/d778a0b47b18fe1ede3824fe013cea9dd7404360/OpenEXR/IlmImf/ImfFrameBuffer.h#L98-L99
Negative strides could be useful for flipping images at I/O time.
Would it be possible to change `size_t` to `ssize_t` at the next ABI-break-point?
Contributor guide
Research direction
Start with the linked declaration in OpenEXR/IlmImf/ImfFrameBuffer.h and review how frame-buffer slice strides are represented. Determine the ABI implications of changing size_t to ssize_t and define what signed strides would need to support for image flipping at I/O time.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100