swscale: add sws_test_hw_format()

Allows users to test if a given hardware pixel format is supported by swscale.
This is only a rough heuristic anyways, because the actual support may
depend on the specific *combination* of frame attributes, and ultimately
is better served by the `sws_test_frame` and `sws_frame_setup()` APIs anyways.

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
This commit is contained in:
Niklas Haas
2026-02-26 12:40:33 +01:00
committed by Lynne
parent 43f1189af7
commit 26d6ac56c1
4 changed files with 22 additions and 2 deletions
+3
View File
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2025-03-28
API changes, most recent first:
2026-02-xx - xxxxxxxxxx - lsws 9.4.100 - swscale.h
Add sws_test_hw_format().
2026-02-19 - xxxxxxxxxx - lavf 62.10.100 - avformat.h
Add demuxer command API consisting of:
- Add avformat_send_command().