Changeset 524 in 3DVCSoftware


Ignore:
Timestamp:
6 Jul 2013, 19:15:49 (11 years ago)
Author:
mitsubishi-htm
Message:

-intermediate version. fixing issues between VSP and interview motion prediction.
-using a better variable name, bVspRef. equivalent as previous version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComDataCU.cpp

    r523 r524  
    27922792    {
    27932793#if H_3D_VSP_FIX
    2794       Bool bSet[2] = {false, false}; // TODO: Find a better variable name   -Dong
     2794      Bool bVspRef[2] = {false, false}; // TODO: Find a better variable name   -Dong
    27952795#endif
    27962796      abCandIsInter[iCount] = true;     
     
    28132813        if ( pcTextureCU->getVSPFlag( uiPartIdxCenter ) != 0 ) // Texture coded using VSP mode
    28142814        {
    2815           bSet[0] = true;
     2815          bVspRef[0] = true;
    28162816          for ( Int i = 0; i < m_pcSlice->getNumRefIdx( REF_PIC_LIST_0 ); i++ )
    28172817          {
     
    28192819            {
    28202820              pcMvFieldNeighbours[ iCount<<1 ].setMvField(cMvPred, i);
    2821               bSet[0] = false;
     2821              bVspRef[0] = false;
    28222822              break;
    28232823            }
     
    28592859          if ( pcTextureCU->getVSPFlag( uiPartIdxCenter ) != 0 ) // Texture coded using VSP mode
    28602860          {
    2861             bSet[1] = true;
     2861            bVspRef[1] = true;
    28622862            for ( Int i = 0; i < m_pcSlice->getNumRefIdx( REF_PIC_LIST_1 ); i++ )
    28632863            {
     
    28652865              {
    28662866                pcMvFieldNeighbours[ (iCount<<1)+1 ].setMvField(cMvPred, i);
    2867                 bSet[1] = false;
     2867                bVspRef[1] = false;
    28682868                break;
    28692869              }
     
    28922892#endif
    28932893#if H_3D_VSP_FIX
    2894       assert( !bSet[0] || (!bSet[1] && m_pcSlice->isInterB()) );
     2894      assert( !bVspRef[0] || (!bVspRef[1] && m_pcSlice->isInterB()) );
    28952895      {
    28962896#endif
Note: See TracChangeset for help on using the changeset viewer.