OSDN Git Service

lavu: Adding ARIB STD-B67 (hybrid log-gamma) enum value and transfer function.
authorNeil Birkbeck <neil.birkbeck@gmail.com>
Thu, 21 Apr 2016 19:00:05 +0000 (12:00 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 1 Jun 2016 14:32:08 +0000 (16:32 +0200)
commit785038c92cc7fc1da437576382083246ca598fce
tree464eb45e093a254d3dc3d8ac654bbdca3812b9a8
parent4c7d3e827c80627e4c77b01cc9478f4603a59b90
lavu: Adding ARIB STD-B67 (hybrid log-gamma) enum value and transfer function.

Adding hybrid log-gamma (https://en.wikipedia.org/wiki/Hybrid_Log-Gamma)
based on the standardization in ARIB STD-B67:
http://www.arib.or.jp/english/html/overview/doc/2-STD-B67v1_0.pdf

The choice of enum value of 18 is consistent with HEVC:
http://phenix.it-sudparis.eu/jct/doc_end_user/current_document.php?id=10481

And also with latest proposal for color format in mkv:
https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&q=Colour+Format+proposal

The implementation assumes a nominal input range of [0, 1], which is
consistent with HEVC.

Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavutil/color_utils.c
libavutil/pixdesc.c
libavutil/pixfmt.h
tests/ref/fate/color_utils