MCPcopy Create free account
hub / github.com/WiVRn/WiVRn / align

Function align

server/encoder/encoder_settings.cpp:269–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267} // namespace
268
269static uint16_t align(uint16_t value, uint16_t alignment)
270{
271 return ((value + alignment - 1) / alignment) * alignment;
272}
273
274std::array<encoder_settings, 3> get_encoder_settings(wivrn::vk_bundle & bundle, wivrn_session & session)
275{

Callers 1

get_encoder_settingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected