Changeset 1064 in 3DVCSoftware for branches/HTM-12.0-dev1/source


Ignore:
Timestamp:
10 Oct 2014, 21:05:07 (11 years ago)
Author:
tech
Message:
  • Further fixes
  • Updated cfg files
Location:
branches/HTM-12.0-dev1/source
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-12.0-dev1/source/App/TAppEncoder/TAppEncCfg.cpp

    r1060 r1064  
    429429 
    430430#if H_MV_HLS10_PTL
    431   ("ProfileTierLevelIdx_%d",  m_profileTierLevelIdx, std::vector<Int>(0), MAX_NUM_LAYERS, "Indices to profile level tier")
     431  ("ProfileTierLevelIdx_%d",  m_profileTierLevelIdx, std::vector<Int>(0), MAX_NUM_LAYERS, "Indices to profile level tier for ols")
    432432#else
    433433  ("ProfileLevelTierIdx",   m_profileLevelTierIdx, std::vector<Int>(1,0), "Indices to profile level tier")
     
    12401240  {
    12411241#if H_3D
    1242     cfg_profiles = string("main main 3D-main");
     1242    cfg_profiles = string("main main 3d-main");
    12431243#else
    12441244    cfg_profiles = string("main main multiview-main");   
  • branches/HTM-12.0-dev1/source/App/TAppEncoder/TAppEncCfg.h

    r1060 r1064  
    557557      cElement = strtok( NULL, " " );
    558558    }
     559    delete[] cString;
    559560  }
    560561#endif
  • branches/HTM-12.0-dev1/source/App/TAppEncoder/TAppEncTop.cpp

    r1063 r1064  
    13961396  // Max sub layers, + presence flag
    13971397  Bool subLayersMaxMinus1PresentFlag = false;
     1398#if !H_MV_FIX_SUB_LAYERS_MAX_MINUS1
    13981399  Int  subLayersMaxMinus1 = -1;
     1400#endif
    13991401  for (Int curLayerIdInVps = 0; curLayerIdInVps < m_numberOfLayers; curLayerIdInVps++ )
    1400   {
    1401     Int curSubLayersMaxMinus1 = -1;
     1402  {   
     1403    Int curSubLayersMaxMinus1 = 0;
    14021404    for( Int i = 0; i < getGOPSize(); i++ )
    14031405    {
     
    14071409
    14081410    vps.setSubLayersVpsMaxMinus1( curLayerIdInVps, curSubLayersMaxMinus1 );
     1411#if !H_MV_FIX_SUB_LAYERS_MAX_MINUS1
    14091412    if ( subLayersMaxMinus1 == -1 )
    14101413    {
     
    14151418      subLayersMaxMinus1PresentFlag = subLayersMaxMinus1PresentFlag || ( curSubLayersMaxMinus1 != subLayersMaxMinus1 );
    14161419    }
     1420#else
     1421    subLayersMaxMinus1PresentFlag = subLayersMaxMinus1PresentFlag || ( curSubLayersMaxMinus1 != vps.getMaxSubLayersMinus1() );
     1422#endif
    14171423  }
    14181424
     
    14231429  Bool maxTidRefPresentFlag = false;
    14241430  for ( Int refLayerIdInVps = 0; refLayerIdInVps < m_numberOfLayers; refLayerIdInVps++)
    1425     {
     1431  {
    14261432    for ( Int curLayerIdInVps = 1; curLayerIdInVps < m_numberOfLayers; curLayerIdInVps++)
    1427       {
     1433    {
    14281434      Int maxTid = -1;
     1435#if H_MV_FIX_LOOP_GOPSIZE
     1436      for( Int i = 0; i < ( getGOPSize() + 1); i++ )
     1437      {       
     1438        GOPEntry geCur =  m_GOPListMvc[curLayerIdInVps][( i < getGOPSize()  ? i : MAX_GOP )];
     1439        GOPEntry geRef =  m_GOPListMvc[refLayerIdInVps][( i < getGOPSize()  ? i : MAX_GOP )];
     1440#else
    14291441      for( Int i = 0; i < getGOPSize(); i++ )
    14301442      {       
    14311443        GOPEntry geCur =  m_GOPListMvc[curLayerIdInVps][i];
    1432         GOPEntry geRef =  m_GOPListMvc[refLayerIdInVps][i];
    1433        
     1444        GOPEntry geRef =  m_GOPListMvc[refLayerIdInVps][i];     
     1445#endif
    14341446        for (Int j = 0; j < geCur.m_numActiveRefLayerPics; j++)
    14351447        {       
    14361448          if ( m_directRefLayers[ curLayerIdInVps ][ geCur.m_interLayerPredLayerIdc[ j ]] == refLayerIdInVps )
    14371449          {
     1450#if H_MV_FIX_LOOP_GOPSIZE
     1451            Bool refAlwaysIntra = ( i == getGOPSize() ) && ( m_iIntraPeriod[ curLayerIdInVps ] % m_iIntraPeriod[ refLayerIdInVps ] == 0 );
     1452            Bool refLayerZero   = ( i == getGOPSize() ) && ( refLayerIdInVps == 0 );
     1453            maxTid = std::max( maxTid, ( refAlwaysIntra || refLayerZero ) ? 0 : geRef.m_temporalId );
     1454#else
    14381455            maxTid = std::max( maxTid, geRef.m_temporalId );
     1456#endif
    14391457          }
    14401458        }
     
    16091627  assert( ptl != NULL );
    16101628
    1611 
    16121629  ptl->setProfileIdc( profile );
    16131630  ptl->setTierFlag  ( tier    );
    16141631  ptl->setLevelIdc  ( level   );
    16151632  ptl->setProfileCompatibilityFlag( profile, true );
     1633#if H_MV_HLS10_PTL_INBL_FIX
     1634  ptl->setInbldFlag( inbldFlag );
     1635#endif
    16161636
    16171637  switch ( profile )
  • branches/HTM-12.0-dev1/source/Lib/TLibCommon/TComDataCU.cpp

    r1048 r1064  
    61646164  TComMv cMv;
    61656165#if MTK_I0093
    6166   Int iDisp     = getSlice()->getDepthToDisparityB( 0 )[ 1 << ( getSlice()->getSPS()->getBitDepthY() - 1 ) ];
     6166#if H_3D_FIX_64BIT_SHIFT
     6167  Int iDisp     = getSlice()->getDepthToDisparityB( 0 )[ (Int64) (1 << ( getSlice()->getSPS()->getBitDepthY() - 1 )) ];
     6168#else
     6169  Int iDisp     = getSlice()->getDepthToDisparityB( 0 )[  1 << ( getSlice()->getSPS()->getBitDepthY() - 1 ) ];
     6170#endif
    61676171#else
    61686172  Int iDisp     = getSlice()->getDepthToDisparityB( 0 )[ 128 ];
  • branches/HTM-12.0-dev1/source/Lib/TLibCommon/TComSlice.cpp

    r1063 r1064  
    23092309  for ( i = 0; i < iNumViews ; i++ )
    23102310  {
     2311#if H_3D_FIX_UNINIT
     2312    m_bCamParPresent[i] = false;
     2313#endif
    23112314    m_bCamParInSliceHeader[i] = false;
    23122315    m_aaaiCodedScale[i] = new Int*[ 2 ];
  • branches/HTM-12.0-dev1/source/Lib/TLibCommon/TypeDef.h

    r1062 r1064  
    5555
    5656#ifndef HEVC_EXT
    57 #define HEVC_EXT                    1
     57#define HEVC_EXT                    2
    5858#endif
    5959
     
    228228#endif
    229229
     230#define H_3D_FIX_UNINIT                   1   // Fix uninitialized flag
    230231#define H_3D_INTER_SDC                    1   // INTER SDC, Inter simplified depth coding
    231232                                              // LGE_INTER_SDC_E0156 Enable inter SDC for depth coding
     
    281282#define SEC_HLS_CLEANUP_I0100             1
    282283
     284#define H_3D_FIX_64BIT_SHIFT              1
    283285#endif // H_3D
    284286
     
    405407#define H_MV_HLS10_AUX                       1 // Auxiliary pictures
    406408#define H_MV_HLS10_GEN_FIX                   1
     409#define H_MV_FIX_LOOP_GOPSIZE                1
     410#define H_MV_FIX_SUB_LAYERS_MAX_MINUS1       1
    407411
    408412#define H_MV_HLS10_GEN_VSP_CONF_WIN          1  // VPS conformance window
     
    415419#define H_MV_HLS10_PTL                       1  // profile tier level
    416420#define H_MV_HLS10_PTL_FIX                   1  // profile tier level fix
     421#define H_MV_HLS10_PTL_INBL_FIX              1  // profile tier level fix
    417422#define H_MV_HLS10_PTL_INFER_FIX             1  // fix inference ptl
    418423#define H_MV_HLS10_MULTILAYERSPS             1  // multilayer SPS extension
     
    10131018#if H_MV_HLS10_PTL
    10141019    MULTIVIEWMAIN = 6,
    1015     MAIN3D = 5,
    10161020#if H_3D
    10171021    MAIN3D = 8,
Note: See TracChangeset for help on using the changeset viewer.