[FFmpeg-devel] [PATCH v2 3/3] libdav1d: use film grain export flag to export AVFilmGrainParams side data

Lynne dev at lynne.ee
Thu Nov 12 19:42:34 EET 2020


This patch is relatively straightforward with one exception: 
the decoder option flag.
The option was introduced to troubleshoot but its existence is conflicting
and redundant now that we have a codec-generic flag.
Hence this patch deprecates it.

The way it interacts with AV_CODEC_EXPORT_DATA_FILM_GRAIN is as follows:

If filmgrain is unset and AV_CODEC_EXPORT_DATA_FILM_GRAIN is
present, disable film grain application and export side data.

If filmgrain is set to 0, disable film grain and export side data.

If filmgrain is set to 1, apply film grain but export side data if
the AV_CODEC_EXPORT_DATA_FILM_GRAIN flag is set. This may result in
double film grain application, but the user has requested it by setting
both.

Patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0003-libdav1d-use-film-grain-export-flag-to-export-AVF.patch
Type: text/x-patch
Size: 7387 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201112/e1751382/attachment.bin>


More information about the ffmpeg-devel mailing list