aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-03-15 12:14:31 +0100
committerNiklas Haas <git@haasn.dev>2024-03-23 18:54:36 +0100
commitea147f3b50c6826134926f176bc51ba1c5924c60 (patch)
tree13c6a3c4a336f68c75a7150bc0be9413cf8d4132
parent1539efaacb4463b0a1ec14a3ea048c067682a945 (diff)
downloadffmpeg-ea147f3b50c6826134926f176bc51ba1c5924c60.tar.gz
avutil/frame: clarify AV_FRAME_DATA_FILM_GRAIN_PARAMS usage
To allow for AFGS1 usage, which can expose multiple parameter sets for a single frame.
-rw-r--r--libavutil/frame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h
index 373866c600..8aa05ec127 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -180,6 +180,10 @@ enum AVFrameSideDataType {
/**
* Film grain parameters for a frame, described by AVFilmGrainParams.
* Must be present for every frame which should have film grain applied.
+ *
+ * May be present multiple times, for example when there are multiple
+ * alternative parameter sets for different video signal characteristics.
+ * The user should select the most appropriate set for the application.
*/
AV_FRAME_DATA_FILM_GRAIN_PARAMS,