summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/image.cc14
1 files 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,