aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-convert.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix colour distortionMattias Andrée2017-09-231-5/+9
| | | | | | | | | | | 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-18/+18
| | | | 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-49/+349
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix errors and warnings and make the code cleanerMattias Andrée2017-05-161-9/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Improve performance of blind-convertMattias Andrée2017-05-081-19/+23
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add blind-convertMattias Andrée2017-05-071-0/+82
Signed-off-by: Mattias Andrée <maandree@kth.se>