Changeset 364 in 3DVCSoftware for branches/HTM-DEV-0.1-dev/source/App/TAppEncoder/TAppEncCfg.cpp
- Timestamp:
- 3 May 2013, 16:34:51 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.1-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r363 r364 107 107 delete[] m_aidQP; 108 108 } 109 free(m_pchInputFile);110 109 #endif 111 110 #if J0149_TONE_MAPPING_SEI … … 126 125 } 127 126 #endif 127 #if !H_MV 128 free(m_pchInputFile); 129 #endif 128 130 free(m_pchBitstreamFile); 129 130 131 #if H_MV 131 132 for(Int i = 0; i< m_pchReconFileList.size(); i++ ) … … 137 138 free(m_pchReconFile); 138 139 #endif 139 140 140 free(m_pchdQPFile); 141 141 free(m_pColumnWidth); … … 337 337 #endif 338 338 #endif 339 340 339 string cfg_dQPFile; 341 340 string cfg_ColumnWidth; … … 361 360 362 361 // File, I/O and source parameters 363 364 362 #if H_MV 365 363 ("InputFile_%d,i_%d", m_pchInputFileList, (char *) 0 , MAX_NUM_LAYER_IDS , "original Yuv input file name %d") … … 367 365 ("InputFile,i", cfg_InputFile, string(""), "Original YUV input file name") 368 366 #endif 369 370 367 ("BitstreamFile,b", cfg_BitstreamFile, string(""), "Bitstream output file name") 371 372 368 #if H_MV 373 369 ("ReconFile_%d,o_%d", m_pchReconFileList, (char *) 0 , MAX_NUM_LAYER_IDS , "reconstructed Yuv output file name %d") … … 375 371 ("ReconFile,o", cfg_ReconFile, string(""), "Reconstructed YUV output file name") 376 372 #endif 377 378 373 #if H_MV 379 374 ("NumberOfLayers", m_numberOfLayers , 1, "Number of layers") … … 413 408 414 409 // Profile and level 415 416 410 ("Profile", m_profile, Profile::NONE, "Profile to be used when encoding (Incomplete)") 417 411 ("Level", m_level, Level::NONE, "Level limit to be used, eg 5.1 (Incomplete)") … … 730 724 } 731 725 #endif 732 733 726 po::setDefaults(opts); 734 727 const list<const Char*>& argv_unhandled = po::scanArgv(opts, argc, (const Char**) argv); … … 760 753 m_pchReconFile = cfg_ReconFile.empty() ? NULL : strdup(cfg_ReconFile.c_str()); 761 754 #endif 762 763 755 m_pchdQPFile = cfg_dQPFile.empty() ? NULL : strdup(cfg_dQPFile.c_str()); 764 756 … … 824 816 free ( pRowHeight ); 825 817 #endif 826 827 818 #if SIGNAL_BITRATE_PICRATE_IN_VPS 828 819 readBoolString(cfg_bitRateInfoPresentFlag, m_bitRatePicRateMaxTLayers, m_bitRateInfoPresentFlag, "bit rate info. present flag" ); … … 1142 1133 xConfirmPara( m_iFrameRate <= 0, "Frame rate must be more than 1" ); 1143 1134 xConfirmPara( m_framesToBeEncoded <= 0, "Total Number Of Frames encoded must be more than 0" ); 1144 1145 1135 #if H_MV 1146 1136 xConfirmPara( m_numberOfLayers > MAX_NUM_LAYER_IDS , "NumberOfLayers must be less than or equal to MAX_NUM_LAYER_IDS"); … … 1155 1145 xConfirmPara( m_scalabilityMask != 1 , "Scalability Mask must be equal to 1. "); 1156 1146 #endif 1157 1147 1158 1148 m_dimIds.push_back( m_viewId ); 1159 1149 #if H_3D … … 1212 1202 1213 1203 #endif 1214 1215 1216 1204 xConfirmPara( m_iGOPSize < 1 , "GOP Size must be greater or equal to 1" ); 1217 1205 xConfirmPara( m_iGOPSize > 1 && m_iGOPSize % 2, "GOP Size must be a multiple of 2, if GOP Size is greater than 1" );
Note: See TracChangeset for help on using the changeset viewer.