Changeset 150 in SHVCSoftware for branches/SHM-2.0-dev/source


Ignore:
Timestamp:
4 May 2013, 00:13:37 (12 years ago)
Author:
seregin
Message:

compile error fox AVC_SYNTAX

Location:
branches/SHM-2.0-dev/source/Lib
Files:
5 edited

Legend:

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

    r144 r150  
    42134213
    42144214#if AVC_SYNTAX && !ILP_DECODED_PICTURE
     4215#if !ILP_DECODED_PICTURE
     4216  const Window &confBL = cBaseColPic->getPicYuvRec()->getConformanceWindow();
     4217  const Window &confEL = m_pcPic->getPicYuvRec()->getConformanceWindow();
     4218
     4219  Int widthBL   = m_pcSlice->getBaseColPic()->getPicYuvRec()->getWidth () - confBL.getWindowLeftOffset() - confBL.getWindowRightOffset();
     4220  Int heightBL  = m_pcSlice->getBaseColPic()->getPicYuvRec()->getHeight() - confBL.getWindowTopOffset() - confBL.getWindowBottomOffset();
     4221#endif
    42154222  if( iBX >= widthBL || iBY >= heightBL ) //outside of the reference layer cropped picture
    42164223  {
  • branches/SHM-2.0-dev/source/Lib/TLibCommon/TComPic.cpp

    r144 r150  
    116116  return;
    117117}
    118 #if REF_IDX_FRAMEWORK
     118#if REF_IDX_FRAMEWORK && 0
    119119Void TComPic::createWithOutYuv( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, TComSPS* pcSps,  Bool bIsVirtual)
    120120{
  • branches/SHM-2.0-dev/source/Lib/TLibCommon/TComPic.h

    r140 r150  
    103103  Void          create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, Window &conformanceWindow, Window &defaultDisplayWindow,
    104104                        Int *numReorderPics, TComSPS* pcSps = NULL, Bool bIsVirtual = false );
    105 #if REF_IDX_FRAMEWORK
     105#if REF_IDX_FRAMEWORK && 0
    106106  Void          createWithOutYuv( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, TComSPS* pcSps = NULL, Bool bIsVirtual = false ); 
    107107  Void          setPicYuvRec(TComPicYuv *pPicYuv) { m_apcPicYuv[1]=pPicYuv; }
  • branches/SHM-2.0-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r137 r150  
    143143  if(m_layerId>0)
    144144  {
     145    g_bitDepthY     = pcSPS->getBitDepthY();
     146    g_bitDepthC     = pcSPS->getBitDepthC();
     147    g_uiMaxCUWidth  = pcSPS->getMaxCUWidth();
     148    g_uiMaxCUHeight = pcSPS->getMaxCUHeight();
     149    g_uiMaxCUDepth  = pcSPS->getMaxCUDepth();
     150    g_uiAddCUDepth  = max (0, pcSPS->getLog2MinCodingBlockSize() - (Int)pcSPS->getQuadtreeTULog2MinSize() );
     151
    145152    Int  numReorderPics[MAX_TLAYER];
    146153    Window &conformanceWindow = pcSPS->getConformanceWindow();
     
    579586    fstream* pFile  = m_ppcTDecTop[0]->getBLReconFile();
    580587    const Window &conf = pBLPic->getConformanceWindow();
     588#if ILP_DECODED_PICTURE
     589    UInt uiWidth    = pBLPic->getPicYuvRec()->getWidth();
     590    UInt uiHeight   = pBLPic->getPicYuvRec()->getHeight();
     591#else
    581592    UInt uiWidth    = pBLPic->getPicYuvRec()->getWidth() - conf.getWindowLeftOffset() - conf.getWindowRightOffset();
    582593    UInt uiHeight   = pBLPic->getPicYuvRec()->getHeight() - conf.getWindowTopOffset() - conf.getWindowBottomOffset();
     594#endif
    583595       
    584596    if( pFile->good() )
     
    10821094#if AVC_SYNTAX
    10831095
    1084           pBLPic->create( m_ppcTDecTop[0]->getBLWidth(), m_ppcTDecTop[0]->getBLHeight(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, sps, true);
    1085 #else
    1086           pBLPic->create( m_ppcTDecTop[0]->getBLWidth(), m_ppcTDecTop[0]->getBLHeight(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, NULL, true);
    1087 #endif
    1088 #else
    1089           pBLPic->create( m_ppcTDecTop[0]->getBLWidth(), m_ppcTDecTop[0]->getBLHeight(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, onformanceWindow, defaultDisplayWindow, numReorderPics, true);
     1096          pBLPic->create( m_ppcTDecTop[0]->getBLWidth(), m_ppcTDecTop[0]->getBLHeight(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), sps->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, sps, true);
     1097#else
     1098          pBLPic->create( m_ppcTDecTop[0]->getBLWidth(), m_ppcTDecTop[0]->getBLHeight(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), sps->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, NULL, true);
     1099#endif
     1100#else
     1101          pBLPic->create( m_ppcTDecTop[0]->getBLWidth(), m_ppcTDecTop[0]->getBLHeight(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), sps->getMaxCUDepth(), onformanceWindow, defaultDisplayWindow, numReorderPics, true);
    10901102#endif
    10911103        }
  • branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r135 r150  
    12061206  if(m_layerId>0)
    12071207  {
     1208    g_bitDepthY     = m_cSPS.getBitDepthY();
     1209    g_bitDepthC     = m_cSPS.getBitDepthC();
     1210    g_uiMaxCUWidth  = m_cSPS.getMaxCUWidth();
     1211    g_uiMaxCUHeight = m_cSPS.getMaxCUHeight();
     1212    g_uiMaxCUDepth  = m_cSPS.getMaxCUDepth();
     1213    g_uiAddCUDepth  = max (0, m_cSPS.getLog2MinCodingBlockSize() - (Int)m_cSPS.getQuadtreeTULog2MinSize() );
     1214
    12081215    Int  numReorderPics[MAX_TLAYER];
    12091216    Window &conformanceWindow = m_cSPS.getConformanceWindow();
Note: See TracChangeset for help on using the changeset viewer.