]> git.sesse.net Git - nageru/blobdiff - decklink_capture.h
Add UYVY support to ChromaSubsampler.
[nageru] / decklink_capture.h
index 0a9c37b0494539c3cc5c3bc3f8964793cefa6a77..31efc3711f1ef87cfaf8915182aaec6de1cd257f 100644 (file)
@@ -5,12 +5,17 @@
 #include <stdint.h>
 #include <atomic>
 #include <functional>
+#include <map>
+#include <memory>
 #include <string>
 
+#include "DeckLinkAPIModes.h"
+#include "DeckLinkAPITypes.h"
+#include "LinuxCOM.h"
 #include "bmusb/bmusb.h"
 
 class IDeckLink;
-class IDeckLinkDisplayMode;
+class IDeckLinkConfiguration;
 
 // TODO: Adjust CaptureInterface to be a little less bmusb-centric.
 // There are too many member functions here that don't really do anything.
@@ -121,6 +126,8 @@ private:
        IDeckLinkInput *input = nullptr;
        BMDTimeValue frame_duration;
        BMDTimeScale time_scale;
+       BMDFieldDominance field_dominance;
+       bool running = false;
 
        std::map<uint32_t, bmusb::VideoMode> video_modes;
        BMDDisplayMode current_video_mode;