Group them into an enum rather than random #defines, and document their behavior a bit more obviously. Of particular note, I discovered that SWS_DIRECT_BGR is not referenced anywhere else in the code base. As such, I have moved it to the deprecated section, alongside SWS_ERROR_DIFFUSION.
Showing the changes to doc/APIchanges (1 of 3 files). Show all
Unified · Split
| @@ -2,6 +2,9 @@ The last version increases of all libraries were on 2024-03-07 · 1 unmodified line | ||
| 2 | 2 | |
| 3 | 3 | API changes, most recent first: |
| 4 | 4 | |
| 5 | +2024-11-25 - xxxxxxxxxx - lsws 8.11.100 - swscale.h | |
| 6 | + Replace #define-based SWS_* flags by enum SwsFlags. | |
| 7 | + | |
| 5 | 8 | 2024-11-25 - xxxxxxxxxx - lsws 8.10.100 - swscale.h |
| 6 | 9 | Publicly expose struct SwsContext, enum SwsDither, and enum SwsAlphaBlend. |
| 7 | 10 | |