12 lines
262 B
C++
12 lines
262 B
C++
#pragma once
|
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
namespace cms {
|
|
// Immutable when published. Stride is explicit; no borrowed camera/GPU memory.
|
|
struct BgrImage {
|
|
int width{}, height{}, stride{};
|
|
std::vector<std::uint8_t> pixels;
|
|
};
|
|
} // namespace cms
|