diff options
author | Neil Birkbeck <neil.birkbeck@gmail.com> | 2016-04-21 12:00:05 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-06-01 16:32:08 +0200 |
commit | 785038c92cc7fc1da437576382083246ca598fce (patch) | |
tree | 464eb45e093a254d3dc3d8ac654bbdca3812b9a8 /tests/ref/fate/color_utils | |
parent | 4c7d3e827c80627e4c77b01cc9478f4603a59b90 (diff) | |
download | ffmpeg-785038c92cc7fc1da437576382083246ca598fce.tar.gz |
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>
Diffstat (limited to 'tests/ref/fate/color_utils')
-rw-r--r-- | tests/ref/fate/color_utils | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/ref/fate/color_utils b/tests/ref/fate/color_utils index 6e80ebd97f..10f8055916 100644 --- a/tests/ref/fate/color_utils +++ b/tests/ref/fate/color_utils @@ -283,3 +283,22 @@ AVColorTransferCharacteristic=17 calling func(15123.456700) expected=39.174525 AVColorTransferCharacteristic=17 calling func(19845.889230) expected=43.490646 AVColorTransferCharacteristic=17 calling func(98678.423100) expected=80.593559 AVColorTransferCharacteristic=17 calling func(99999.899998) expected=81.006971 +AVColorTransferCharacteristic=18 calling func(-0.100000) expected=0.000000 +AVColorTransferCharacteristic=18 calling func(-0.018054) expected=0.000000 +AVColorTransferCharacteristic=18 calling func(-0.010000) expected=0.000000 +AVColorTransferCharacteristic=18 calling func(-0.004490) expected=0.000000 +AVColorTransferCharacteristic=18 calling func(0.000000) expected=0.000000 +AVColorTransferCharacteristic=18 calling func(0.003162) expected=0.097400 +AVColorTransferCharacteristic=18 calling func(0.005000) expected=0.122474 +AVColorTransferCharacteristic=18 calling func(0.009000) expected=0.164317 +AVColorTransferCharacteristic=18 calling func(0.015000) expected=0.212132 +AVColorTransferCharacteristic=18 calling func(0.100000) expected=0.544089 +AVColorTransferCharacteristic=18 calling func(1.000000) expected=1.000000 +AVColorTransferCharacteristic=18 calling func(52.370000) expected=1.712092 +AVColorTransferCharacteristic=18 calling func(125.098765) expected=1.867862 +AVColorTransferCharacteristic=18 calling func(1999.111230) expected=2.363502 +AVColorTransferCharacteristic=18 calling func(6945.443000) expected=2.586219 +AVColorTransferCharacteristic=18 calling func(15123.456700) expected=2.725380 +AVColorTransferCharacteristic=18 calling func(19845.889230) expected=2.773978 +AVColorTransferCharacteristic=18 calling func(98678.423100) expected=3.060803 +AVColorTransferCharacteristic=18 calling func(99999.899998) expected=3.063182 |