include/CaptureCmdLine.h

Go to the documentation of this file.
00001 /*
00002  * CaptureCmdLine.h
00003  *
00004  * Copyright (c) 2011 Datapath Ltd.
00005  *
00006  * This file forms part of the Vision driver capture
00007  * application sample source code.
00008  *
00009  * Purpose: Declares capture app command line structures and
00010  * functions.
00011  *
00012  */
00013 
00014 #define MAX_LEN 256
00015 
00019 typedef struct _sCmdLineArgs
00020 {
00021    int  valid;
00022 
00023    int  nonblocking;
00024 
00025    char device[MAX_LEN];
00026 
00027    char output_width[MAX_LEN];
00028    char output_height[MAX_LEN];
00029    char output_pixfmt[MAX_LEN];
00030 
00031    char output_io[MAX_LEN];
00032 
00033    char frame_rate[MAX_LEN];
00034 
00035    char cropping[MAX_LEN];
00036    int  capture_count;
00037 
00038    int  timestamp;
00039 
00040    char delay[MAX_LEN];
00041 
00042    int  livestream;
00043 } sCmdLineArgs, *psCmdLineArgs;
00044 
00053 int ParseCommandLine(int argc, char* argv[], psCmdLineArgs pCmdLineArgs);

Generated on Fri Jan 20 10:36:56 2017 for Vision Utils by  doxygen 1.4.7