h264: Add support for alternative transfer characterics SEI
authorVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 9 Jun 2017 21:27:22 +0000 (17:27 -0400)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 10 Aug 2017 13:40:16 +0000 (15:40 +0200)
commit8c34a2024da77b50470e62789e4859b45959932e
tree2d1e483df3ef247682b335743dc8eb6875233c27
parent9042402ec78ad050eb7ad129610450ef90371df4
h264: 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/h264_sei.c
libavcodec/h264_sei.h
libavcodec/h264_slice.c