From b32f2ef0d344e224a24ed72bf7abf394675ea58f Mon Sep 17 00:00:00 2001 From: nand Date: Sun, 23 Dec 2012 19:49:19 +0100 Subject: vo_opengl: use more precise gamma for BT.709 with color management MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change from gamma 2.2 to the slightly more precise 1/0.45 as per BT.709. https://www.itu.int/rec/R-REC-BT.709-5-200204-I/en mentions a value of γ=0.45 for the conceptual non-linear precorrection of video signals. This is approximately the inverse of 2.22, and not 2.20 as the code had been using until now. --- DOCS/man/en/vo.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/en/vo.rst b/DOCS/man/en/vo.rst index cf92d97efa..941a7a7283 100644 --- a/DOCS/man/en/vo.rst +++ b/DOCS/man/en/vo.rst @@ -325,8 +325,8 @@ opengl Enable gamma-correct scaling by working in linear light. This makes use of sRGB textures and framebuffers. This option forces the options 'indirect' and 'gamma'. - NOTE: for YUV colorspaces, gamma 2.2 is assumed. RGB input is always - assumed to be in sRGB. + NOTE: for YUV colorspaces, gamma 1/0.45 (2.222) is assumed. RGB input + is always assumed to be in sRGB. This option is not really useful, as gamma-correct scaling has not much influence on typical video playback. Most visible effect comes from slightly different gamma. -- cgit v1.2.3