diff options
author | James Almer <jamrial@gmail.com> | 2020-11-25 17:02:56 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-11-30 19:12:39 -0300 |
commit | eee7ba8dba3546ce953f65b98f6ef59188ec935c (patch) | |
tree | e170582b5281807619e3fa0eae286b04f6c49541 /libavcodec/av1dec.h | |
parent | aea80e227327da2f275e9fb14821eac2b57df930 (diff) | |
download | ffmpeg-eee7ba8dba3546ce953f65b98f6ef59188ec935c.tar.gz |
avcodec/av1dec: infer and store film grain param values in AV1Frame
They are not always coded in the bistream for each frame. In some cases, the
values need to be taken from a reference frame.
See section 6.8.20 from the AV1 spec.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/av1dec.h')
-rw-r--r-- | libavcodec/av1dec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/av1dec.h b/libavcodec/av1dec.h index 4b218f64bb..7e3b0c7291 100644 --- a/libavcodec/av1dec.h +++ b/libavcodec/av1dec.h @@ -47,6 +47,8 @@ typedef struct AV1Frame { uint8_t skip_mode_frame_idx[2]; + AV1RawFilmGrainParams film_grain; + uint8_t coded_lossless; } AV1Frame; |