Changeset 39 in SHVCSoftware for branches/SHM-1.1-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
20 Feb 2013, 23:42:09 (12 years ago)
Author:
seregin
Message:

adding braces for compliant formating

File:
1 edited

Legend:

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

    r38 r39  
    337337    pcSlice->setNalUnitType(getNalUnitType(uiPOCCurr));
    338338#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    {
    340341      pcSlice->setNalUnitType(NAL_UNIT_CODED_SLICE_CRA);
     342    }
    341343    if( m_layerId > 0 && !m_pcEncTop->getElRapSliceTypeB() )
    342344    {
    343345      if( (pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA) &&
    344346          (pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA) &&
    345            pcSlice->getSliceType() == B_SLICE )
     347           pcSlice->getSliceType() == B_SLICE )
     348      {
    346349        pcSlice->setSliceType(P_SLICE);
     350      }
    347351    }
    348352#endif
     
    466470
    467471#if REF_IDX_FRAMEWORK
    468     if (pcSlice->getSliceType() == B_SLICE)
     472    if( pcSlice->getSliceType() == B_SLICE )
     473    {
    469474      pcSlice->setColFromL0Flag(1-uiColDir);
     475    }
    470476#endif
    471477
Note: See TracChangeset for help on using the changeset viewer.