Changeset 1390 in SHVCSoftware for branches/SHM-dev
- Timestamp:
- 4 Aug 2015, 03:07:38 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1380 r1390 2359 2359 2360 2360 /////////////////////////////////////////////////////////////////////////////////////////////////// Compress a slice 2361 // Slice compression2362 if (m_pcCfg->getUseASR() )2361 // set adaptive search range for non-intra-slices 2362 if (m_pcCfg->getUseASR() && pcSlice->getSliceType()!=I_SLICE) 2363 2363 { 2364 2364 m_pcSliceEncoder->setSearchRange(pcSlice); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncSlice.cpp
r1389 r1390 583 583 // ==================================================================================================================== 584 584 585 //! set adaptive search range based on poc difference 585 586 Void TEncSlice::setSearchRange( TComSlice* pcSlice ) 586 587 { … … 592 593 Int iNumPredDir = pcSlice->isInterP() ? 1 : 2; 593 594 594 for (Int iDir = 0; iDir <= iNumPredDir; iDir++) 595 { 596 //RefPicList e = (RefPicList)iDir; 595 for (Int iDir = 0; iDir < iNumPredDir; iDir++) 596 { 597 597 RefPicList e = ( iDir ? REF_PIC_LIST_1 : REF_PIC_LIST_0 ); 598 598 for (Int iRefIdx = 0; iRefIdx < pcSlice->getNumRefIdx(e); iRefIdx++)
Note: See TracChangeset for help on using the changeset viewer.