]> git.sesse.net Git - nageru/blobdiff - futatabi/jpeg_frame.h
Log a warning when we kill a client that is not keeping up.
[nageru] / futatabi / jpeg_frame.h
index eb73e13fec90d564f3695f198d1282c613120edf..6fd0d4b9d05cfb685495ae8e86287b61efb09f4f 100644 (file)
@@ -2,15 +2,17 @@
 #define _JPEG_FRAME_H 1
 
 #include <memory>
+#include <string>
 
 struct Frame {
        bool is_semiplanar = false;
        std::unique_ptr<uint8_t[]> y;
-       std::unique_ptr<uint8_t[]> cb, cr; // For planar.
+       std::unique_ptr<uint8_t[]> cb, cr;  // For planar.
        std::unique_ptr<uint8_t[]> cbcr;  // For semiplanar.
        unsigned width, height;
        unsigned chroma_subsampling_x, chroma_subsampling_y;
        unsigned pitch_y, pitch_chroma;
+       std::string exif_data;
 };
 
-#endif   // !defined(_JPEG_FRAME_H)
+#endif  // !defined(_JPEG_FRAME_H)