Changeset 1344 in 3DVCSoftware for branches/HTM-15.1-dev0-Disney/source/Lib/TLibCommon
- Timestamp:
- 5 Oct 2015, 20:05:53 (10 years ago)
- Location:
- branches/HTM-15.1-dev0-Disney/source/Lib/TLibCommon
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-15.1-dev0-Disney/source/Lib/TLibCommon/SEI.cpp
r1343 r1344 371 371 po::ErrorReporter err; 372 372 po::parseConfigFile( opts, cfgFile, err ); 373 m_lnpSeiMaxLayers = m_layerNotPresentFlag.size();373 m_lnpSeiMaxLayers = (UInt) m_layerNotPresentFlag.size(); 374 374 }; 375 375 … … 382 382 // // TBD: Add constraints on presence of SEI here. 383 383 xCheckCfg ( wrongConfig, m_lnpSeiActiveVpsId == vps->getVPSId(), "The value of lnp_sei_active_vps_id shall be equal to the value of vps_video_parameter_set_id of the active VPS for the VCL NAL units of the access unit containing the SEI message." ); 384 xCheckCfg ( wrongConfig, m_lnpSeiMaxLayers == vps->getMaxLayersMinus1(), "The number of LayerNotPresent flags shall be equal to vpsMaxLayersMinus1." ); 384 385 385 386 … … 753 754 { 754 755 sprintf(cstr, "LanguageTag%02d", i); 755 m_overlayLanguage[i] = std::string(cstr);756 //m_overlayLanguage[i] = std::string(cstr); 756 757 sprintf(cstr, "Overlay%02dName", i); 757 m_overlayName[i] = std::string(cstr);758 //m_overlayName[i] = std::string(cstr); 758 759 759 760 m_overlayElementName[i].resize(m_numOverlayElementsMax); … … 803 804 ("OverlayElementLabelMin_%d" , m_overlayElementLabelMin , IntAry1d (256,0) ,16 , "OverlayElementLabelMin" ) 804 805 ("OverlayElementLabelMax_%d" , m_overlayElementLabelMax , IntAry1d (256,0) ,16 , "OverlayElementLabelMax" ) 806 ("OverlayLanguage_%d" , m_overlayLanguage , std::string(""), 16 , "OverlayLanguage" ) 807 ("OverlayName_%d" , m_overlayName , std::string(""), 16 , "OverlayName" ) 808 ("OverlayElementName_%d_%d" , m_overlayElementName , std::string(""), 256 ,16 , "OverlayElementName" ) 805 809 ("OverlayInfoPersistenceFlag" , m_overlayInfoPersistenceFlag , false , "OverlayInfoPersistenceFlag" ) 806 810 ; … … 813 817 814 818 // Initialize some values for syntax elements with declaration type st(v) (i.e. string type syntax elements) 815 initStringElements();819 // initStringElements(); 816 820 }; 817 821 … … 1469 1473 1470 1474 1471 1475 #if NH_3D 1472 1476 Void SEIAlternativeDepthInfo::setupFromCfgFile(const Char* cfgFile) 1473 1477 { … … 1549 1553 po::parseConfigFile( opts, cfgFile, err ); 1550 1554 }; 1551 1552 1553 1555 Bool SEIAlternativeDepthInfo::checkCfg( const TComSlice* slice ) 1554 1556 { … … 1611 1613 1612 1614 }; 1613 1614 1615 1615 #endif 1616 1617 #endif -
branches/HTM-15.1-dev0-Disney/source/Lib/TLibCommon/SEI.h
r1343 r1344 835 835 IntAry2d m_overlayElementLabelMin; 836 836 IntAry2d m_overlayElementLabelMax; 837 std::vector< std::string >m_overlayLanguage;838 std::vector< std::string >m_overlayName;839 std::vector< std::vector< std::string > >m_overlayElementName;837 StringAry1d m_overlayLanguage; 838 StringAry1d m_overlayName; 839 StringAry2d m_overlayElementName; 840 840 Bool m_overlayInfoPersistenceFlag; 841 841 }; … … 981 981 982 982 } 983 int m_currLayerID;983 Int m_currLayerID; 984 984 BoolAry1d m_zNearFlag; 985 985 BoolAry1d m_zFarFlag; … … 992 992 IntAry2d m_disparityRefViewId; 993 993 IntAry2d m_depthNonlinearRepresentationNumMinus1; 994 IntAry2d m_depth_nonlinear_representation_model;994 IntAry2d m_depth_nonlinear_representation_model; 995 995 }; 996 996 #endif … … 1140 1140 }; 1141 1141 1142 1142 #if NH_3D 1143 1143 class SEIAlternativeDepthInfo : public SEI 1144 1144 { … … 1207 1207 }; 1208 1208 1209 1209 #endif 1210 1210 #endif 1211 1211 -
branches/HTM-15.1-dev0-Disney/source/Lib/TLibCommon/TComRom.cpp
r1321 r1344 537 537 const Bool g_bEncDecTraceEnable = true; 538 538 const Bool g_bEncDecTraceDisable = false; 539 Bool g_HLSTraceEnable = false;539 Bool g_HLSTraceEnable = true; 540 540 Bool g_bJustDoIt = false; 541 541 UInt64 g_nSymbolCounter = 0; … … 544 544 Bool g_tracePU = false; 545 545 Bool g_traceTU = false; 546 Bool g_disableNumbering = false;546 Bool g_disableNumbering = true; 547 547 Bool g_disableHLSTrace = false; 548 548 UInt64 g_stopAtCounter = 4660; -
branches/HTM-15.1-dev0-Disney/source/Lib/TLibCommon/TComRom.h
r1321 r1344 153 153 // Change later 154 154 #ifndef ENC_DEC_TRACE 155 #define ENC_DEC_TRACE 0155 #define ENC_DEC_TRACE 1 156 156 #endif 157 157 #endif -
branches/HTM-15.1-dev0-Disney/source/Lib/TLibCommon/TypeDef.h
r1339 r1344 492 492 #endif 493 493 #if NH_MV 494 typedef std::vector< std::string > StringAry1d; 495 typedef std::vector< StringAry1d > StringAry2d; 494 496 typedef std::vector< Int > IntAry1d; 495 497 typedef std::vector< IntAry1d > IntAry2d;
Note: See TracChangeset for help on using the changeset viewer.