Ignore:
Timestamp:
11 Jun 2013, 20:35:00 (11 years ago)
Author:
zhang
Message:

Implementation of ARP from QC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2a/source/Lib/TLibEncoder/TEncGOP.cpp

    r455 r464  
    4747#include "TLibCommon/NAL.h"
    4848#include "NALwrite.h"
     49#if H_3D_ARP
     50#include "../../App/TAppEncoder/TAppEncTop.h"
     51#endif
    4952#include <time.h>
    5053#include <math.h>
     
    670673#if H_MV   
    671674    pcSlice->setRefPicList( rcListPic, m_refPicSetInterLayer );
     675#if H_3D_ARP
     676    pcSlice->setARPStepNum();
     677    if(pcSlice->getARPStepNum() > 1)
     678    {
     679      for(Int iLayerId = 0; iLayerId < getLayerId(); iLayerId ++ )
     680      {
     681        Int  iViewIdx =   pcSlice->getVPS()->getViewIndex(iLayerId);
     682        Bool bIsDepth = ( pcSlice->getVPS()->getDepthId  ( iLayerId ) == 1 );
     683        if( iViewIdx<getViewIndex() && !bIsDepth )
     684        {
     685          pcSlice->setBaseViewRefPicList( m_pcEncTop->getTAppEncTop()->getTEncTop( iLayerId )->getListPic(), iViewIdx );
     686        }
     687      }
     688    }
     689#endif
    672690#else
    673691    pcSlice->setRefPicList ( rcListPic );
Note: See TracChangeset for help on using the changeset viewer.