aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-from-video.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix colour distortionMattias Andrée2017-09-231-1/+2
| | | | | | | | | | | 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-7/+7
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix bugs in blind-from-videoMattias Andrée2017-08-061-8/+17
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add support for skipping conversion to CIEXYZ (not complete)Mattias Andrée2017-08-051-13/+20
| | | | | | | | | | | | | | | | | 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 errors and warnings and make the code cleanerMattias Andrée2017-05-161-36/+24
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Cleaner codeMattias Andrée2017-05-101-4/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add support for floatsMattias Andrée2017-05-071-40/+65
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Clean upMattias Andrée2017-04-091-42/+15
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Document memory requirements, minor style fixes, more use of BUFSIZ, fix warnings, and fix potential buffer overflowMattias Andrée2017-04-081-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Use macros to write the headMattias Andrée2017-01-151-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* blind-from-video and blind-split: add -LMattias Andrée2017-01-141-12/+30
| | | | | | | | | This, combined with blind-to-video, allows the user to split a video file by frames (rather than time as with ffmpeg) into multiple files without ever storing the video in a raw format. This is feature is important because ever short video can take a 100 GB in raw format.
* Fix errors, blind-{to,from}-{video,image} worksMattias Andrée2017-01-141-53/+36
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Rename to blindMattias Andrée2017-01-131-0/+285
Signed-off-by: Mattias Andrée <maandree@kth.se>