aboutsummaryrefslogtreecommitdiffstats
path: root/src/util (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-09-23Fix colour distortionMattias Andrée1-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>
2017-09-23Fix conversion of Y valueMattias Andrée1-6/+6
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-08-06Update blind-convert to support unconverted output from ffmpeg and partially converted outputMattias Andrée1-52/+52
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-08-05Add support for skipping conversion to CIEXYZ (not complete)Mattias Andrée1-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>
2017-07-23Fix support for using sockets insteads of pipesMattias Andrée1-0/+12
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-07-15Fix warningsMattias Andrée2-10/+10
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-05-16Fix errors and warnings and make the code cleanerMattias Andrée2-196/+104
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-05-14Add gaussian blur and unshaping kernelsMattias Andrée1-0/+14
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-05-13Add blind-make-kernelMattias Andrée1-2/+15
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-05-13Add blind-to-portable and blind-from-portableMattias Andrée1-0/+78
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-05-10Cleaner codeMattias Andrée2-3/+42
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-05-07Add support for floatsMattias Andrée1-2/+110
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-05-03Add constants D65_XYZ_X and D65_XYZ_ZMattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-04-09Clean upMattias Andrée3-0/+96
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-04-08Add blind-translate and fix errorsMattias Andrée1-3/+13
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-01-26Forgot to commit two filesMattias Andrée1-1/+11
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-01-21Don't open files from /dev/fd/, just return the fd.Mattias Andrée1-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>
2017-01-20Fix and improve blind-gauss-blur, and fix new bug in blind-from-imageMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-01-14Add definition checks for posix_fadvise flags + blind-concat: add -jMattias Andrée1-2/+12
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-01-14Fix errors, blind-{to,from}-{video,image} worksMattias Andrée2-4/+47
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-01-13vu-from-video: add -dMattias Andrée1-0/+32
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-01-12Add vu-from-videoMattias Andrée1-0/+24
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-01-12Fix and improve vu-from-imageMattias Andrée1-0/+12
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-01-12m + Add vu-gauss-blurMattias Andrée1-0/+7
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-01-11Clean up codeMattias Andrée8-0/+291
Signed-off-by: Mattias Andrée <maandree@kth.se>