Changeset 1377 in SHVCSoftware for branches/SHM-dev/source/Lib
- Timestamp:
- 23 Jul 2015, 01:02:36 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TAppCommon/program_options_lite.cpp
r1301 r1377 294 294 if (!found) 295 295 { 296 #if 1 //SVC_EXTENSION 297 if( error_reporter.verbose ) 298 #endif 296 299 error_reporter.error(where()) 297 300 << "Unknown option `" << name << "' (value:`" << value << "')\n"; -
branches/SHM-dev/source/Lib/TAppCommon/program_options_lite.h
r1301 r1377 66 66 struct ErrorReporter 67 67 { 68 ErrorReporter() : is_errored(0) {} 68 ErrorReporter() 69 : is_errored(0) 70 #if 1 //SVC_EXTENSION 71 , verbose(true) 72 #endif 73 {} 69 74 virtual ~ErrorReporter() {} 70 75 virtual std::ostream& error(const std::string& where); 71 76 virtual std::ostream& warn(const std::string& where); 72 77 bool is_errored; 78 #if 1 //SVC_EXTENSION 79 bool verbose; 80 #endif 73 81 }; 74 82 -
branches/SHM-dev/source/Lib/TLibCommon/TComRom.cpp
r1353 r1377 56 56 switch (type) 57 57 { 58 case NAL_UNIT_CODED_SLICE_TRAIL_R: return " TRAIL_R"; 59 case NAL_UNIT_CODED_SLICE_TRAIL_N: return " TRAIL_N"; 60 case NAL_UNIT_CODED_SLICE_TSA_R: return " TSA_R"; 61 case NAL_UNIT_CODED_SLICE_TSA_N: return " TSA_N"; 62 case NAL_UNIT_CODED_SLICE_STSA_R: return " STSA_R"; 63 case NAL_UNIT_CODED_SLICE_STSA_N: return " STSA_N"; 64 case NAL_UNIT_CODED_SLICE_BLA_W_LP: return " BLA_W_LP"; 65 case NAL_UNIT_CODED_SLICE_BLA_W_RADL: return "BLA_W_RADL"; 66 case NAL_UNIT_CODED_SLICE_BLA_N_LP: return " BLA_N_LP"; 67 case NAL_UNIT_CODED_SLICE_IDR_W_RADL: return "IDR_W_RADL"; 68 case NAL_UNIT_CODED_SLICE_IDR_N_LP: return " IDR_N_LP"; 69 case NAL_UNIT_CODED_SLICE_CRA: return " CRA"; 70 case NAL_UNIT_CODED_SLICE_RADL_R: return " RADL_R"; 71 case NAL_UNIT_CODED_SLICE_RADL_N: return " RADL_N"; 72 case NAL_UNIT_CODED_SLICE_RASL_R: return " RASL_R"; 73 case NAL_UNIT_CODED_SLICE_RASL_N: return " RASL_N"; 74 case NAL_UNIT_VPS: return " VPS"; 75 case NAL_UNIT_SPS: return " SPS"; 76 case NAL_UNIT_PPS: return " PPS"; 77 case NAL_UNIT_ACCESS_UNIT_DELIMITER: return " AUD"; 78 case NAL_UNIT_EOS: return " EOS"; 79 case NAL_UNIT_EOB: return " EOB"; 80 case NAL_UNIT_FILLER_DATA: return " FILLER"; 81 case NAL_UNIT_PREFIX_SEI: return " SEI"; 82 case NAL_UNIT_SUFFIX_SEI: return " SEI"; 83 default: return " UNK"; 84 } 85 #else 86 switch (type) 87 { 58 88 case NAL_UNIT_CODED_SLICE_TRAIL_R: return "TRAIL_R"; 59 89 case NAL_UNIT_CODED_SLICE_TRAIL_N: return "TRAIL_N"; … … 82 112 case NAL_UNIT_SUFFIX_SEI: return "Suffix SEI"; 83 113 default: return "UNK"; 84 }85 #else86 switch (type)87 {88 case NAL_UNIT_CODED_SLICE_TRAIL_R: return " TRAIL_R";89 case NAL_UNIT_CODED_SLICE_TRAIL_N: return " TRAIL_N";90 case NAL_UNIT_CODED_SLICE_TSA_R: return " TSA_R";91 case NAL_UNIT_CODED_SLICE_TSA_N: return " TSA_N";92 case NAL_UNIT_CODED_SLICE_STSA_R: return " STSA_R";93 case NAL_UNIT_CODED_SLICE_STSA_N: return " STSA_N";94 case NAL_UNIT_CODED_SLICE_BLA_W_LP: return " BLA_W_LP";95 case NAL_UNIT_CODED_SLICE_BLA_W_RADL: return "BLA_W_RADL";96 case NAL_UNIT_CODED_SLICE_BLA_N_LP: return " BLA_N_LP";97 case NAL_UNIT_CODED_SLICE_IDR_W_RADL: return "IDR_W_RADL";98 case NAL_UNIT_CODED_SLICE_IDR_N_LP: return " IDR_N_LP";99 case NAL_UNIT_CODED_SLICE_CRA: return " CRA";100 case NAL_UNIT_CODED_SLICE_RADL_R: return " RADL_R";101 case NAL_UNIT_CODED_SLICE_RADL_N: return " RADL_N";102 case NAL_UNIT_CODED_SLICE_RASL_R: return " RASL_R";103 case NAL_UNIT_CODED_SLICE_RASL_N: return " RASL_N";104 case NAL_UNIT_VPS: return " VPS";105 case NAL_UNIT_SPS: return " SPS";106 case NAL_UNIT_PPS: return " PPS";107 case NAL_UNIT_ACCESS_UNIT_DELIMITER: return " AUD";108 case NAL_UNIT_EOS: return " EOS";109 case NAL_UNIT_EOB: return " EOB";110 case NAL_UNIT_FILLER_DATA: return " FILLER";111 case NAL_UNIT_PREFIX_SEI: return " SEI";112 case NAL_UNIT_SUFFIX_SEI: return " SEI";113 default: return " UNK";114 114 } 115 115 #endif -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1366 r1377 40 40 41 41 #if SVC_EXTENSION 42 UInt TDecTop::m_prevPOC = MAX_UINT;43 UInt TDecTop::m_uiPrevLayerId = MAX_UINT;44 Bool TDecTop::m_bFirstSliceInSequence = true;45 Bool TDecTop::m_checkPocRestrictionsForCurrAu 46 Int TDecTop::m_pocResetIdcOrCurrAu 47 Bool TDecTop::m_baseLayerIdrFlag 48 Bool TDecTop::m_baseLayerPicPresentFlag 49 Bool TDecTop::m_baseLayerIrapFlag 50 Bool TDecTop::m_nonBaseIdrPresentFlag 51 Int TDecTop::m_nonBaseIdrType 52 Bool TDecTop::m_picNonIdrWithRadlPresentFlag 53 Bool TDecTop::m_picNonIdrNoLpPresentFlag 54 Int TDecTop::m_crossLayerPocResetPeriodId 55 Int TDecTop::m_crossLayerPocResetIdc 42 UInt TDecTop::m_prevPOC = MAX_UINT; 43 UInt TDecTop::m_uiPrevLayerId = MAX_UINT; 44 Bool TDecTop::m_bFirstSliceInSequence = true; 45 Bool TDecTop::m_checkPocRestrictionsForCurrAu = false; 46 Int TDecTop::m_pocResetIdcOrCurrAu = -1; 47 Bool TDecTop::m_baseLayerIdrFlag = false; 48 Bool TDecTop::m_baseLayerPicPresentFlag = false; 49 Bool TDecTop::m_baseLayerIrapFlag = false; 50 Bool TDecTop::m_nonBaseIdrPresentFlag = false; 51 Int TDecTop::m_nonBaseIdrType = -1; 52 Bool TDecTop::m_picNonIdrWithRadlPresentFlag = false; 53 Bool TDecTop::m_picNonIdrNoLpPresentFlag = false; 54 Int TDecTop::m_crossLayerPocResetPeriodId = -1; 55 Int TDecTop::m_crossLayerPocResetIdc = -1; 56 56 #endif 57 57 … … 2579 2579 || pps.getCGSFlag() > 0 2580 2580 #endif 2581 #if LAYER_CTB2582 || pcTDecTopBase->getActiveSPS()->getMaxCUWidth() != m_ppcTDecTop[m_layerId]->getActiveSPS()->getMaxCUWidth() || pcTDecTopBase->getActiveSPS()->getMaxCUHeight() != m_ppcTDecTop[m_layerId]->getActiveSPS()->getMaxCUHeight() || pcTDecTopBase->getActiveSPS()->getMaxCUDepth() != m_ppcTDecTop[m_layerId]->getActiveSPS()->getMaxCUDepth()2583 #endif2584 2581 ) 2585 2582 { -
branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp
r1372 r1377 743 743 || m_cPPS.getCGSFlag() > 0 744 744 #endif 745 #if LAYER_CTB746 || pcEncTopBase->getSPS()->getMaxCUWidth() != m_cSPS.getMaxCUWidth() || pcEncTopBase->getSPS()->getMaxCUHeight() != m_cSPS.getMaxCUHeight() || pcEncTopBase->getSPS()->getMaxCUDepth() != m_cSPS.getMaxCUDepth()747 #endif748 745 ) 749 746 { … … 792 789 #if CGS_3D_ASYMLUT 793 790 || m_cPPS.getCGSFlag() > 0 794 #endif795 #if LAYER_CTB796 || pcEncTopBase->getSPS()->getMaxCUWidth() != m_cSPS.getMaxCUWidth() || pcEncTopBase->getSPS()->getMaxCUHeight() != m_cSPS.getMaxCUHeight() || pcEncTopBase->getSPS()->getMaxCUDepth() != m_cSPS.getMaxCUDepth()797 791 #endif 798 792 )
Note: See TracChangeset for help on using the changeset viewer.