Changeset 139 in 3DVCSoftware for branches/HTM-4.0-Nokia/source/Lib/TLibDecoder
- Timestamp:
- 24 Sep 2012, 14:08:01 (13 years ago)
- Location:
- branches/HTM-4.0-Nokia/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-4.0-Nokia/source/Lib/TLibDecoder/TDecTop.cpp
r77 r139 614 614 615 615 #if SKIPFRAME_BUGFIX 616 Bool TDecTop::xDecodeSlice(InputNALUnit &nalu, Int &iSkipFrame, Int iPOCLastDisplay ) 617 #else 618 Bool TDecTop::xDecodeSlice(InputNALUnit &nalu, Int iSkipFrame, Int iPOCLastDisplay ) 616 Bool TDecTop::xDecodeSlice(InputNALUnit &nalu, Int &iSkipFrame, Int iPOCLastDisplay 617 ) 618 #else 619 Bool TDecTop::xDecodeSlice(InputNALUnit &nalu, Int iSkipFrame, Int iPOCLastDisplay 620 ) 619 621 #endif 620 622 { … … 969 971 assert( m_tAppDecTop != NULL ); 970 972 TComPic * const pcTexturePic = m_isDepth ? m_tAppDecTop->getPicFromView( m_viewId, pcSlice->getPOC(), false ) : NULL; 973 974 #if FLEX_CODING_ORDER 975 if (pcTexturePic != NULL) 976 { 977 assert( !m_isDepth || pcTexturePic != NULL ); 978 pcSlice->setTexturePic( pcTexturePic ); 979 } 980 #else 971 981 assert( !m_isDepth || pcTexturePic != NULL ); 972 982 pcSlice->setTexturePic( pcTexturePic ); 983 #endif 984 985 986 // //original code 987 // assert( !m_isDepth || pcTexturePic != NULL ); 988 // pcSlice->setTexturePic( pcTexturePic ); 989 990 973 991 974 992 std::vector<TComPic*> apcInterViewRefPics = m_tAppDecTop->getInterViewRefPics( m_viewId, pcSlice->getPOC(), m_isDepth, pcSlice->getSPS() ); … … 1082 1100 } 1083 1101 1102 1103 1104 1105 1084 1106 #if VIDYO_VPS_INTEGRATION 1085 1107 Void TDecTop::xDecodeVPS() … … 1147 1169 } 1148 1170 1149 Bool TDecTop::decode(InputNALUnit& nalu, Int& iSkipFrame, Int& iPOCLastDisplay) 1171 Bool TDecTop::decode(InputNALUnit& nalu, Int& iSkipFrame, Int& iPOCLastDisplay 1172 1173 ) 1150 1174 { 1151 1175 // Initialize entropy decoder … … 1184 1208 case NAL_UNIT_CODED_SLICE_CDR: 1185 1209 #endif 1186 return xDecodeSlice(nalu, iSkipFrame, iPOCLastDisplay); 1210 return xDecodeSlice(nalu, iSkipFrame, iPOCLastDisplay 1211 ); 1187 1212 break; 1188 1213 default: -
branches/HTM-4.0-Nokia/source/Lib/TLibDecoder/TDecTop.h
r100 r139 111 111 TComList<TComPic*> m_cListPic; // Dynamic buffer 112 112 ParameterSetManagerDecoder m_parameterSetManagerDecoder; // storage for parameter sets 113 114 113 115 TComRPSList m_RPSList; 114 116 TComSlice* m_apcSlicePilot; 115 117 116 118 SEImessages *m_SEIs; ///< "all" SEI messages. If not NULL, we own the object. 117 119 … … 165 167 166 168 Void init( TAppDecTop* pcTAppDecTop, Bool bFirstInstance ); 167 Bool decode(InputNALUnit& nalu, Int& iSkipFrame, Int& iPOCLastDisplay); 169 Bool decode(InputNALUnit& nalu, Int& iSkipFrame, Int& iPOCLastDisplay 170 ); 168 171 169 172 Void deletePicBuffer(); … … 204 207 Void xActivateParameterSets(); 205 208 #if SKIPFRAME_BUGFIX 206 Bool xDecodeSlice(InputNALUnit &nalu, Int &iSkipFrame, Int iPOCLastDisplay); 209 Bool xDecodeSlice(InputNALUnit &nalu, Int &iSkipFrame, Int iPOCLastDisplay 210 ); 207 211 #else 208 Bool xDecodeSlice(InputNALUnit &nalu, Int iSkipFrame, Int iPOCLastDisplay); 212 Bool xDecodeSlice(InputNALUnit &nalu, Int iSkipFrame, Int iPOCLastDisplay, 213 ); 209 214 #endif 210 215 #if VIDYO_VPS_INTEGRATION
Note: See TracChangeset for help on using the changeset viewer.