- Timestamp:
- 5 Oct 2015, 20:05:53 (9 years ago)
- Location:
- branches/HTM-15.1-dev0-Disney
- Files:
-
- 2 added
- 1 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-15.1-dev0-Disney/cfg/3D-HEVC/fullCfg.cfg
r1313 r1344 350 350 351 351 WarnUnknowParameter : 1 352 #========== Supplemental enhancement information ========== 353 SeiCfgFileName_0 : 354 SeiCfgFileName_1 : 355 SeiCfgFileName_2 : 356 SeiCfgFileName_3 : 357 SeiCfgFileName_4 : 358 SeiCfgFileName_5 : 359 SeiCfgFileName_6 : 360 SeiCfgFileName_7 : 361 SeiCfgFileName_8 : 362 SeiCfgFileName_9 : 363 SeiCfgFileName_10 : 364 SeiCfgFileName_11 : 365 SeiCfgFileName_12 : 366 SeiCfgFileName_13 : 367 SeiCfgFileName_14 : 368 352 369 353 370 ### DO NOT ADD ANYTHING BELOW THIS LINE ### -
branches/HTM-15.1-dev0-Disney/cfg/MV-HEVC/fullCfg.cfg
r1328 r1344 319 319 SeiCfgFileName_8 : 320 320 SeiCfgFileName_9 : 321 SeiCfgFileName_10 : 321 SeiCfgFileName_10 : 322 SeiCfgFileName_11 : 323 SeiCfgFileName_12 : 324 SeiCfgFileName_13 : 325 SeiCfgFileName_14 : 322 326 323 327 ### DO NOT ADD ANYTHING BELOW THIS LINE ### -
branches/HTM-15.1-dev0-Disney/cfg/SEI/overlayInfoSei.cfg
r1342 r1344 20 20 OverlayAlphaAuxIdMinus128 : 3 21 21 OverlayElementLabelValueLengthMinus8: 0 22 NumOverlaysMinus1 : 023 OverlayIdx : 524 LanguageOverlayPresentFlag : 125 OverlayContentLayerId : 1026 OverlayLabelPresentFlag : 1 27 OverlayLabelLayerId : 2028 OverlayAlphaPresentFlag : 0 29 OverlayAlphaLayerId : 3030 NumOverlayElementsMinus1 : 3 22 NumOverlaysMinus1 : 1 23 OverlayIdx : 2 5 24 LanguageOverlayPresentFlag : 0 1 25 OverlayContentLayerId : 0 2 26 OverlayLabelPresentFlag : 1 1 27 OverlayLabelLayerId : 1 3 28 OverlayAlphaPresentFlag : 0 0 29 OverlayAlphaLayerId : 30 NumOverlayElementsMinus1 : 3 0 31 31 OverlayElementLabelMin_0 : 40 100 170 230 32 32 OverlayElementLabelMax_0 : 80 140 210 255 33 OverlayElementLabelMin_1 : 40 34 OverlayElementLabelMax_1 : 80 35 OverlayLanguage_0 : Language overlayer 0 36 OverlayLanguage_1 : Language overlayer 1 37 OverlayName_0 : Overlay 0 38 OverlayName_1 : Overlay 1 39 OverlayElementName_0_0 : Overlay 0 Element 0 40 OverlayElementName_0_1 : Overlay 0 Element 1 41 OverlayElementName_0_2 : Overlay 0 Element 2 42 OverlayElementName_0_3 : Overlay 0 Element 3 43 OverlayElementName_0_4 : Overlay 0 Element 4 44 OverlayElementName_1_0 : Overlay 1 Element 0 33 45 OverlayInfoPersistenceFlag : 1 34 -
branches/HTM-15.1-dev0-Disney/source/Lib/TAppCommon/program_options_lite.h
r1339 r1344 488 488 template<> 489 489 inline void 490 Option< StringAry1d >::parse(const std::string& arg, const std::vector<int>& idcs, ErrorReporter& err ) 491 { 492 493 opt_storage[ idcs[ 0 ] ] = arg; 494 }; 495 496 template<> 497 inline void 498 Option< StringAry2d >::parse(const std::string& arg, const std::vector<int>& idcs, ErrorReporter& err ) 499 { 500 501 opt_storage[idcs[0]][idcs[1]] = arg; 502 }; 503 504 505 template<> 506 inline void 490 507 Option< std::vector< char*> >::parse(const std::string& arg, const std::vector<int>& idcs, ErrorReporter& err ) 491 508 { … … 643 660 return *this; 644 661 } 662 645 663 template<typename T> 646 664 OptionSpecific& -
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; -
branches/HTM-15.1-dev0-Disney/source/Lib/TLibDecoder/SEIread.cpp
r1343 r1344 387 387 xParseSEIMultiviewViewPosition((SEIMultiviewViewPosition&) *sei, payloadSize, pDecodedMessageOutputStream ); 388 388 break; 389 #if NH_3D 389 390 case SEI::ALTERNATIVE_DEPTH_INFO: 390 391 sei = new SEIAlternativeDepthInfo; 391 392 xParseSEIAlternativeDepthInfo((SEIAlternativeDepthInfo&) *sei, payloadSize, pDecodedMessageOutputStream ); 392 393 break; 394 #endif 393 395 #endif 394 396 default: … … 1423 1425 UChar* sval = new UChar[sei.m_numStringBytesMax]; 1424 1426 UInt slen; 1425 sei.m_overlayLanguage .resize( sei.m_numOverlaysMinus1 + 1 );1426 sei.m_overlayName .resize( sei.m_numOverlaysMinus1 + 1 );1427 sei.m_overlayLanguage .resize( sei.m_numOverlaysMinus1 + 1 ); 1428 sei.m_overlayName .resize( sei.m_numOverlaysMinus1 + 1 ); 1427 1429 sei.m_overlayElementName.resize( sei.m_numOverlaysMinus1 + 1 ); 1428 1430 for( Int i = 0; i <= sei.m_numOverlaysMinus1; i++ ) … … 1690 1692 }; 1691 1693 1692 1694 #if NH_3D 1693 1695 Void SEIReader::xParseSEIAlternativeDepthInfo(SEIAlternativeDepthInfo& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream) 1694 1696 { … … 1799 1801 } 1800 1802 }; 1801 1803 #endif 1802 1804 1803 1805 //! \} -
branches/HTM-15.1-dev0-Disney/source/Lib/TLibDecoder/SEIread.h
r1343 r1344 129 129 Void xParseSEIMultiviewViewPosition (SEIMultiviewViewPosition& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream); 130 130 #endif 131 #if NH_3D 131 132 Void xParseSEIAlternativeDepthInfo (SEIAlternativeDepthInfo& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream); 133 #endif 132 134 133 135 Void sei_read_code(std::ostream *pOS, UInt uiLength, UInt& ruiCode, const Char *pSymbolName); -
branches/HTM-15.1-dev0-Disney/source/Lib/TLibEncoder/SEIwrite.cpp
r1343 r1344 180 180 xWriteSEIMultiviewViewPosition(*static_cast<const SEIMultiviewViewPosition*>(&sei)); 181 181 break; 182 #if NH_3D 182 183 case SEI::ALTERNATIVE_DEPTH_INFO: 183 184 xWriteSEIAlternativeDepthInfo(*static_cast<const SEIAlternativeDepthInfo*>(&sei)); 184 185 break; 186 #endif 185 187 #endif 186 188 … … 1201 1203 if (f<thr) 1202 1204 break; 1203 }else 1205 } 1206 else 1204 1207 { 1205 1208 s_mantissa[i]=0; … … 1220 1223 } 1221 1224 1222 }else 1225 } 1226 else 1223 1227 { 1224 1228 x_mantissa=0; … … 1307 1311 #endif 1308 1312 1309 1313 #if NH_3D 1310 1314 Void SEIWriter::xWriteSEIAlternativeDepthInfo( const SEIAlternativeDepthInfo& sei) 1311 1315 { … … 1413 1417 } 1414 1418 }; 1415 1419 #endif 1416 1420 1417 1421 -
branches/HTM-15.1-dev0-Disney/source/Lib/TLibEncoder/SEIwrite.h
r1343 r1344 107 107 Void xWriteSEIMultiviewAcquisitionInfo ( const SEIMultiviewAcquisitionInfo& sei); 108 108 Void xWriteSEIMultiviewViewPosition ( const SEIMultiviewViewPosition& sei); 109 #if NH_3D 109 110 Void xWriteSEIAlternativeDepthInfo ( const SEIAlternativeDepthInfo& sei); 111 #endif 110 112 Void xWriteByteAlign(); 111 113 };
Note: See TracChangeset for help on using the changeset viewer.