aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs_h2645.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-07-23 13:56:48 -0300
committerJames Almer <jamrial@gmail.com>2021-08-06 09:56:44 -0300
commit794e15fd54db9cef85a02f21354090d718f81d22 (patch)
tree1e2ab17d6256e59343dba077f0a054d2925f3514 /libavcodec/cbs_h2645.c
parent6b594ba5d1b5aa411a2051bb2ee901dc648c85cb (diff)
downloadffmpeg-794e15fd54db9cef85a02f21354090d718f81d22.tar.gz
cbs_h265: add support for Film Grain Characteristics SEI message
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/cbs_h2645.c')
-rw-r--r--libavcodec/cbs_h2645.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index 61c1e13cf7..3396c059c9 100644
--- a/libavcodec/cbs_h2645.c
+++ b/libavcodec/cbs_h2645.c
@@ -1611,6 +1611,12 @@ static const SEIMessageTypeDescriptor cbs_sei_h265_types[] = {
SEI_MESSAGE_RW(h265, sei_recovery_point),
},
{
+ SEI_TYPE_FILM_GRAIN_CHARACTERISTICS,
+ 1, 0,
+ sizeof(H265RawFilmGrainCharacteristics),
+ SEI_MESSAGE_RW(h265, film_grain_characteristics),
+ },
+ {
SEI_TYPE_DISPLAY_ORIENTATION,
1, 0,
sizeof(H265RawSEIDisplayOrientation),