aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/colour.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix colour distortionMattias Andrée2017-09-231-34/+36
| | | | | | | | | | | 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>
* Fix conversion of Y valueMattias Andrée2017-09-231-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Update blind-convert to support unconverted output from ffmpeg and partially converted outputMattias Andrée2017-08-061-52/+52
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix errors and warnings and make the code cleanerMattias Andrée2017-05-161-194/+102
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add support for floatsMattias Andrée2017-05-071-2/+110
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add constants D65_XYZ_X and D65_XYZ_ZMattias Andrée2017-05-031-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* vu-from-video: add -dMattias Andrée2017-01-131-0/+32
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add vu-from-videoMattias Andrée2017-01-121-0/+24
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Clean up codeMattias Andrée2017-01-111-0/+49
Signed-off-by: Mattias Andrée <maandree@kth.se>