Changeset 55 in SHVCSoftware for trunk/source/Lib/TLibEncoder
- Timestamp:
- 4 Mar 2013, 22:43:28 (12 years ago)
- Location:
- trunk/source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source
- Property svn:mergeinfo changed
/branches/SHM-1.1-dev/source (added) merged: 38-49,52-53
- Property svn:mergeinfo changed
-
trunk/source/Lib/TLibEncoder/TEncGOP.cpp
r28 r55 337 337 pcSlice->setNalUnitType(getNalUnitType(uiPOCCurr)); 338 338 #if REF_IDX_FRAMEWORK 339 if (m_layerId > 0 && (uiPOCCurr % m_pcCfg->getIntraPeriod() == 0)) 339 if( m_layerId > 0 && (uiPOCCurr % m_pcCfg->getIntraPeriod() == 0) ) 340 { 340 341 pcSlice->setNalUnitType(NAL_UNIT_CODED_SLICE_CRA); 342 } 341 343 if( m_layerId > 0 && !m_pcEncTop->getElRapSliceTypeB() ) 342 344 { 343 345 if( (pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA) && 344 346 (pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA) && 345 pcSlice->getSliceType() == B_SLICE ) 347 pcSlice->getSliceType() == B_SLICE ) 348 { 346 349 pcSlice->setSliceType(P_SLICE); 350 } 347 351 } 348 352 #endif … … 466 470 467 471 #if REF_IDX_FRAMEWORK 468 if (pcSlice->getSliceType() == B_SLICE) 472 if( pcSlice->getSliceType() == B_SLICE ) 473 { 469 474 pcSlice->setColFromL0Flag(1-uiColDir); 475 } 470 476 #endif 471 477 … … 774 780 { 775 781 pcPic->getPicYuvOrg()->copyToPic( pcPic->getPicYuvRec() ); 782 #if AVC_SYNTAX 783 pcPic->readBLSyntax( m_ppcTEncTop[0]->getBLSyntaxFile(), SYNTAX_BYTES ); 784 #endif 776 785 return; 777 786 } -
trunk/source/Lib/TLibEncoder/TEncSearch.cpp
r33 r55 1057 1057 pcCU->getPattern()->initAdiPattern( pcCU, uiAbsPartIdx, uiTrDepth, m_piYuvExt, m_iYuvExtStride, m_iYuvExtHeight, bAboveAvail, bLeftAvail ); 1058 1058 //===== get prediction signal ===== 1059 #if INTRA_BL 1059 #if INTRA_BL && !NO_RESIDUAL_FLAG_FOR_BLPRED 1060 1060 if(pcCU->isIntraBL ( uiAbsPartIdx ) ) 1061 1061 { … … 1259 1259 1260 1260 //===== get prediction signal ===== 1261 #if INTRA_BL 1261 #if INTRA_BL && !NO_RESIDUAL_FLAG_FOR_BLPRED 1262 1262 if(pcCU->isIntraBL ( uiAbsPartIdx ) ) 1263 1263 { -
trunk/source/Lib/TLibEncoder/TEncTop.h
r28 r55 77 77 static Int m_iSPSIdCnt; ///< next Id number for SPS 78 78 static Int m_iPPSIdCnt; ///< next Id number for PPS 79 #if AVC_SYNTAX 80 fstream* m_pBLSyntaxFile; 81 #endif 79 82 #endif 80 83 … … 223 226 224 227 Void encodePrep( bool bEos, TComPicYuv* pcPicYuvOrg ); 228 #if AVC_SYNTAX 229 Void setBLSyntaxFile( fstream* pFile ) { m_pBLSyntaxFile = pFile; } 230 fstream* getBLSyntaxFile() { return m_pBLSyntaxFile; } 231 #endif 225 232 #else 226 233 Void encode( bool bEos, TComPicYuv* pcPicYuvOrg, TComList<TComPicYuv*>& rcListPicYuvRecOut,
Note: See TracChangeset for help on using the changeset viewer.