Changeset 436 in SHVCSoftware for branches


Ignore:
Timestamp:
14 Oct 2013, 19:11:30 (11 years ago)
Author:
seregin
Message:

fix compilation warnings and remove always true condition check

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-3.1-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r432 r436  
    559559          UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc();
    560560          Int xScal =  TComSPS::getWinUnitX( chromaFormatIdc ), yScal = TComSPS::getWinUnitY( chromaFormatIdc );
    561           m_acTVideoIOYuvReconFile[layerId].write( pcPic->getPicYuvRec(),
     561          m_acTVideoIOYuvReconFile[layerId].write( pcPicTop->getPicYuvRec(), pcPicBottom->getPicYuvRec(),
    562562            conf.getWindowLeftOffset()  * xScal + defDisp.getWindowLeftOffset(),
    563563            conf.getWindowRightOffset() * xScal + defDisp.getWindowRightOffset(),
    564564            conf.getWindowTopOffset()   * yScal + defDisp.getWindowTopOffset(),
    565             conf.getWindowBottomOffset()* yScal + defDisp.getWindowBottomOffset() );
     565            conf.getWindowBottomOffset()* yScal + defDisp.getWindowBottomOffset(), isTff );
    566566
    567567#else
     
    752752          UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc();
    753753          Int xScal =  TComSPS::getWinUnitX( chromaFormatIdc ), yScal = TComSPS::getWinUnitY( chromaFormatIdc );
    754           m_acTVideoIOYuvReconFile[layerId].write( pcPic->getPicYuvRec(),
     754          m_acTVideoIOYuvReconFile[layerId].write( pcPicTop->getPicYuvRec(), pcPicBottom->getPicYuvRec(),
    755755            conf.getWindowLeftOffset()  *xScal + defDisp.getWindowLeftOffset(),
    756756            conf.getWindowRightOffset() *xScal + defDisp.getWindowRightOffset(),
    757757            conf.getWindowTopOffset()   *yScal + defDisp.getWindowTopOffset(),
    758             conf.getWindowBottomOffset()*yScal + defDisp.getWindowBottomOffset() );
     758            conf.getWindowBottomOffset()*yScal + defDisp.getWindowBottomOffset(), isTff );
    759759
    760760#else
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncSearch.cpp

    r435 r436  
    32233223#if N0383_IL_CONSTRAINED_TILE_SETS_SEI
    32243224  Bool disableILP = false;
    3225   if (pcCU->getPic()->getLayerId() > 0 && m_pcEncCfg->getInterLayerConstrainedTileSetsSEIEnabled() && pcCU->getPic()->getPicSym()->getTileIdxMap(pcCU->getAddr()) >= 0)
     3225  if (pcCU->getPic()->getLayerId() > 0 && m_pcEncCfg->getInterLayerConstrainedTileSetsSEIEnabled() /*&& pcCU->getPic()->getPicSym()->getTileIdxMap(pcCU->getAddr()) >= 0*/) //always true condition is commented out
    32263226  {
    32273227    if (pcCU->getPic()->getPicSym()->getTileSetType(pcCU->getAddr()) == 2)
  • branches/SHM-3.1-dev/source/Lib/TLibVideoIO/TVideoIOYuv.h

    r431 r436  
    7272  Bool  read  ( TComPicYuv*   pPicYuv, Int aiPad[2] );     ///< read  one YUV frame with padding parameter
    7373  Bool  write( TComPicYuv*    pPicYuv, Int confLeft=0, Int confRight=0, Int confTop=0, Int confBottom=0 );
    74   Bool  write( TComPicYuv*    pPicYuv, TComPicYuv*    pPicYuv2, Int confLeft=0, Int confRight=0, Int confTop=0, Int confBottom=0  , bool isTff=false);
     74  Bool  write( TComPicYuv*    pPicYuv, TComPicYuv*    pPicYuv2, Int confLeft=0, Int confRight=0, Int confTop=0, Int confBottom=0, Bool isTff = false );
    7575 
    7676  Bool  isEof ();                                           ///< check for end-of-file
Note: See TracChangeset for help on using the changeset viewer.