aboutsummaryrefslogtreecommitdiffstats
path: root/src/util (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>
* Add support for skipping conversion to CIEXYZ (not complete)Mattias Andrée2017-08-051-0/+25
| | | | | | | | | | | | | | | | | Some tools are colour space agnostic or even encoding agnostic, by skipping conversion to CIEXYZ when these tools are used, the rendering time can be significantly reduced. The video can also be split horizontally and vertically, and latted merged back, so it is not necessary to convert the entire video if only parts of it actually need it. Because some tools are less agnostic than other tools, partial conversion to CIEXYZ is also added. blind-convert must be updated, and all tools most be test Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix support for using sockets insteads of pipesMattias Andrée2017-07-231-0/+12
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix warningsMattias Andrée2017-07-152-10/+10
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix errors and warnings and make the code cleanerMattias Andrée2017-05-162-196/+104
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add gaussian blur and unshaping kernelsMattias Andrée2017-05-141-0/+14
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add blind-make-kernelMattias Andrée2017-05-131-2/+15
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add blind-to-portable and blind-from-portableMattias Andrée2017-05-131-0/+78
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Cleaner codeMattias Andrée2017-05-102-3/+42
| | | | 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>
* Clean upMattias Andrée2017-04-093-0/+96
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add blind-translate and fix errorsMattias Andrée2017-04-081-3/+13
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Forgot to commit two filesMattias Andrée2017-01-261-1/+11
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Don't open files from /dev/fd/, just return the fd.Mattias Andrée2017-01-211-8/+1
| | | | | | | | | | Advantage 1: Less file descriptors opened. Advantage 2: The other end will be alerted when the process closes the file descriptor, and does not have to wait until the process exits. Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix and improve blind-gauss-blur, and fix new bug in blind-from-imageMattias Andrée2017-01-201-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add definition checks for posix_fadvise flags + blind-concat: add -jMattias Andrée2017-01-141-2/+12
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix errors, blind-{to,from}-{video,image} worksMattias Andrée2017-01-142-4/+47
| | | | 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>
* Fix and improve vu-from-imageMattias Andrée2017-01-121-0/+12
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m + Add vu-gauss-blurMattias Andrée2017-01-121-0/+7
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Clean up codeMattias Andrée2017-01-118-0/+291
Signed-off-by: Mattias Andrée <maandree@kth.se>