#include "Component/ModelManager.H"
#include "Devices/FrameGrabberConfigurator.H"
#include "GUI/XWindow.H"
#include "Image/Image.H"
#include "Image/Pixels.H"
#include "Raster/Raster.H"
#include "Raster/GenericFrame.H"
#include "Transport/FrameIstream.H"
#include "Util/Timer.H"
#include "Util/Types.H"
#include "Util/log.H"
#include <cstdio>
#include <cstdlib>
#include <cstring>
Go to the source code of this file.
Defines | |
#define | NAVG 20 |
Functions | |
int | main (const int argc, const char **argv) |
Test frame grabbing and X display
Definition in file test-grab.C.
int main | ( | const int | argc, | |
const char ** | argv | |||
) |
This simple executable tests video frame grabbing through the video4linux driver (see V4Lgrabber.H) or the IEEE1394 (firewire) grabber (see IEEE1394grabber.H). Selection of the grabber type is made via the --fg-type=XX command-line option.
Definition at line 60 of file test-grab.C.
References ModelComponent::addSubComponent(), GenericFrame::asRgbU8(), concatX(), Timer::get(), Image< T >::getDims(), Image< T >::getVal(), Dims::h(), NO_INIT, ModelManager::parseCommandLine(), Timer::reset(), GenericFrame::RGBD, Image< T >::size(), ModelComponent::start(), ModelComponent::stop(), and Dims::w().