Changeset 57 in 3DVCSoftware for trunk/source
- Timestamp:
- 14 May 2012, 12:44:40 (13 years ago)
- Location:
- trunk/source
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/App/TAppDecoder/TAppDecTop.cpp
r56 r57 57 57 ::memset (m_abDecFlag, 0, sizeof (m_abDecFlag)); 58 58 m_useDepth = false; 59 m_pScaleOffsetFile = 0; 59 60 } 60 61 … … 209 210 previousViewDepthId = viewDepthId; 210 211 } 212 if( m_cCamParsCollector.isInitialized() ) 213 { 214 m_cCamParsCollector.setSlice( 0 ); 215 } 211 216 // last frame 212 217 for( Int viewDepthIdx = 0; viewDepthIdx < m_tDecTop.size(); viewDepthIdx++ ) … … 249 254 m_tDecTop[viewDepthIdx] = NULL ; 250 255 } 256 } 257 258 m_cCamParsCollector.uninit(); 259 if( m_pScaleOffsetFile ) 260 { 261 ::fclose( m_pScaleOffsetFile ); 251 262 } 252 263 } … … 429 440 m_tDecTop.back()->setIsDepth( isDepth ); 430 441 m_tDecTop.back()->setPictureDigestEnabled(m_pictureDigestEnabled); 442 m_tDecTop.back()->setCamParsCollector( &m_cCamParsCollector ); 431 443 } 432 444 } -
trunk/source/Lib/TLibDecoder/TDecTop.cpp
r56 r57 265 265 m_bFirstSliceInPicture = true; 266 266 m_bFirstSliceInSequence = true; 267 m_pcCamParsCollector = 0; 267 268 } 268 269 … … 1038 1039 // Decode a picture 1039 1040 m_cGopDecoder.decompressGop(nalu.m_Bitstream, pcPic, false); 1041 1042 if( m_pcCamParsCollector ) 1043 { 1044 m_pcCamParsCollector->setSlice( pcSlice ); 1045 } 1040 1046 1041 1047 m_bFirstSliceInPicture = false; -
trunk/source/Lib/TLibDecoder/TDecTop.h
r56 r57 74 74 Void uninit (); 75 75 Void setSlice ( TComSlice* pcSlice ); 76 77 Bool isInitialized() const { return m_bInitialized; } 76 78 77 79 private: … … 150 152 Bool m_isDepth; 151 153 TAppDecTop* m_tAppDecTop; 154 CamParsCollector* m_pcCamParsCollector; 152 155 NalUnitType m_nalUnitTypeBaseView; 153 156 … … 185 188 TComDepthMapGenerator* getDepthMapGenerator () { return &m_cDepthMapGenerator; } 186 189 #endif 190 191 Void setCamParsCollector( CamParsCollector* pcCamParsCollector ) { m_pcCamParsCollector = pcCamParsCollector; } 187 192 188 193 TComList<TComPic*>* getListPic() { return &m_cListPic; }
Note: See TracChangeset for help on using the changeset viewer.