From ecc7a69054d8f2e9e8b8d1037a91f7f4a83df140 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 21 May 2019 23:51:45 +0100 Subject: [PATCH] Tweak comment. --- src/lib/image.cc | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/lib/image.cc b/src/lib/image.cc index d3b193e7b..c176c2d65 100644 --- a/src/lib/image.cc +++ b/src/lib/image.cc @@ -192,10 +192,9 @@ Image::crop_scale_window ( 0 -> destination range MPEG (i.e. "video", 16-235) 1 -> destination range JPEG (i.e. "full", 0-255) - But remember: sws_setColorspaceDetails ignores - these parameters unless the image isYUV or isGray - (if it's neither, it uses video range for source - and destination). + But remember: sws_setColorspaceDetails ignores these + parameters unless the corresponding image isYUV or isGray. + (If it's neither, it uses video range). */ sws_setColorspaceDetails ( scale_context, @@ -290,10 +289,9 @@ Image::scale (dcp::Size out_size, dcp::YUVToRGB yuv_to_rgb, AVPixelFormat out_fo 0 -> destination range MPEG (i.e. "video", 16-235) 1 -> destination range JPEG (i.e. "full", 0-255) - But remember: sws_setColorspaceDetails ignores - these parameters unless the image isYUV or isGray - (if it's neither, it uses video range for source - and destination). + But remember: sws_setColorspaceDetails ignores these + parameters unless the corresponding image isYUV or isGray. + (If it's neither, it uses video range). */ sws_setColorspaceDetails ( scale_context, -- 2.30.2