Changeset 1107 in 3DVCSoftware for branches/HTM-12.2-dev2-HHI


Ignore:
Timestamp:
6 Nov 2014, 20:57:06 (10 years ago)
Author:
tech
Message:

Fixed linux compiler warnings.

Location:
branches/HTM-12.2-dev2-HHI/source
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-12.2-dev2-HHI/source/App/TAppEncoder/TAppEncCfg.cpp

    r1106 r1107  
    26562656
    26572657
    2658   printf( "IvMvPred:%d %d "    , m_ivMvPredFlag[0], m_ivMvPredFlag[1] );
    2659   printf( "IvMvScaling:%d %d "    , m_ivMvScalingFlag[0], m_ivMvScalingFlag[1] );
     2658  printf( "IvMvPred:%d %d "            , m_ivMvPredFlag[0] ? 1 : 0, m_ivMvPredFlag[1]  ? 1 : 0);
     2659  printf( "IvMvScaling:%d %d "         , m_ivMvScalingFlag[0] ? 1 : 0 , m_ivMvScalingFlag[1]  ? 1 : 0);
    26602660
    26612661  printf( "Log2SubPbSizeMinus3:%d "    , m_log2SubPbSizeMinus3            );
  • branches/HTM-12.2-dev2-HHI/source/Lib/TLibCommon/TComSlice.cpp

    r1106 r1107  
    40264026#if H_3D_IV_MERGE
    40274027#if HHI_TOOL_PARAMETERS_I2_J0107
    4028   setupLUT = setupLUT || getIvMvPredFlag() && getIsDepth() ;
     4028  setupLUT = setupLUT || ( getIvMvPredFlag() && getIsDepth() );
    40294029#else
    40304030  setupLUT = setupLUT || ( getVPS()->getIvMvPredFlag(layerIdInVPS ) && getIsDepth() );
  • branches/HTM-12.2-dev2-HHI/source/Lib/TLibDecoder/TDecSbac.cpp

    r1106 r1107  
    702702  Bool bParseSplitFlag    = true;
    703703
    704   TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
     704 
    705705#if HHI_TOOL_PARAMETERS_I2_J0107
    706706  Bool    bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag();
    707707#else
     708  TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
    708709  Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
    709710#endif
     
    760761#if H_3D_QTLPC
    761762  Bool bParsePartSize    = true;
    762   TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
     763 
    763764#if HHI_TOOL_PARAMETERS_I2_J0107
    764765  Bool    bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag();
    765766#else
     767  TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
    766768  Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
    767769#endif
  • branches/HTM-12.2-dev2-HHI/source/Lib/TLibEncoder/TEncCu.cpp

    r1106 r1107  
    409409
    410410#if H_3D_QTLPC
    411   TComVPS *vps            = pcPic->getSlice(0)->getVPS();
    412411#if HHI_TOOL_PARAMETERS_I2_J0107
    413412  Bool  bLimQtPredFalg    = pcPic->getSlice(0)->getQtPredFlag();
    414413#else
     414    TComVPS *vps            = pcPic->getSlice(0)->getVPS();
    415415  Bool  bLimQtPredFalg    = vps->getLimQtPredFlag(pcPic->getSlice(0)->getLayerId());
    416416#endif
     
    22042204  UChar uhDepth = rpcTempCU->getDepth( 0 );
    22052205#if H_3D_ARP
     2206#if !HHI_TOOL_PARAMETERS_I2_J0107
    22062207  Int iLayerId    = rpcTempCU->getSlice()->getLayerId();
     2208#endif
    22072209  Bool bFirstTime = true;
    22082210  Int nARPWMax    = rpcTempCU->getSlice()->getARPStepNum() - 1;
  • branches/HTM-12.2-dev2-HHI/source/Lib/TLibEncoder/TEncSbac.cpp

    r1106 r1107  
    633633  PartSize eSize         = pcCU->getPartitionSize( uiAbsPartIdx );
    634634#if H_3D_QTLPC
    635   TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
    636635#if HHI_TOOL_PARAMETERS_I2_J0107
    637636  Bool    bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag();
    638637#else
     638  TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
    639639  Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
    640640#endif
     
    10101010  Bool bCodeSplitFlag    = true;
    10111011
    1012   TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
     1012 
    10131013#if HHI_TOOL_PARAMETERS_I2_J0107
    10141014  Bool    bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag();
    10151015#else
     1016  TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
    10161017  Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
    10171018#endif
  • branches/HTM-12.2-dev2-HHI/source/Lib/TLibExtractor/TExtrTop.cpp

    r1106 r1107  
    7373     TComSPS     cSPS;
    7474#if H_3D
    75      Int layerIdInVPS = m_cVPS.getLayerIdInVps( uiLayerId );
     75
    7676#if HHI_TOOL_PARAMETERS_I2_J0107
    7777     m_cEntropyDecoder   .decodeSPS( &cSPS );
    7878#else
     79      Int layerIdInVPS = m_cVPS.getLayerIdInVps( uiLayerId );
    7980     m_cEntropyDecoder   .decodeSPS( &cSPS, m_cVPS.getViewIndex( layerIdInVPS ), ( m_cVPS.getDepthId( layerIdInVPS ) == 1 ) );
    8081#endif
Note: See TracChangeset for help on using the changeset viewer.