History

swscale: organize and better document flags

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.

Niklas Haas committed 2 years ago

Commit fb169641 parent 6a91a163 files · +70 −51Browse files

Showing the changes to doc/APIchanges (1 of 3 files). Show all

Unified · Split

doc/APIchanges+3−0
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2024-03-07 · 1 unmodified line
22
33 API changes, most recent first:
44
5+2024-11-25 - xxxxxxxxxx - lsws 8.11.100 - swscale.h
6+ Replace #define-based SWS_* flags by enum SwsFlags.
7+
58 2024-11-25 - xxxxxxxxxx - lsws 8.10.100 - swscale.h
69 Publicly expose struct SwsContext, enum SwsDither, and enum SwsAlphaBlend.
710

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t