From 664f8e9832e7ee9835816621faf4b57ffbcc8628 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Wed, 2 Apr 2014 00:40:36 +0200 Subject: video: Include better heuristics for guessing primaries These consult the vertical resolution, matching against 576 for PAL and 480/486 for NTSC. The documentation has also been updated. Signed-off-by: wm4 --- DOCS/man/options.rst | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'DOCS/man') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 018be5919d..af085bd822 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -585,12 +585,21 @@ OPTIONS management, for example ``opengl`` with the ``srgb`` or ``icc-profile`` suboptions set. + If this option is set to ``auto`` (which is the default), the video's + primaries flag will be used. If that flag is unset, the color space will + be selected automatically, using the following heuristics: If the + ``--colormatrix`` is set or determined as BT.2020 or BT.709, the + corresponding primaries are used. Otherwise, if the video height is + exactly 576 (PAL), BT.601-625 is used. If it's exactly 480 or 486 (NTSC), + BT.601-525 is used. If the video resolution is anything else, BT.709 is + used. + Available primaries are: :auto: automatic selection (default) - :BT.601-525: ITU-R BT.601 (SD) 525-line systems (NTSC) + :BT.601-525: ITU-R BT.601 (SD) 525-line systems (NTSC, SMPTE-C) :BT.601-625: ITU-R BT.601 (SD) 625-line systems (PAL, SECAM) - :BT.709: ITU-R BT.709 (HD) + :BT.709: ITU-R BT.709 (HD) (same primaries as sRGB) :BT.2020: ITU-R BT.2020 (UHD) ``--config-dir=`` -- cgit v1.2.3