Changeset 77 in 3DVCSoftware for trunk/source/Lib/TLibExtractor/TExtrTop.cpp
- Timestamp:
- 14 Jun 2012, 16:38:29 (12 years ago)
- File:
-
- 1 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 );
Note: See TracChangeset for help on using the changeset viewer.