JeVois  1.22
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
Loading...
Searching...
No Matches
jevois-add-videomapping.C File Reference
#include <jevois/Debug/Log.H>
#include <jevois/Core/VideoMapping.H>
#include <jevois/Util/Utils.H>
#include <fstream>
#include <iostream>
#include <sstream>
Include dependency graph for jevois-add-videomapping.C:

Go to the source code of this file.

Functions

int main (int argc, char const *argv[])
 Add a new mapping to videomappings.cfg skipping duplicates.
 

Function Documentation

◆ main()

int main ( int  argc,
char const *  argv[] 
)

Add a new mapping to videomappings.cfg skipping duplicates.

This little app was created so that we ensure perfect consistency between the kernel driver and the user code by using exactly the same config file parsing code (in VideoMapping).

Definition at line 28 of file jevois-add-videomapping.C.

References jevois::VideoMapping::hasSameSpecsAs(), JEVOIS_ENGINE_CONFIG_FILE, LFATAL, LINFO, jevois::logEnd(), jevois::logLevel, jevois::VideoMapping::modulename, jevois::VideoMapping::str(), jevois::VideoMapping::vendor, and jevois::VideoMapping::wdr.