Changeset 1421 in SHVCSoftware


Ignore:
Timestamp:
5 Aug 2015, 03:39:25 (9 years ago)
Author:
seregin
Message:

add posScalingFactor to reduceSetOfIntraModes

Location:
branches/SHM-dev/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.cpp

    r1419 r1421  
    33623362*\returns Number of intra coding modes (nb of remaining modes + 3 MPMs)
    33633363*/
    3364 Int TComDataCU::reduceSetOfIntraModes( UInt uiAbsPartIdx, Int* uiIntraDirPred, Int &fullSetOfModes )
     3364Int TComDataCU::reduceSetOfIntraModes( UInt uiAbsPartIdx, Int* uiIntraDirPred, Int** posScalingFactor, Int &fullSetOfModes )
    33653365{
    33663366  // check BL mode
    33673367  UInt uiCUAddrBase = 0, uiAbsPartAddrBase = 0;
    33683368  // the right reference layerIdc should be specified, currently it is set to m_layerId-1
    3369   TComDataCU* pcTempCU = getBaseColCU(m_layerId - 1, uiAbsPartIdx, uiCUAddrBase, uiAbsPartAddrBase, false );
     3369  TComDataCU* pcTempCU = getBaseColCU(m_layerId - 1, uiAbsPartIdx, uiCUAddrBase, uiAbsPartAddrBase, posScalingFactor, false );
    33703370
    33713371  if( pcTempCU->getPredictionMode( uiAbsPartAddrBase ) != MODE_INTRA )
  • branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.h

    r1419 r1421  
    484484#endif
    485485#if FAST_INTRA_SHVC
    486   Int           reduceSetOfIntraModes(  UInt   uiAbsPartIdx, Int* uiIntraDirPred, Int &fullSetOfModes );
     486  Int           reduceSetOfIntraModes(  UInt   uiAbsPartIdx, Int* uiIntraDirPred, Int** posScalingFactor, Int &fullSetOfModes );
    487487#endif
    488488#if REF_IDX_ME_ZEROMV
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.cpp

    r1418 r1421  
    22832283      if( m_pcEncCfg->getUseFastIntraScalable() && pcCU->getLayerId() > 0 )
    22842284      {
    2285         numModesAvailable = pcCU->reduceSetOfIntraModes(uiPartOffset, uiPreds, iMode );
     2285        numModesAvailable = pcCU->reduceSetOfIntraModes(uiPartOffset, uiPreds, pcCU->getPic()->getPosScalingFactor(), iMode );
    22862286        if( numModesForFullRD > numModesAvailable ) //fast HAD can be skipped
    22872287        {
Note: See TracChangeset for help on using the changeset viewer.