- Timestamp:
- 15 Dec 2015, 18:34:17 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1509 r1511 255 255 {"scalable-main10", Profile::SCALABLEMAIN10 }, 256 256 #if SCALABLE_REXT 257 {"scalable-R ext", Profile::SCALABLEREXT },257 {"scalable-RExt", Profile::SCALABLEREXT }, 258 258 #endif 259 259 #endif … … 4308 4308 m_bPCMInputBitDepthFlag ? m_MSBExtendedBitDepth[CHANNEL_TYPE_CHROMA] : m_internalBitDepth[CHANNEL_TYPE_CHROMA] ); 4309 4309 #if SVC_EXTENSION 4310 printChromaFormat( m_apcLayerCfg[layerIdx]->m_InputChromaFormatIDC, m_apcLayerCfg[layerIdx]->m_chromaFormatIDC ); 4310 4311 } 4311 4312 … … 4503 4504 4504 4505 #if SVC_EXTENSION 4506 Void TAppEncCfg::printChromaFormat( const ChromaFormat inputChromaFormatIDC, const ChromaFormat chromaFormatIDC ) 4507 { 4508 std::cout << "Input ChromaFormatIDC : "; 4509 switch (inputChromaFormatIDC) 4510 { 4511 case CHROMA_400: std::cout << "4:0:0"; break; 4512 case CHROMA_420: std::cout << "4:2:0"; break; 4513 case CHROMA_422: std::cout << "4:2:2"; break; 4514 case CHROMA_444: std::cout << "4:4:4"; break; 4515 default: 4516 std::cerr << "Invalid"; 4517 exit(1); 4518 } 4519 std::cout << std::endl; 4520 4521 std::cout << "Output (internal) ChromaFormatIDC : "; 4522 switch (chromaFormatIDC) 4523 { 4524 case CHROMA_400: std::cout << "4:0:0"; break; 4525 case CHROMA_420: std::cout << "4:2:0"; break; 4526 case CHROMA_422: std::cout << "4:2:2"; break; 4527 case CHROMA_444: std::cout << "4:4:4"; break; 4528 default: 4529 std::cerr << "Invalid"; 4530 exit(1); 4531 } 4532 std::cout << "\n" << std::endl; 4533 } 4534 4505 4535 Void TAppEncCfg::cfgStringToArray(Int **arr, string const cfgString, Int const numEntries, const char* logString) 4506 4536 { -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r1487 r1511 637 637 Bool scanStringToArrayNumEntries(string const cfgString, Int &numEntries, const char* logString, std::vector<Int> & returnVector); 638 638 Void cfgStringToArrayNumEntries(Int **arr, string const cfgString, Int &numEntries, const char* logString); 639 Void printChromaFormat( const ChromaFormat inputChromaFormatIDC, const ChromaFormat chromaFormatIDC ); 639 640 640 641 #if SCALABLE_REXT -
branches/SHM-dev/source/Lib/TLibEncoder/TEncAnalyze.h
r1489 r1511 227 227 else 228 228 { 229 #if SVC_EXTENSION 230 if( layerId == 0 ) 231 { 232 #endif 229 233 printf( "\tTotal Frames | " "Bitrate " "Y-PSNR" ); 230 234 … … 240 244 //printf( "\t------------ " " ----------" " -------- " " -------- " " --------\n" ); 241 245 #if SVC_EXTENSION 246 } 247 242 248 printf( " L%d \t %8d %c " "%12.4lf " "%8.4lf", 243 249 layerId,
Note: See TracChangeset for help on using the changeset viewer.