aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-radial-gradient.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-09-23 21:57:45 +0200
committerMattias Andrée <maandree@kth.se>2017-09-23 21:57:45 +0200
commit4154609e5de76bc8858d3f86e0af09ba2700c488 (patch)
tree853583f99e97895a51db57d0e66672672d20c2f9 /src/blind-radial-gradient.c
parentFix conversion of Y value (diff)
downloadblind-4154609e5de76bc8858d3f86e0af09ba2700c488.tar.gz
blind-4154609e5de76bc8858d3f86e0af09ba2700c488.tar.bz2
blind-4154609e5de76bc8858d3f86e0af09ba2700c488.tar.xz
Fix colour distortion
This matrices are not convert to or from the proper YUV colour space both rather the ones used in videos. srgb_to_yuv was created by converting the image [sRGB(100%, 0, 0); sRGB(0, 100%, 0); sRGB(0, 0, 100%)] to YUV with FFmpeg and transposing the matrix. yuv_to_srgb is the inversion of that matrix, the values in the first column should all be 1 but are not due to rounding/truncation error. Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/blind-radial-gradient.c')
0 files changed, 0 insertions, 0 deletions