MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / create_dummy_camera_settings

Method create_dummy_camera_settings

OpenHD/ohd_common/src/openhd_settings_imp.cpp:33–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31#include "openhd_spdlog.h"
32
33std::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
44std::vector<openhd::Setting> openhd::testing::create_dummy_ground_settings() {
45 std::vector<openhd::Setting> ret = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected