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,
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,