]> git.sesse.net Git - nageru/blob - futatabi/exif_parser.h
Log a warning when we kill a client that is not keeping up.
[nageru] / futatabi / exif_parser.h
1 #ifndef _EXIF_PARSER_H
2 #define _EXIF_PARSER_H
3
4 #include <movit/effect.h>
5 #include <string>
6
7 class Frame;
8
9 // Try to parse the WhitePoint tag in the given Exif data.
10 // If the string is empty, or the tag is corrupted, or if it was
11 // just more complicated than our makeshift parser could deal with,
12 // returns (1.0, 1.0, 1.0), giving a regular D65 white point.
13 movit::RGBTriplet get_neutral_color(const std::string &exif);
14
15 #endif  // !defined(_EXIF_PARSER_H)
16