Changeset 768 in 3DVCSoftware for branches/HTM-9.2-dev0/source/Lib
- Timestamp:
- 13 Jan 2014, 00:44:19 (11 years ago)
- Location:
- branches/HTM-9.2-dev0/source/Lib
- Files:
-
- 5 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 -
branches/HTM-9.2-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp
r767 r768 557 557 558 558 READ_FLAG( uiCode, "video_signal_type_present_flag"); pcVUI->setVideoSignalTypePresentFlag(uiCode); 559 #if H_MV 559 560 assert( pcSPS->getLayerId() == 0 || !pcVUI->getVideoSignalTypePresentFlag() ); 560 561 #endif 561 562 if (pcVUI->getVideoSignalTypePresentFlag()) 562 563 { -
branches/HTM-9.2-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp
r767 r768 495 495 } 496 496 WRITE_FLAG(pcVUI->getVideoSignalTypePresentFlag(), "video_signal_type_present_flag"); 497 #if H_MV 497 498 assert( pcSPS->getLayerId() == 0 || !pcVUI->getVideoSignalTypePresentFlag() ); 499 #endif 498 500 if (pcVUI->getVideoSignalTypePresentFlag()) 499 501 { … … 1657 1659 // if( separate_colour_plane_flag == 1 ) 1658 1660 // colour_plane_id u(2) 1659 1661 #if H_MV 1660 1662 if ( (pcSlice->getLayerId() > 0 && !vps->getPocLsbNotPresentFlag( pcSlice->getLayerIdInVps())) || !pcSlice->getIdrPicFlag() ) 1661 1663 { … … 1663 1665 WRITE_CODE( picOrderCntLSB, pcSlice->getSPS()->getBitsForPOC(), "slice_pic_order_cnt_lsb"); 1664 1666 } 1667 #endif 1665 1668 if( !pcSlice->getIdrPicFlag() ) 1666 1669 {
Note: See TracChangeset for help on using the changeset viewer.