Changeset 100 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncGOP.cpp


Ignore:
Timestamp:
9 Aug 2012, 12:53:16 (13 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/Lib/TLibEncoder/TEncGOP.cpp

    r77 r100  
    436436  Bool bUseVSO = m_pcEncTop->getUseVSO();
    437437  m_pcRdCost->setUseVSO( bUseVSO );
     438#if SAIT_VSO_EST_A0033
     439  m_pcRdCost->setUseEstimatedVSD( m_pcEncTop->getUseEstimatedVSD() );
     440#endif
    438441
    439442  if ( bUseVSO )
     
    445448#endif
    446449
     450#if HHI_VSO_SPEEDUP_A033
     451#else
    447452    if ( iVSOMode == 4 )
    448453    {
     
    453458      AOT(true);
    454459    }
     460#endif
     461
     462#if SAIT_VSO_EST_A0033
     463    m_pcRdCost->setVideoRecPicYuv( m_pcEncTop->getEncTop()->xGetPicYuvFromViewTemp( pcSlice->getViewId(), pcSlice->getPOC(), false, true ) );
     464    m_pcRdCost->setDepthPicYuv   ( m_pcEncTop->getEncTop()->xGetPicYuvFromViewTemp( pcSlice->getViewId(), pcSlice->getPOC(), true, false ) );
     465#endif
     466
     467
    455468  }
    456469#endif
     
    691704      // init view component and predict virtual depth map
    692705      m_pcDepthMapGenerator->initViewComponent( pcPic );
     706#if !QC_MULTI_DIS_CAN
    693707      m_pcDepthMapGenerator->predictDepthMap  ( pcPic );
     708#endif
    694709#endif
    695710#if HHI_INTER_VIEW_MOTION_PRED
     
    758773#endif
    759774#if DEPTH_MAP_GENERATION
     775#if !QC_MULTI_DIS_CAN
    760776      // update virtual depth map
    761777      m_pcDepthMapGenerator->updateDepthMap( pcPic );
     778#endif
    762779#endif
    763780
     
    24752492    if( hasModification )
    24762493    {
    2477             Int temporalRefIdx = 0;
    2478             for( Int i = 0; i < pcSlice->getNumRefIdx( REF_PIC_LIST_0 ); i++ )
    2479             {
    2480               if( tempListEntryL0[i] >= 0 )
    2481               {
    2482                 refPicListModification->setRefPicSetIdxL0( i, tempListEntryL0[i] );
    2483               }
    2484               else
    2485               {
    2486                 refPicListModification->setRefPicSetIdxL0( i, temporalRefIdx );
    2487                 temporalRefIdx++;
    2488               }
    2489             }
    2490           }
     2494      Int temporalRefIdx = 0;
     2495      for( Int i = 0; i < pcSlice->getNumRefIdx( REF_PIC_LIST_0 ); i++ )
     2496      {
     2497        if( tempListEntryL0[i] >= 0 )
     2498        {
     2499          refPicListModification->setRefPicSetIdxL0( i, tempListEntryL0[i] );
     2500        }
     2501        else
     2502        {
     2503          refPicListModification->setRefPicSetIdxL0( i, temporalRefIdx );
     2504          temporalRefIdx++;
     2505        }
     2506      }
     2507    }
    24912508    else
    24922509    {
     
    25202537    if( hasModification )
    25212538    {
    2522             Int temporalRefIdx = 0;
    2523             for( Int i = 0; i < pcSlice->getNumRefIdx( REF_PIC_LIST_1 ); i++ )
    2524             {
    2525               if( tempListEntryL1[i] >= 0 )
    2526               {
    2527                 refPicListModification->setRefPicSetIdxL1( i, tempListEntryL1[i] );
    2528               }
    2529               else
    2530               {
    2531                 refPicListModification->setRefPicSetIdxL1( i, temporalRefIdx );
    2532                 temporalRefIdx++;
    2533               }
    2534             }
     2539      Int temporalRefIdx = 0;
     2540      for( Int i = 0; i < pcSlice->getNumRefIdx( REF_PIC_LIST_1 ); i++ )
     2541      {
     2542        if( tempListEntryL1[i] >= 0 )
     2543        {
     2544          refPicListModification->setRefPicSetIdxL1( i, tempListEntryL1[i] );
     2545        }
     2546        else
     2547        {
     2548          refPicListModification->setRefPicSetIdxL1( i, temporalRefIdx );
     2549          temporalRefIdx++;
     2550        }
     2551      }
    25352552    }
    25362553    else
Note: See TracChangeset for help on using the changeset viewer.