Changeset 100 in 3DVCSoftware for trunk/source/App/TAppEncoder/TAppEncTop.cpp


Ignore:
Timestamp:
9 Aug 2012, 12:53:16 (12 years ago)
Author:
tech
Message:

Adopted modifications:

  • disparity vector generation (A0097)
  • inter-view motion prediction modification (A0049)
  • simplification of disparity vector derivation (A0126)
  • region boundary chain coding (A0070)
  • residual skip intra (A0087)
  • VSO modification (A0033/A0093)

+ Clean ups + Bug fixes

Update of cfg files (A0033 modification 2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/App/TAppEncoder/TAppEncTop.cpp

    r77 r100  
    203203    m_acTEncTopList[iViewIdx]->setLambdaScaleVSO               ( 1     );
    204204    m_acTEncTopList[iViewIdx]->setVSOMode                      ( 0     );
    205     m_acTEncTopList[iViewIdx]->setUseVSO                       ( false ); //GT: might be enabled later for VSO Mode 4
     205    m_acTEncTopList[iViewIdx]->setUseVSO                       ( false );
     206#if SAIT_VSO_EST_A0033
     207    m_acTEncTopList[iViewIdx]->setUseEstimatedVSD              ( false );
     208#endif
    206209#endif
    207210
     
    517520#endif
    518521      m_acTEncDepthTopList[iViewIdx]->setVSOMode                      ( m_uiVSOMode );
     522
     523#if SAIT_VSO_EST_A0033
     524      m_acTEncDepthTopList[iViewIdx]->setUseEstimatedVSD              ( m_bUseEstimatedVSD );
     525#endif
    519526#endif
    520527
     
    648655    if ( m_uiVSOMode == 4 )
    649656    {
     657#if HHI_VSO_SPEEDUP_A033
     658#if LGE_VSO_EARLY_SKIP_A0093
     659      m_cRendererModel.create( m_cRenModStrParser.getNumOfBaseViews(), m_cRenModStrParser.getNumOfModels(), m_iSourceWidth, g_uiMaxCUHeight , LOG2_DISP_PREC_LUT, 0, m_bVSOEarlySkip );
     660#else
     661      m_cRendererModel.create( m_cRenModStrParser.getNumOfBaseViews(), m_cRenModStrParser.getNumOfModels(), m_iSourceWidth, g_uiMaxCUHeight , LOG2_DISP_PREC_LUT, 0 );
     662#endif
     663#else
    650664      m_cRendererModel.create( m_cRenModStrParser.getNumOfBaseViews(), m_cRenModStrParser.getNumOfModels(), m_iSourceWidth, m_iSourceHeight, LOG2_DISP_PREC_LUT, 0 );
     665#endif
    651666
    652667      for ( Int iViewNum = 0; iViewNum < m_iNumberOfViews; iViewNum++ )
     
    11411156};
    11421157
     1158#if SAIT_VSO_EST_A0033
     1159TComPicYuv* TAppEncTop::xGetPicYuvFromViewTemp( Int iViewIdx, Int iPoc, Bool bDepth, Bool bRecon )
     1160{
     1161  TComPic*    pcPic = xGetPicFromView( iViewIdx, iPoc, bDepth);
     1162  TComPicYuv* pcPicYuv = NULL;
     1163
     1164  if (pcPic != NULL)
     1165  {
     1166    if( bRecon )
     1167    {
     1168      if ( pcPic->getReconMark() )
     1169      {
     1170        pcPicYuv = pcPic->getPicYuvRec();
     1171      }
     1172    }
     1173    else
     1174    {
     1175      pcPicYuv = pcPic->getPicYuvOrg();
     1176    }
     1177  };
     1178
     1179  return pcPicYuv;
     1180};
     1181#endif
     1182
    11431183/**
    11441184 *
     
    12091249#endif
    12101250#if HHI_VSO
     1251#if HHI_VSO_SPEEDUP_A033
     1252Void TAppEncTop::setupRenModel( Int iPoc, Int iEncViewIdx, Int iEncContent, Int iHorOffset )
     1253{
     1254  m_cRendererModel.setHorOffset( iHorOffset );
     1255#else
    12111256Void TAppEncTop::setupRenModel( Int iPoc, Int iEncViewIdx, Int iEncContent )
    12121257{
     1258#endif
    12131259  Int iEncViewSIdx = m_cCameraData.getBaseId2SortedId()[ iEncViewIdx ];
    12141260
Note: See TracChangeset for help on using the changeset viewer.