Changeset 1288 in SHVCSoftware


Ignore:
Timestamp:
17 Jul 2015, 06:06:56 (9 years ago)
Author:
seregin
Message:

address compiler warnings

Location:
branches/SHM-dev/source
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r1287 r1288  
    42684268  // Check for layerIdx equal to 0, it has to pe extended to other layers.
    42694269  UInt layerIdx = 0;
    4270   Bool m_useExtendedPrecision = m_acLayerCfg[layerIdx].m_useExtendedPrecision;
    4271   Int m_internalBitDepth[]    = {m_acLayerCfg[layerIdx].m_internalBitDepth[CHANNEL_TYPE_LUMA], m_acLayerCfg[layerIdx].m_internalBitDepth[CHANNEL_TYPE_CHROMA]};
    4272   Int m_MSBExtendedBitDepth[] = {m_acLayerCfg[layerIdx].m_MSBExtendedBitDepth[CHANNEL_TYPE_LUMA], m_acLayerCfg[layerIdx].m_MSBExtendedBitDepth[CHANNEL_TYPE_CHROMA]};
    42734270  ChromaFormat m_chromaFormatIDC = m_acLayerCfg[layerIdx].m_chromaFormatIDC;
    42744271#endif
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1287 r1288  
    12111211      for( i = 0; i < m_numLayerInIdList[setId]; i++ )
    12121212      {
    1213         Int layerId = m_layerSetLayerIdList[setId][i];
    1214         Int layerIdx = vps->getLayerIdxInVps(m_layerSetLayerIdList[setId][i]);
    12151213        //4
    1216         vps->setLayerIdIncludedFlag(true, setId, layerId);
     1214        vps->setLayerIdIncludedFlag(true, setId, m_layerSetLayerIdList[setId][i]);
    12171215      }
    12181216    }
  • branches/SHM-dev/source/Lib/TLibCommon/TComTrQuant.cpp

    r1287 r1288  
    111111    chromaQpOffset += cu.getSlice()->getPPS()->getChromaQpAdjTableAt(cu.getChromaQpAdj(0)).u.offset[Int(compID)-1];
    112112  }
    113 
    114 #if SVC_EXTENSION
    115   TComSlice* slice = const_cast<TComSlice*> (cu.getSlice());
    116 #endif
    117113
    118114  *this = QpParam(cu.getQP( 0 ),
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1287 r1288  
    492492      {
    493493        UInt refLayerId = 0;
    494         const RepFormat* repFormat = vps->getVpsRepFormat( vps->getVpsRepFormatIdx(refLayerId) );
    495494
    496495        pBLPic->create( *vps, *sps, *pps, sps->getMaxCUWidth(), sps->getMaxCUHeight(), sps->getMaxCUDepth(), true, refLayerId);
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r1287 r1288  
    243243  rpcSlice->setPic( pcPic );
    244244#if SVC_EXTENSION
    245   const TComPPS* pPPS = &pcPic->getPicSym()->getPPS();
    246 
    247245  UInt layerId = pcPic->getLayerId();
    248246  rpcSlice->initSlice( layerId );
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r1287 r1288  
    957957  for (Int i = 0; i < min(m_cSPS.getMaxTLayers(),(UInt) MAX_TLAYER); i++ )
    958958  {
     959#if SVC_EXTENSION
     960    assert( i < MAX_TLAYER );
     961#endif
    959962    m_cSPS.setMaxDecPicBuffering(m_maxDecPicBuffering[i], i);
    960963    m_cSPS.setNumReorderPics(m_numReorderPics[i], i);
     
    15001503Void TEncTop::xInitILRP()
    15011504{
    1502   RepFormat *repFormat = m_cVPS.getVpsRepFormat( m_cSPS.getUpdateRepFormatFlag() ? m_cSPS.getUpdateRepFormatIndex() : m_cVPS.getVpsRepFormatIdx( m_cVPS.getLayerIdxInVps(m_layerId) ) );
    1503  
    15041505  if( m_layerId > 0 )
    15051506  {
Note: See TracChangeset for help on using the changeset viewer.