History

avutil/film_grain_params: add metadata to common struct

This is needed for AV1 film grain as well, when using AFGS1 streams. Also add extra width/height and subsampling information, which AFGS1 cares about, as part of the same API bump. (And in principle, H274 should also expose this information, since it is needed downstream to correctly adjust the chroma grain frequency to the subsampling ratio) Deprecate the equivalent H274-exclusive fields. To avoid breaking ABI, add the new fields after the union; but with enough of a paper trail to hopefully re-order them on the next bump.

Niklas Haas committed 2 years ago

Commit 35d29601 parent bfbf0f43 files · +62 −4Browse files

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

Unified · Split

doc/APIchanges+6−0
@@ -2,6 +2,12 @@ The last version increases of all libraries were on 2024-03-07 · 1 unmodified line
2 2
3API changes, most recent first:3API changes, most recent first:
4 4
52024-03-xx - xxxxxxxxxx - lavu 59.5.100 - film_grain_params.h
6 Add AVFilmGrainParams.color_range, color_primaries, color_trc, color_space,
7 width, height, subsampling_x, subsampling_y, bit_depth_luma and
8 bit_depth_chroma. Deprecate the corresponding fields from
9 AVFilmGrainH274Params.
10
52024-03-xx - xxxxxxxxxx - lavc 61.3.100 - jni.h112024-03-xx - xxxxxxxxxx - lavc 61.3.100 - jni.h
6 Add av_jni_set_android_app_ctx() and av_jni_get_android_app_ctx().12 Add av_jni_set_android_app_ctx() and av_jni_get_android_app_ctx().
7 13

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