diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-21 23:51:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-21 23:51:45 +0100 |
| commit | ecc7a69054d8f2e9e8b8d1037a91f7f4a83df140 (patch) | |
| tree | 60ec751a472e3e3cb8270d1f889feba3813387f5 /src | |
| parent | 35a74b7e98245fb063e50b0d0e14b1d2ed175f0b (diff) | |
Tweak comment.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/image.cc | 14 |
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, |
