mexopencv  3.4.1
MEX interface for OpenCV library
Public Member Functions | Public Attributes | List of all members
anonymous_namespace{VideoWriter_.cpp}::OptionsParser Struct Reference

Option arguments parser used by constructor and open method. More...

Public Member Functions

 OptionsParser (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Parse input arguments. More...
 

Public Attributes

int apiPreference
 API preference. More...
 
int fourcc
 4-character code of codec used to compress the frames. More...
 
double fps
 Framerate of the created video stream. More...
 
bool isColor
 Flag to indicate whether to expect color or grayscale frames. More...
 

Detailed Description

Option arguments parser used by constructor and open method.

Definition at line 64 of file VideoWriter_.cpp.

Constructor & Destructor Documentation

◆ OptionsParser()

anonymous_namespace{VideoWriter_.cpp}::OptionsParser::OptionsParser ( vector< MxArray >::const_iterator  first,
vector< MxArray >::const_iterator  last 
)
inline

Parse input arguments.

Parameters
firstiterator at the beginning of the arguments vector.
lastiterator at the end of the arguments vector.

Definition at line 79 of file VideoWriter_.cpp.

Member Data Documentation

◆ apiPreference

int anonymous_namespace{VideoWriter_.cpp}::OptionsParser::apiPreference

API preference.

Definition at line 67 of file VideoWriter_.cpp.

◆ fourcc

int anonymous_namespace{VideoWriter_.cpp}::OptionsParser::fourcc

4-character code of codec used to compress the frames.

Definition at line 69 of file VideoWriter_.cpp.

◆ fps

double anonymous_namespace{VideoWriter_.cpp}::OptionsParser::fps

Framerate of the created video stream.

Definition at line 71 of file VideoWriter_.cpp.

◆ isColor

bool anonymous_namespace{VideoWriter_.cpp}::OptionsParser::isColor

Flag to indicate whether to expect color or grayscale frames.

Definition at line 73 of file VideoWriter_.cpp.


The documentation for this struct was generated from the following file: