| 31 | #include "openhd_spdlog.h" |
| 32 | |
| 33 | std::vector<openhd::Setting> openhd::testing::create_dummy_camera_settings() { |
| 34 | std::vector<openhd::Setting> ret = { |
| 35 | openhd::Setting{"VIDEO_WIDTH", openhd::IntSetting{640, nullptr}}, |
| 36 | openhd::Setting{"VIDEO_HEIGHT", openhd::IntSetting{480, nullptr}}, |
| 37 | openhd::Setting{"VIDEO_FPS", openhd::IntSetting{30, nullptr}}, |
| 38 | openhd::Setting{"VIDEO_CODEC", openhd::IntSetting{0, nullptr}}, |
| 39 | openhd::Setting{"V_BITRATE_MBITS", openhd::IntSetting{10, nullptr}}, |
| 40 | }; |
| 41 | return ret; |
| 42 | } |
| 43 | |
| 44 | std::vector<openhd::Setting> openhd::testing::create_dummy_ground_settings() { |
| 45 | std::vector<openhd::Setting> ret = { |
nothing calls this directly
no outgoing calls
no test coverage detected