Changeset 427 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib/TLibEncoder
- Timestamp:
- 10 Oct 2013, 08:21:30 (11 years ago)
- Location:
- branches/SHM-3.1-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r426 r427 880 880 } 881 881 882 for( Inti = 0; i < vps->getNumViews(); i++ )882 for( i = 0; i < vps->getNumViews(); i++ ) 883 883 { 884 884 WRITE_CODE( vps->getViewIdVal( i ), vps->getViewIdLenMinus1( ) + 1, "view_id_val[i]" ); … … 1220 1220 1221 1221 #if POC_RESET_FLAG 1222 Int i = 0;1223 if( pcSlice->getPPS()->getNumExtraSliceHeaderBits() > i )1222 Int iBits = 0; 1223 if( pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits ) 1224 1224 { 1225 1225 WRITE_FLAG( pcSlice->getPocResetFlag(), "poc_reset_flag" ); 1226 i ++;1227 } 1228 if( pcSlice->getPPS()->getNumExtraSliceHeaderBits() > i )1226 iBits++; 1227 } 1228 if( pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits ) 1229 1229 { 1230 1230 assert(!!"discardable_flag"); 1231 1231 WRITE_FLAG(pcSlice->getDiscardableFlag(), "discardable_flag"); 1232 i ++;1233 } 1234 for ( ; i < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); i++)1232 iBits++; 1233 } 1234 for ( ; iBits < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); iBits++) 1235 1235 { 1236 1236 assert(!!"slice_reserved_undetermined_flag[]"); -
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r423 r427 777 777 TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId]->getRefLayerEnc(0)->getListPic(); 778 778 TComPic* picLayer0 = pcSlice->getRefPic(*cListPic, pcSlice->getPOC() ); 779 if( picLayer0->getSlice(0)->isIRAP() &&picLayer0)779 if(picLayer0) 780 780 { 781 781 pcSlice->setNalUnitType(picLayer0->getSlice(0)->getNalUnitType());
Note: See TracChangeset for help on using the changeset viewer.