return description;
}
- void configure_card() override {}
+ void configure_card() override;
void start_bm_capture() override;
void stop_dequeue_thread() override;
+ std::map<uint32_t, VideoMode> get_available_video_modes() const override { return video_modes; }
+ void set_video_mode(uint32_t video_mode_id) override;
+ uint32_t get_current_video_mode() const override { return current_video_mode; }
+
private:
+ void set_video_mode_no_restart(uint32_t video_mode_id);
+
std::atomic<int> refcount{1};
bool done_init = false;
std::string description;
uint16_t timecode = 0;
+ int card_index;
bool has_dequeue_callbacks = false;
std::function<void()> dequeue_init_callback = nullptr;
IDeckLinkInput *input = nullptr;
BMDTimeValue frame_duration;
BMDTimeScale time_scale;
+
+ std::map<uint32_t, VideoMode> video_modes;
+ BMDDisplayMode current_video_mode;
};
#endif // !defined(_DECKLINK_CAPTURE_H)