History

avfilter: add negotiation API for color space/range

Motivated by YUVJ removal. This change will allow full negotiation between color ranges and matrices as needed. By default, all ranges and matrices are marked as supported. Because grayscale formats are currently handled very inconsistently (and in particular, assumed as forced full-range by swscale), we exclude them from negotiation altogether for the time being, to get this API merged. After filter negotiation is available, we can relax the grayscale-is-forced-jpeg restriction again, when it will be more feasible to do so without breaking a million test cases. Note that this commit updates one FATE test as a consequence of the sanity fallback for non-YUV formats. In particular, the test case now writes rgb24(pc, gbr/unspecified/unspecified) to the matroska file, instead of rgb24(unspecified/unspecified/unspecified) as before.

Niklas Haas committed 2 years ago

Commit 8c7934f1 parent e687a8411 files · +406 −10Browse files

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

Unified · Split

doc/APIchanges+3−0
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2023-02-09 · 1 unmodified line
22
33 API changes, most recent first:
44
5+2023-11-xx - xxxxxxxxxx - lavfi 58.15.100 - avfilter.h
6+ Add AVFilterLink.colorspace, AVFilterLink.color_range
7+
58 2023-12-xx - xxxxxxxxxx - lavu 58.36.100 - pixfmt.h hwcontext.h hwcontext_d3d12va.h
69 Add AV_HWDEVICE_TYPE_D3D12VA and AV_PIX_FMT_D3D12.
710 Add AVD3D12VADeviceContext, AVD3D12VASyncContext, AVD3D12VAFrame and

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