diff options
author | Lynne <dev@lynne.ee> | 2020-11-12 17:46:09 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2020-11-25 23:06:33 +0100 |
commit | d243dd540a8a421e47b7ea5e55e0676ba7b54f29 (patch) | |
tree | 35b63254b40c4bc406ea0603f125a98d34c957a8 /libavcodec/avcodec.h | |
parent | 4f9ee87253e021f43b1eaf40e57c2fb10af2be88 (diff) | |
download | ffmpeg-d243dd540a8a421e47b7ea5e55e0676ba7b54f29.tar.gz |
libavcodec: add a new AV_CODEC_EXPORT_DATA_FILM_GRAIN flag and option
This introduces a new field to allow decoders to export their film grain
parameters.
Will be used by the next patch.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 20af3ef00d..5047da0f6a 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -410,6 +410,11 @@ typedef struct RcOverride{ * Export the AVVideoEncParams structure through frame side data. */ #define AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS (1 << 2) +/** + * Decoding only. + * Do not apply film grain, export it instead. + */ +#define AV_CODEC_EXPORT_DATA_FILM_GRAIN (1 << 3) /** * Pan Scan area. |