Changeset 768 in 3DVCSoftware for branches/HTM-9.2-dev0/source/Lib/TLibCommon
- Timestamp:
- 13 Jan 2014, 00:44:19 (11 years ago)
- Location:
- branches/HTM-9.2-dev0/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.2-dev0/source/Lib/TLibCommon/TComSlice.cpp
r767 r768 3753 3753 } 3754 3754 } 3755 #endif 3755 3756 Void TComVUI::inferVideoSignalInfo( TComVPS* vps, Int layerIdCurr ) 3757 { 3758 if ( layerIdCurr == 0 || !vps->getVpsVuiPresentFlag() ) 3759 { 3760 return; 3761 } 3762 3763 TComVPSVUI* vpsVUI = vps->getVPSVUI(); 3764 assert( vpsVUI != NULL ); 3765 3766 TComVideoSignalInfo* videoSignalInfo = vpsVUI->getVideoSignalInfo( vpsVUI->getVpsVideoSignalInfoIdx( vps->getLayerIdInVps( layerIdCurr ) ) ); 3767 assert( videoSignalInfo != NULL ); 3768 3769 setVideoFormat ( videoSignalInfo->getVideoVpsFormat () ); 3770 setVideoFullRangeFlag ( videoSignalInfo->getVideoFullRangeVpsFlag () ); 3771 setColourPrimaries ( videoSignalInfo->getColourPrimariesVps () ); 3772 setTransferCharacteristics( videoSignalInfo->getTransferCharacteristicsVps() ); 3773 setMatrixCoefficients ( videoSignalInfo->getMatrixCoeffsVps () ); 3774 } 3775 #endif 3776 -
branches/HTM-9.2-dev0/source/Lib/TLibCommon/TComSlice.h
r767 r768 617 617 Int getBitDepthVpsChromaMinus8( ) { return m_bitDepthVpsChromaMinus8; } 618 618 }; 619 #endif 619 620 620 621 621 class TComDpbSize … … 664 664 Int getMaxVpsLatencyIncreasePlus1( Int i, Int j ) { return m_maxVpsLatencyIncreasePlus1[i][j]; } 665 665 }; 666 666 #endif 667 667 class TComVPS 668 668 { … … 1352 1352 TComHRD* getHrdParameters () { return &m_hrdParameters; } 1353 1353 TimingInfo* getTimingInfo() { return &m_timingInfo; } 1354 1355 Void inferVideoSignalInfo( TComVPS* vps, Int layerIdCurr ) 1356 { 1357 if ( layerIdCurr == 0 || !vps->getVpsVuiPresentFlag() ) 1358 { 1359 return; 1360 } 1361 1362 TComVPSVUI* vpsVUI = vps->getVPSVUI(); 1363 assert( vpsVUI != NULL ); 1364 1365 TComVideoSignalInfo* videoSignalInfo = vpsVUI->getVideoSignalInfo( vpsVUI->getVpsVideoSignalInfoIdx( vps->getLayerIdInVps( layerIdCurr ) ) ); 1366 assert( videoSignalInfo != NULL ); 1367 1368 setVideoFormat ( videoSignalInfo->getVideoVpsFormat () ); 1369 setVideoFullRangeFlag ( videoSignalInfo->getVideoFullRangeVpsFlag () ); 1370 setColourPrimaries ( videoSignalInfo->getColourPrimariesVps () ); 1371 setTransferCharacteristics( videoSignalInfo->getTransferCharacteristicsVps() ); 1372 setMatrixCoefficients ( videoSignalInfo->getMatrixCoeffsVps () ); 1373 } 1354 #if H_MV 1355 Void inferVideoSignalInfo( TComVPS* vps, Int layerIdCurr ); 1356 #endif 1374 1357 }; 1375 1358 -
branches/HTM-9.2-dev0/source/Lib/TLibCommon/TypeDef.h
r767 r768 55 55 56 56 #ifndef HEVC_EXT 57 #define HEVC_EXT 257 #define HEVC_EXT 0 58 58 #endif 59 59
Note: See TracChangeset for help on using the changeset viewer.