MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / getBufferSize

Function getBufferSize

src/osvr/Common/ImagingComponent.cpp:43–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41namespace osvr {
42namespace common {
43 static inline uint32_t getBufferSize(OSVR_ImagingMetadata const &meta) {
44 return meta.height * meta.width * meta.depth * meta.channels;
45 }
46 namespace messages {
47 namespace {
48 template <typename T>

Calls

no outgoing calls

Tested by

no test coverage detected