Changeset 1390 in SHVCSoftware for branches/SHM-dev


Ignore:
Timestamp:
4 Aug 2015, 03:07:38 (9 years ago)
Author:
seregin
Message:

port rev 4528

Location:
branches/SHM-dev/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1380 r1390  
    23592359
    23602360    /////////////////////////////////////////////////////////////////////////////////////////////////// Compress a slice
    2361     //  Slice compression
    2362     if (m_pcCfg->getUseASR())
     2361    // set adaptive search range for non-intra-slices
     2362    if (m_pcCfg->getUseASR() && pcSlice->getSliceType()!=I_SLICE)
    23632363    {
    23642364      m_pcSliceEncoder->setSearchRange(pcSlice);
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r1389 r1390  
    583583// ====================================================================================================================
    584584
     585//! set adaptive search range based on poc difference
    585586Void TEncSlice::setSearchRange( TComSlice* pcSlice )
    586587{
     
    592593  Int iNumPredDir = pcSlice->isInterP() ? 1 : 2;
    593594
    594   for (Int iDir = 0; iDir <= iNumPredDir; iDir++)
    595   {
    596     //RefPicList e = (RefPicList)iDir;
     595  for (Int iDir = 0; iDir < iNumPredDir; iDir++)
     596  {
    597597    RefPicList  e = ( iDir ? REF_PIC_LIST_1 : REF_PIC_LIST_0 );
    598598    for (Int iRefIdx = 0; iRefIdx < pcSlice->getNumRefIdx(e); iRefIdx++)
Note: See TracChangeset for help on using the changeset viewer.