diff options
author | Niklas Haas <git@nand.wakku.to> | 2015-03-14 03:04:23 +0100 |
---|---|---|
committer | Niklas Haas <git@nand.wakku.to> | 2015-03-14 03:05:03 +0100 |
commit | 0c9c0474bc1e27d38acd5485f5d6d53eb48138ba (patch) | |
tree | 340ac5719324c8c09d618821a68621e488f863e3 /video | |
parent | e07b6fcdfdee720f42c08fe8c8404fea3272c688 (diff) | |
download | mpv-0c9c0474bc1e27d38acd5485f5d6d53eb48138ba.tar.bz2 mpv-0c9c0474bc1e27d38acd5485f5d6d53eb48138ba.tar.xz |
vo_opengl: fix incorrect wording in comment
"compand" was used where the actual operation was "compress". Change to
avoid confusion.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/gl_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c index ac65c4b0b3..5eec1b3513 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -1337,7 +1337,7 @@ static void pass_convert_yuv(struct gl_video *p) // Calculate the green channel from the expanded RYcB // The BT.2020 specification says Yc = 0.2627*R + 0.6780*G + 0.0593*B GLSL(color.g = (color.g - 0.2627*color.r - 0.0593*color.b)/0.6780;) - // Re-compand to receive the R'G'B' result, same as other systems + // Recompress to receive the R'G'B' result, same as other systems GLSL(color.rgb = mix(color.rgb * vec3(4.5), vec3(1.0993) * pow(color.rgb, vec3(0.45)) - vec3(0.0993), lessThanEqual(vec3(0.0181), color.rgb));) |