Jump to content

GPU Accelerated Motion Detector/Examples/Library Usage: Difference between revisions

Line 148: Line 148:
=== Create a Frame and fill it with your data ===
=== Create a Frame and fill it with your data ===


<syntaxhighlight lanng=c++>
<syntaxhighlight lang=c++>
std::shared_ptr<rr::Frame> input = factory->getFrame(rr::Resolution(WIDTH, HEIGHT), rr::Format::FORMAT_RGBA);
std::shared_ptr<rr::Frame> input = factory->getFrame(rr::Resolution(WIDTH, HEIGHT), rr::Format::FORMAT_RGBA);


Cookies help us deliver our services. By using our services, you agree to our use of cookies.