1
0
Fork 0

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.
This commit is contained in:
Niklas Haas 2024-03-15 12:14:31 +01:00
parent 1539efaacb
commit ea147f3b50
1 changed files with 4 additions and 0 deletions

View File

@ -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,