Home
last modified time | relevance | path

Searched refs:settings_ (Results 1 – 13 of 13) sorted by relevance

/external/vulkan-validation-layers/demos/smoke/
DGame.h54 const Settings &settings() const { return settings_; } in settings()
79 : settings_(), shell_(nullptr) in Game()
81 settings_.name = name; in Game()
82 settings_.initial_width = 1280; in Game()
83 settings_.initial_height = 1024; in Game()
84 settings_.queue_count = 1; in Game()
85 settings_.back_buffer_count = 1; in Game()
86 settings_.ticks_per_second = 30; in Game()
87 settings_.vsync = true; in Game()
88 settings_.animate = true; in Game()
[all …]
DShell.cpp34 : game_(game), settings_(game.settings()), ctx_(), in Shell()
35 game_tick_(1.0f / settings_.ticks_per_second), game_time_(game_tick_) in Shell()
42 if (settings_.validate) { in Shell()
69 if (settings_.validate) in cleanup_vk()
186 app_info.pApplicationName = settings_.name.c_str(); in init_instance()
203 if (!settings_.validate) in init_debug_report()
212 if (settings_.validate_verbose) { in init_debug_report()
310 const std::vector<float> queue_priorities(settings_.queue_count, 0.0f); in create_dev()
314 queue_info[0].queueCount = settings_.queue_count; in create_dev()
355 const int count = settings_.back_buffer_count + 1; in create_back_buffers()
[all …]
DShellWin32.cpp78 const std::string class_name(settings_.name + "WindowClass"); in create_window()
94 RECT win_rect = { 0, 0, settings_.initial_width, settings_.initial_height }; in create_window()
99 settings_.name.c_str(), in create_window()
218 resize_swapchain(settings_.initial_width, settings_.initial_height); in run()
226 assert(settings_.animate); in run()
DShellXcb.cpp137 settings_.initial_width, settings_.initial_height, 0, in create_window()
151 utf8_string, 8, settings_.name.size(), settings_.name.c_str()); in create_window()
332 resize_swapchain(settings_.initial_width, settings_.initial_height); in run()
335 if (settings_.animate) in run()
DShellAndroid.cpp114 __android_log_write(prio, settings_.name.c_str(), msg); in log()
203 int timeout = (settings_.animate && app_.window) ? 0 : -1; in run()
DShell.h103 const Game::Settings &settings_; variable
DSmoke.cpp828 tick_interval_(1.0f / smoke.settings_.ticks_per_second), state_(INIT) in Worker()
/external/libweave/src/
Dconfig.cc94 : settings_{CreateDefaultSettings()}, config_store_{config_store} { in Config()
101 callback.Run(settings_); in AddOnChangedCallback()
105 return settings_; in GetSettings()
112 settings_ = CreateDefaultSettings(); in Load()
118 CHECK(config_store_->LoadDefaults(&settings_)); in Load()
120 CHECK(!settings_.client_id.empty()); in Load()
121 CHECK(!settings_.client_secret.empty()); in Load()
122 CHECK(!settings_.api_key.empty()); in Load()
123 CHECK(!settings_.oauth_url.empty()); in Load()
124 CHECK(!settings_.service_url.empty()); in Load()
[all …]
Dconfig.h56 : config_(config), settings_(&config->settings_) { in Transaction()
62 void set_client_id(const std::string& id) { settings_->client_id = id; } in set_client_id()
64 settings_->client_secret = secret; in set_client_secret()
66 void set_api_key(const std::string& key) { settings_->api_key = key; } in set_api_key()
67 void set_oauth_url(const std::string& url) { settings_->oauth_url = url; } in set_oauth_url()
69 settings_->service_url = url; in set_service_url()
72 settings_->xmpp_endpoint = endpoint; in set_xmpp_endpoint()
74 void set_name(const std::string& name) { settings_->name = name; } in set_name()
76 settings_->description = description; in set_description()
79 settings_->location = location; in set_location()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_unittest.h307 DefaultSettings(&settings_, temporal_layer_profile); in SetUpCodec()
308 EXPECT_EQ(0, encoder_->InitEncode(&settings_, 1, 1200)); in SetUpCodec()
309 EXPECT_EQ(0, decoder_->InitDecode(&settings_, 1)); in SetUpCodec()
549 settings_.codecSpecific.VP8.numberOfTemporalLayers = 1; in SwitchingToOneStream()
550 settings_.maxBitrate = 100; in SwitchingToOneStream()
551 settings_.startBitrate = 100; in SwitchingToOneStream()
552 settings_.width = width; in SwitchingToOneStream()
553 settings_.height = height; in SwitchingToOneStream()
554 for (int i = 0; i < settings_.numberOfSimulcastStreams - 1; ++i) { in SwitchingToOneStream()
555 settings_.simulcastStream[i].maxBitrate = 0; in SwitchingToOneStream()
[all …]
/external/webrtc/webrtc/modules/video_coding/
Dvideo_sender_unittest.cc208 VideoCodingModule::Codec(kVideoCodecVP8, &settings_); in SetUp()
209 settings_.numberOfSimulcastStreams = kNumberOfStreams; in SetUp()
211 &settings_.simulcastStream[0]); in SetUp()
213 &settings_.simulcastStream[1]); in SetUp()
215 &settings_.simulcastStream[2]); in SetUp()
216 settings_.plType = kUnusedPayloadType; // Use the mocked encoder. in SetUp()
218 new EmptyFrameGenerator(settings_.width, settings_.height)); in SetUp()
219 EXPECT_EQ(0, sender_->RegisterSendCodec(&settings_, 1, 1200)); in SetUp()
258 VideoCodec settings_; member in webrtc::vcm::__anon6f8ac6b40111::TestVideoSenderWithMockEncoder
295 EXPECT_EQ(0, sender_->RegisterSendCodec(&settings_, 1, 1200)); in TEST_F()
[all …]
Dvideo_receiver_unittest.cc42 VideoCodingModule::Codec(kVideoCodecVP8, &settings_); in SetUp()
43 settings_.plType = kUnusedPayloadType; // Use the mocked encoder. in SetUp()
44 EXPECT_EQ(0, receiver_->RegisterReceiveCodec(&settings_, 1, true)); in SetUp()
74 VideoCodec settings_; member in webrtc::vcm::__anon8bac3da80111::TestVideoReceiver
/external/webrtc/webrtc/video/
Dend_to_end_tests.cc1294 : settings_(settings), in TEST_F()
1301 EXPECT_EQ(settings_.width, video_frame.width()); in TEST_F()
1302 EXPECT_EQ(settings_.height, video_frame.height()); in TEST_F()
1314 const MultiStreamTest::CodecSettings& settings_; in TEST_F() member in webrtc::TEST_F::VideoOutputObserver