Ignore:
Timestamp:
6 Nov 2015, 16:18:36 (8 years ago)
Author:
tech
Message:

Macro fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-15.2-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r1360 r1373  
    15651565    Int iBaseViewIdx = m_cameraParameters->getBaseSortedId2Id()[ iBaseViewSIdx ];
    15661566
    1567     TComPicYuv* pcPicYuvVideoRec  = m_ivPicLists->getPicYuv( iBaseViewIdx, false, iPoc, true  );
    1568     TComPicYuv* pcPicYuvDepthRec  = m_ivPicLists->getPicYuv( iBaseViewIdx, true , iPoc, true  );
    1569     TComPicYuv* pcPicYuvVideoOrg  = m_ivPicLists->getPicYuv( iBaseViewIdx, false, iPoc, false );
    1570     TComPicYuv* pcPicYuvDepthOrg  = m_ivPicLists->getPicYuv( iBaseViewIdx, true , iPoc, false );   
     1567    Int  auxId     =   getVPS()->getAuxId  ( getLayerId() );     
     1568    Bool depthFlag = ( getVPS()->getDepthId( getLayerId() ) == 1 );
     1569
     1570    if( auxId == 0 && !depthFlag  )
     1571    {
     1572      // Defaults for texture layers
     1573#if NH_3D
     1574      depthFlag = true;
     1575      auxId     = 0;
     1576#else
     1577      depthFlag = false;
     1578      auxId     = 2;
     1579#endif
     1580    }
     1581
     1582    TComPicYuv* pcPicYuvVideoRec  = m_ivPicLists->getPicYuv( iBaseViewIdx, false    , 0    , iPoc, true  );
     1583    TComPicYuv* pcPicYuvDepthRec  = m_ivPicLists->getPicYuv( iBaseViewIdx, depthFlag, auxId, iPoc, true  );
     1584    TComPicYuv* pcPicYuvVideoOrg  = m_ivPicLists->getPicYuv( iBaseViewIdx, false,     0    , iPoc, false );
     1585    TComPicYuv* pcPicYuvDepthOrg  = m_ivPicLists->getPicYuv( iBaseViewIdx, depthFlag, auxId, iPoc, false );   
    15711586
    15721587    TComPicYuv* pcPicYuvVideoRef  = ( iVideoDistMode == 2 ) ? pcPicYuvVideoOrg  : NULL;
     
    16331648    if ( iOrgRefBaseViewSIdx != -1 )
    16341649    {
    1635       pcPicYuvOrgRef = m_ivPicLists->getPicYuv(  m_cameraParameters->getBaseSortedId2Id()[ iOrgRefBaseViewSIdx ] , false, iPoc, false );
     1650      pcPicYuvOrgRef = m_ivPicLists->getPicYuv(  m_cameraParameters->getBaseSortedId2Id()[ iOrgRefBaseViewSIdx ] , false, 0, iPoc, false );
    16361651      AOF ( pcPicYuvOrgRef );
    16371652    }
Note: See TracChangeset for help on using the changeset viewer.