Today, when I was going through a code for video coding, I found a very strange code as given below:Please see the strange code in the following URL. ( it is too big to be pasted here)
URL is
http://hevc.hhi.fraunhofer.de/HM-doc/_t_app_enc_cfg_8cpp_source.html
code Line 102
A set of parameters ( file I/O parameters) are enclosed in simple braces and are simply written line by line . What is the format ? I didn't get any idea.
Bool TAppEncCfg::parseCfg( Int argc, Char* argv[] )
{
bool do_help = false;
string cfg_InputFile;
string cfg_dQPFile;
po::Options opts;
opts.addOptions()
("help", do_help, false, "this help text")
("c", po::parseConfigFile, "configuration file name")
/* File, I/O and source parameters */
("InputFile,i", cfg_InputFile, string(""), "original YUV input file name")
("BitstreamFile,b", cfg_BitstreamFile, string(""), "bitstream output file name")
("ReconFile,o", cfg_ReconFile, string(""), "reconstructed YUV output file name")
("SourceWidth,-wdt", m_iSourceWidth, 0, "Source picture width")
.....
.......
/* Unit definition parameters */
("MaxCUWidth", m_uiMaxCUWidth, 64u)
("MaxCUHeight", m_uiMaxCUHeight, 64u)
......
.....
return true;
}