hevc: Add support for alternative transfer characterics SEI
authorVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 9 Jun 2017 21:35:22 +0000 (17:35 -0400)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 28 Jun 2017 13:42:24 +0000 (09:42 -0400)
commit3426832ac3074e081923095f7794064a30642841
tree74e78188da372f02531c776b62e9645f4fd7b1e5
parent850c6db97d1f78e7607952ab8b854a93a185319e
hevc: Add support for alternative transfer characterics SEI

The use of this SEI is for backward compatibility in HLG HDR systems:
older devices that cannot interpret the "arib-std-b67" transfer will
get the compatible transfer (usually bt709 or bt2020) from the VUI,
while newer devices that can interpret HDR will read the SEI and use
its value instead.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/hevc_sei.c
libavcodec/hevc_sei.h
libavcodec/hevcdec.c