Make Futatabi fades apply white balance.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 11 Feb 2020 21:42:53 +0000 (22:42 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 11 Feb 2020 21:42:53 +0000 (22:42 +0100)
commite15251d2787cb8e6b677af801de6180e55171763
treea77b814c08527cb09d8eb2202a2c8272a3e2e5f5
parent32b87c91cf51d730ff5abc8347884219918fad66
Make Futatabi fades apply white balance.

When there are two different video streams involved, they will often
have different white points, so we can't just echo the Exif data back;
we need to apply it when converting, and then get back a result in
standard sRGB. It's not entirely correct since we still run with
crushed whites/black, but it's good enough.

This completes Nageru/Futatabi white balance round trip support.
futatabi/exif_parser.cpp [new file with mode: 0644]
futatabi/exif_parser.h [new file with mode: 0644]
futatabi/video_stream.cpp
futatabi/ycbcr_converter.cpp
futatabi/ycbcr_converter.h
meson.build