Changeset 77 in 3DVCSoftware for trunk/source/Lib/TLibExtractor
- Timestamp:
- 14 Jun 2012, 16:38:29 (13 years ago)
- Location:
- trunk/source/Lib/TLibExtractor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibExtractor/TExtrTop.cpp
r56 r77 55 55 Bool TExtrTop::extract( InputNALUnit& nalu, std::set<UInt>& rsuiExtractLayerIds ) 56 56 { 57 #if VIDYO_VPS_INTEGRATION 58 //extraction now has to be done using layer_id 59 UInt uiLayerId = nalu.m_layerId; 60 #else 57 61 UInt uiLayerId = xGetLayerId( nalu.m_viewId, nalu.m_isDepth ); 58 62 #endif 59 63 // Initialize entropy decoder 60 64 m_cEntropyDecoder.setEntropyDecoder( &m_cCavlcDecoder ); 61 65 m_cEntropyDecoder.setBitstream ( nalu.m_Bitstream ); 62 66 67 #if VIDYO_VPS_INTEGRATION 68 if ( nalu.m_nalUnitType == NAL_UNIT_VPS ) 69 { 70 // a hack for now assuming there's only one VPS in the bitstream 71 m_cEntropyDecoder.decodeVPS( &m_cVPS ); 72 73 } 74 #endif 75 63 76 if ( nalu.m_nalUnitType == NAL_UNIT_SPS ) 64 77 { … … 69 82 #endif 70 83 #if HHI_MPI 84 #if VIDYO_VPS_INTEGRATION 85 m_cEntropyDecoder.decodeSPS( &cSPS, m_cVPS.getDepthFlag(uiLayerId) ); 86 #else 71 87 m_cEntropyDecoder.decodeSPS( &cSPS, nalu.m_isDepth ); 88 #endif 72 89 #else 73 90 m_cEntropyDecoder.decodeSPS( &cSPS ); -
trunk/source/Lib/TLibExtractor/TExtrTop.h
r56 r77 54 54 { 55 55 private: 56 #if VIDYO_VPS_INTEGRATION 57 TComVPS m_cVPS; 58 #endif 56 59 std::list<TComSPS> m_acSPSBuffer; 57 60
Note: See TracChangeset for help on using the changeset viewer.