This introduces a new field to allow decoders to export their film grain parameters. Will be used by the next patch.
Showing the changes to libavcodec/avcodec.h (1 of 3 files). Show all
Unified · Split
| @@ -410,6 +410,11 @@ typedef struct RcOverride{ · 409 unmodified lines | ||
| 410 | 410 | * Export the AVVideoEncParams structure through frame side data. |
| 411 | 411 | */ |
| 412 | 412 | #define AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS (1 << 2) |
| 413 | +/** | |
| 414 | + * Decoding only. | |
| 415 | + * Do not apply film grain, export it instead. | |
| 416 | + */ | |
| 417 | +#define AV_CODEC_EXPORT_DATA_FILM_GRAIN (1 << 3) | |
| 413 | 418 | |
| 414 | 419 | /** |
| 415 | 420 | * Pan Scan area. |