libavutil: introduce AVFilmGrainParams side data

This patch introduces a new frame side data type AVFilmGrainParams for use
with video codecs which support it.

It can save a lot of memory used for duplicate processed reference frames and
reduce copies when applying film grain during presentation.
This commit is contained in:
Lynne
2020-11-12 12:44:30 +01:00
parent 5b1ccd748a
commit 4f9ee87253
7 changed files with 223 additions and 1 deletions

View File

@ -15,6 +15,10 @@ libavutil: 2017-10-21
API changes, most recent first:
2020-11-25 - xxxxxxxxxx - lavu 56.61.100 - film_grain_params.h
Adds a new API for extracting codec film grain parameters as side data.
Adds a new AVFrameSideDataType entry AV_FRAME_DATA_FILM_GRAIN_PARAMS for it.
2020-xx-xx - xxxxxxxxxx - lavf 58.64.100 - avformat.h
Add AVSTREAM_EVENT_FLAG_NEW_PACKETS.