mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-26 17:20:17 +08:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user