Changeset 1179 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncTop.cpp


Ignore:
Timestamp:
7 Apr 2015, 17:05:30 (9 years ago)
Author:
tech
Message:

Merged branch 13.1-dev0@1178.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibEncoder/TEncTop.cpp

    r1133 r1179  
    44 * granted under this license. 
    55 *
    6 * Copyright (c) 2010-2014, ITU/ISO/IEC
     6* Copyright (c) 2010-2015, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    9191  m_aICEnableNum = NULL;
    9292#endif
     93#if H_3D_ANNEX_SELECTION_FIX
     94  m_cCavlcCoder.setEncTop(this);
     95#endif
    9396}
    9497
     
    364367  }
    365368#endif
     369
    366370  // initialize processing unit classes
    367371  m_cGOPEncoder.  init( this );
     
    413417#endif
    414418#if H_3D
     419#if HHI_CAM_PARA_K0052
     420  pcPicCurr->setScaleOffset( m_cameraParameters->getCodedScale(), m_cameraParameters->getCodedOffset() );
     421#else
    415422  pcPicCurr->setScaleOffset( m_aaiCodedScale, m_aaiCodedOffset );
     423#endif
    416424#endif
    417425}
     
    760768    m_cSPS.setSpsInferScalingListFlag   ( true );
    761769    m_cSPS.setSpsScalingListRefLayerId( m_cVPS->getIdRefLayer( getLayerId(), 0 ) );
    762   }
     770#if SONY_MV_V_CONST_C0078
     771    if ( m_bUseDisparitySearchRangeRestriction )
     772    {
     773      m_cSPS.setInterViewMvVertConstraintFlag ( true ) ;
     774    }
     775#endif
     776  } 
    763777  m_cSPS.setSpsExtensionPresentFlag       ( true );
    764778  m_cSPS.setSpsMultilayerExtensionFlag    ( true );
     
    773787  m_cSPS.setMaxCUHeight   ( g_uiMaxCUHeight     );
    774788  m_cSPS.setMaxCUDepth    ( g_uiMaxCUDepth      );
     789#if H_3D_DISABLE_CHROMA
     790  m_cSPS.setChromaFormatIdc( getIsDepth() ? CHROMA_400 : CHROMA_420 );
     791#endif
    775792
    776793  Int minCUSize = m_cSPS.getMaxCUWidth() >> ( m_cSPS.getMaxCUDepth()-g_uiAddCUDepth );
Note: See TracChangeset for help on using the changeset viewer.