Changeset 1491 in SHVCSoftware
- Timestamp:
- 2 Dec 2015, 23:43:17 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1487 r1491 200 200 // This can be enabled by the makefile 201 201 #ifndef RExt__HIGH_BIT_DEPTH_SUPPORT 202 #define RExt__HIGH_BIT_DEPTH_SUPPORT 1///< 0 (default) use data type definitions for 8-10 bit video, 1 = use larger data types to allow for up to 16-bit video (originally developed as part of N0188)202 #define RExt__HIGH_BIT_DEPTH_SUPPORT SCALABLE_REXT ///< 0 (default) use data type definitions for 8-10 bit video, 1 = use larger data types to allow for up to 16-bit video (originally developed as part of N0188) 203 203 #endif 204 204 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1487 r1491 681 681 } 682 682 683 #if SCALABLE_REXT684 Void TDecCavlc::parseSPS(TComSPS* pcSPS, ParameterSetManager* pcParamSetManager)685 #else686 683 Void TDecCavlc::parseSPS(TComSPS* pcSPS) 687 #endif688 684 { 689 685 #if ENC_DEC_TRACE … … 693 689 UInt uiCode; 694 690 READ_CODE( 4, uiCode, "sps_video_parameter_set_id"); pcSPS->setVPSId ( uiCode ); 695 #if SCALABLE_REXT696 const TComVPS* pTmpVPS = pcParamSetManager->getVPS(pcSPS->getVPSId());697 #endif698 691 #if SVC_EXTENSION 699 692 UInt uiTmp = 0; … … 748 741 pcSPS->setUpdateRepFormatIndex(uiCode); 749 742 } 750 #if SCALABLE_REXT751 // If update_rep_format_flag is equal to 0, the variable repFormatIdx is set equal to vps_rep_format_idx[ LayerIdxInVps[ layerIdCurr ] ].752 else753 {754 Int iVPSRepFormatIdx = pTmpVPS->getVpsRepFormatIdx( pTmpVPS->getLayerIdxInVps( pcSPS->getLayerId() ) );755 pcSPS->setUpdateRepFormatIndex( iVPSRepFormatIdx );756 757 pcSPS->setChromaFormatIdc( pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getChromaFormatVpsIdc() );758 pcSPS->setPicWidthInLumaSamples( pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getPicWidthVpsInLumaSamples() );759 pcSPS->setPicHeightInLumaSamples( pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getPicHeightVpsInLumaSamples() );760 pcSPS->setBitDepth(CHANNEL_TYPE_LUMA, pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getBitDepthVpsLuma() );761 pcSPS->setBitDepth(CHANNEL_TYPE_CHROMA, pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getBitDepthVpsChroma() );762 Window &conf = pcSPS->getConformanceWindow();763 conf.setWindowLeftOffset( pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getConformanceWindowVps().getWindowLeftOffset() );764 conf.setWindowRightOffset( pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getConformanceWindowVps().getWindowRightOffset() );765 conf.setWindowTopOffset( pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getConformanceWindowVps().getWindowTopOffset() );766 conf.setWindowBottomOffset( pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getConformanceWindowVps().getWindowBottomOffset() );767 }768 #endif769 743 } 770 744 else -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.h
r1487 r1491 76 76 Void parseQtRootCbf ( UInt uiAbsPartIdx, UInt& uiQtRootCbf ); 77 77 Void parseVPS ( TComVPS* pcVPS ); 78 #if SCALABLE_REXT79 Void parseSPS ( TComSPS* pcSPS, ParameterSetManager* pcParamSetManager );80 #else81 78 Void parseSPS ( TComSPS* pcSPS ); 82 #endif83 79 #if !SVC_EXTENSION 84 80 Void parsePPS ( TComPPS* pcPPS ); -
branches/SHM-dev/source/Lib/TLibDecoder/TDecEntropy.h
r1487 r1491 70 70 71 71 virtual Void parseVPS ( TComVPS* pcVPS ) = 0; 72 #if SCALABLE_REXT73 virtual Void parseSPS ( TComSPS* pcSPS, ParameterSetManager* pcParamSetManager ) = 0;74 #else75 72 virtual Void parseSPS ( TComSPS* pcSPS ) = 0; 76 #endif77 73 #if CGS_3D_ASYMLUT 78 74 virtual Void parsePPS ( TComPPS* pcPPS, TCom3DAsymLUT * pc3DAsymLUT , Int nLayerID ) = 0; … … 147 143 148 144 Void decodeVPS ( TComVPS* pcVPS ) { m_pcEntropyDecoderIf->parseVPS(pcVPS); } 149 #if SCALABLE_REXT150 Void decodeSPS ( TComSPS* pcSPS, ParameterSetManager* pcParamSetManager ) { m_pcEntropyDecoderIf->parseSPS(pcSPS, pcParamSetManager); }151 #else152 145 Void decodeSPS ( TComSPS* pcSPS ) { m_pcEntropyDecoderIf->parseSPS(pcSPS); } 153 #endif154 146 155 147 #if CGS_3D_ASYMLUT -
branches/SHM-dev/source/Lib/TLibDecoder/TDecSbac.h
r1487 r1491 78 78 Void setBitstream ( TComInputBitstream* p ) { m_pcBitstream = p; m_pcTDecBinIf->init( p ); } 79 79 Void parseVPS ( TComVPS* /*pcVPS*/ ) {} 80 #if SCALABLE_REXT81 Void parseSPS (TComSPS* /*pcSPS*/, ParameterSetManager* /*pcParamSetManager*/ ) {}82 #else83 80 Void parseSPS ( TComSPS* /*pcSPS*/ ) {} 84 #endif85 81 #if CGS_3D_ASYMLUT 86 82 Void parsePPS ( TComPPS* /*pcPPS*/, TCom3DAsymLUT * /*pc3DAsymLUT*/, Int /*nLayerID*/ ) {} -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1490 r1491 1936 1936 sps->setLayerId(m_layerId); 1937 1937 #endif 1938 #if SCALABLE_REXT1939 m_cEntropyDecoder.decodeSPS( sps, &m_parameterSetManager );1940 #else1941 1938 m_cEntropyDecoder.decodeSPS( sps ); 1942 #endif1943 1939 m_parameterSetManager.storeSPS(sps, naluData); 1944 1940 }
Note: See TracChangeset for help on using the changeset viewer.