MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / rawBytesFrame

Function rawBytesFrame

pj_scene2D/tests/codecs_test.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace {
17
18PJ::DecodedFrame rawBytesFrame(const std::vector<uint8_t>& bytes) {
19 PJ::DecodedFrame frame;
20 frame.pixels = std::make_shared<std::vector<uint8_t>>(bytes);
21 return frame;
22}
23
24PJ::DecodedFrame mono16Frame(int width, int height, const std::vector<uint16_t>& values) {
25 PJ::DecodedFrame frame;

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected