Changeset 1374 in 3DVCSoftware for branches/HTM-15.2-dev/source/App
- Timestamp:
- 9 Nov 2015, 21:13:05 (9 years ago)
- Location:
- branches/HTM-15.2-dev/source/App
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-15.2-dev/source/App/TAppDecoder/TAppDecCfg.cpp
r1373 r1374 109 109 ("ForceDecodeBitDepth", m_forceDecodeBitDepth, 0U, "Force the decoder to operate at a particular bit-depth (best effort decoding)") 110 110 #endif 111 #if NH_MV _SEI111 #if NH_MV 112 112 ("OutputDecodedSEIMessagesFilename,m", m_outputDecodedSEIMessagesFilename, string(""), "When non empty, output decoded SEI messages to the indicated file. If file is '-', then output to stdout\n") 113 113 #else -
branches/HTM-15.2-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1373 r1374 205 205 206 206 207 #if NH_MV _SEI207 #if NH_MV 208 208 Void TAppEncCfg::xParseSeiCfg() 209 209 { … … 1276 1276 ("SEIMasteringDisplayWhitePoint", cfg_DisplayWhitePointCode, cfg_DisplayWhitePointCode, "Mastering display white point CIE xy coordinates in normalised increments of 1/50000 (e.g. 0.333 = 16667)") 1277 1277 #if NH_MV 1278 #if !NH_MV_SEI1279 ("SubBitstreamPropSEIEnabled", m_subBistreamPropSEIEnabled, false ,"Enable signaling of sub-bitstream property SEI message")1280 ("SEISubBitstreamNumAdditionalSubStreams", m_sbPropNumAdditionalSubStreams,0 ,"Number of substreams for which additional information is signalled")1281 ("SEISubBitstreamSubBitstreamMode", m_sbPropSubBitstreamMode, IntAry1d (1,0) ,"Specifies mode of generation of the i-th sub-bitstream (0 or 1)")1282 ("SEISubBitstreamOutputLayerSetIdxToVps", m_sbPropOutputLayerSetIdxToVps, IntAry1d (1,0) ,"Specifies output layer set index of the i-th sub-bitstream ")1283 ("SEISubBitstreamHighestSublayerId", m_sbPropHighestSublayerId, IntAry1d (1,0) ,"Specifies highest TemporalId of the i-th sub-bitstream")1284 ("SEISubBitstreamAvgBitRate", m_sbPropAvgBitRate, IntAry1d (1,0) ,"Specifies average bit rate of the i-th sub-bitstream")1285 ("SEISubBitstreamMaxBitRate", m_sbPropMaxBitRate, IntAry1d (1,0) ,"Specifies maximum bit rate of the i-th sub-bitstream")1286 #else1287 1278 ("SeiCfgFileName_%d", m_seiCfgFileNames, (TChar *) 0 ,MAX_NUM_SEIS , "SEI cfg file name %d") 1288 #endif1289 1279 ("OutputVpsInfo", m_outputVpsInfo, false ,"Output information about the layer dependencies and layer sets") 1290 1280 … … 1942 1932 } 1943 1933 1944 #if NH_MV _SEI1934 #if NH_MV 1945 1935 xParseSeiCfg(); 1946 1936 #endif … … 3329 3319 } 3330 3320 } 3331 #if !NH_MV_SEI3332 // Check input parameters for Sub-bitstream property SEI message3333 if( m_subBistreamPropSEIEnabled )3334 {3335 xConfirmPara(3336 (this->m_sbPropNumAdditionalSubStreams != m_sbPropAvgBitRate.size() )3337 || (this->m_sbPropNumAdditionalSubStreams != m_sbPropHighestSublayerId.size() )3338 || (this->m_sbPropNumAdditionalSubStreams != m_sbPropMaxBitRate.size() )3339 || (this->m_sbPropNumAdditionalSubStreams != m_sbPropOutputLayerSetIdxToVps.size() )3340 || (this->m_sbPropNumAdditionalSubStreams != m_sbPropSubBitstreamMode.size()), "Some parameters of some sub-bitstream not defined");3341 3342 for( Int i = 0; i < m_sbPropNumAdditionalSubStreams; i++ )3343 {3344 xConfirmPara( m_sbPropSubBitstreamMode[i] < 0 || m_sbPropSubBitstreamMode[i] > 1, "Mode value should be 0 or 1" );3345 xConfirmPara( m_sbPropHighestSublayerId[i] < 0 || m_sbPropHighestSublayerId[i] > MAX_TLAYER-1, "Maximum sub-layer ID out of range" );3346 xConfirmPara( m_sbPropOutputLayerSetIdxToVps[i] < 0 || m_sbPropOutputLayerSetIdxToVps[i] >= MAX_VPS_OUTPUTLAYER_SETS, "OutputLayerSetIdxToVps should be within allowed range" );3347 }3348 }3349 #endif3350 3321 #endif 3351 3322 -
branches/HTM-15.2-dev/source/App/TAppEncoder/TAppEncCfg.h
r1373 r1374 258 258 #endif 259 259 TComSEIMasteringDisplay m_masteringDisplay; 260 #if NH_MV _SEI260 #if NH_MV 261 261 std::vector<char*> m_seiCfgFileNames; ///< SEI message files. 262 262 SEIMessages m_seiMessages; ///< Buffer for SEI messages. … … 523 523 UInt m_summaryVerboseness; ///< Specifies the level of the verboseness of the text output. 524 524 #if NH_MV 525 #if !NH_MV_SEI526 Bool m_subBistreamPropSEIEnabled;527 Int m_sbPropNumAdditionalSubStreams;528 IntAry1d m_sbPropSubBitstreamMode;529 IntAry1d m_sbPropOutputLayerSetIdxToVps;530 IntAry1d m_sbPropHighestSublayerId;531 IntAry1d m_sbPropAvgBitRate;532 IntAry1d m_sbPropMaxBitRate;533 #endif534 525 Bool m_outputVpsInfo; 535 526 TChar* m_pchBaseViewCameraNumbers; … … 676 667 Void xPrintVectorElem( Double elem ) { printf(" %5.2f", elem );}; 677 668 Void xPrintVectorElem( Bool elem ) { printf(" %d" , ( elem ? 1 : 0 ));}; 678 #if NH_MV_SEI679 669 Void xParseSeiCfg(); 680 #endif 681 #endif 682 #if NH_MV 670 683 671 Int getGOPSize() { return m_iGOPSize; } 684 672 #endif -
branches/HTM-15.2-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1373 r1374 606 606 m_cTEncTop.setSOPDescriptionSEIEnabled ( m_SOPDescriptionSEIEnabled ); 607 607 m_cTEncTop.setScalableNestingSEIEnabled ( m_scalableNestingSEIEnabled ); 608 #if NH_MV609 #if !NH_MV_SEI610 m_cTEncTop.setSubBitstreamPropSEIEnabled ( m_subBistreamPropSEIEnabled );611 if( m_subBistreamPropSEIEnabled )612 {613 m_cTEncTop.setNumAdditionalSubStreams ( m_sbPropNumAdditionalSubStreams );614 m_cTEncTop.setSubBitstreamMode ( m_sbPropSubBitstreamMode );615 m_cTEncTop.setOutputLayerSetIdxToVps ( m_sbPropOutputLayerSetIdxToVps );616 m_cTEncTop.setHighestSublayerId ( m_sbPropHighestSublayerId );617 m_cTEncTop.setAvgBitRate ( m_sbPropAvgBitRate );618 m_cTEncTop.setMaxBitRate ( m_sbPropMaxBitRate );619 }620 #endif621 #endif622 623 608 m_cTEncTop.setTMCTSSEIEnabled ( m_tmctsSEIEnabled ); 624 609 m_cTEncTop.setTimeCodeSEIEnabled ( m_timeCodeSEIEnabled ); … … 642 627 m_cTEncTop.setMasteringDisplaySEI ( m_masteringDisplay ); 643 628 644 #if NH_MV _SEI629 #if NH_MV 645 630 m_cTEncTop.setSeiMessages ( &m_seiMessages ); 646 631 #endif … … 1173 1158 printRateSummary(); 1174 1159 1175 #if H_3D_REN_MAX_DEV_OUT1160 #if NH_3D_REN_MAX_DEV_OUT 1176 1161 Double dMaxDispDiff = m_cCameraData.getMaxShiftDeviation(); 1177 1162 -
branches/HTM-15.2-dev/source/App/TAppRenderer/TAppRendererTop.cpp
r1373 r1374 488 488 } 489 489 490 #if H_3D_REN_MAX_DEV_OUT490 #if NH_3D_REN_MAX_DEV_OUT 491 491 Double dMaxDispDiff = m_cCameraData.getMaxShiftDeviation(); 492 492
Note: See TracChangeset for help on using the changeset viewer.