Changeset 205 in 3DVCSoftware


Ignore:
Timestamp:
10 Dec 2012, 11:56:43 (12 years ago)
Author:
tech
Message:

Incorporated fix of IC. ( FIX_MISUSE_REFINDEX )

Location:
trunk/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibCommon/TComDataCU.cpp

    r189 r205  
    38313831        bRemoveSpa                      = true;
    38323832        abCandIsInter        [ iCount ] = false;
     3833#if FIX_MISUSE_REFINDEX
     3834        //reset to the default value for IC, MC
     3835        puhInterDirNeighbours[iCount]   = 0;
     3836        TComMv  cZeroMv;
     3837        pcMvFieldNeighbours[iCount<<1].setMvField( cZeroMv, NOT_VALID );
     3838        pcMvFieldNeighbours[(iCount<<1)+1].setMvField( cZeroMv, NOT_VALID );
     3839        break;
     3840#endif
    38333841      }
    38343842    }
     
    39503958        bRemoveSpa                      = true;
    39513959        abCandIsInter        [ iCount ] = false;
     3960#if FIX_MISUSE_REFINDEX
     3961        //reset to the default value for IC, MC
     3962        puhInterDirNeighbours[iCount]   = 0;
     3963        TComMv  cZeroMv;
     3964        pcMvFieldNeighbours[iCount<<1].setMvField( cZeroMv, NOT_VALID );
     3965        pcMvFieldNeighbours[(iCount<<1)+1].setMvField( cZeroMv, NOT_VALID );
     3966        break;
     3967#endif
    39523968      }
    39533969    }
     
    41324148          bRemoveSpa                      = true;
    41334149          abCandIsInter        [ iCount ] = false;
     4150#if FIX_MISUSE_REFINDEX
     4151          //reset to the default value for IC, MC
     4152          puhInterDirNeighbours[iCount]   = 0;
     4153          TComMv  cZeroMv;
     4154          pcMvFieldNeighbours[iCount<<1].setMvField( cZeroMv, NOT_VALID );
     4155          pcMvFieldNeighbours[(iCount<<1)+1].setMvField( cZeroMv, NOT_VALID );
     4156          break;
     4157#endif
    41344158        }
    41354159      }
     
    60806104    {
    60816105      pInfo->iN = 1;
     6106#if FIX_MISUSE_REFINDEX
     6107      pInfo->m_acMvCand[ 1 ].set(0, 0);
     6108#endif
    60826109    }
    60836110  }
  • trunk/source/Lib/TLibCommon/TypeDef.h

    r189 r205  
    5252#define FIX_DMM_NEG_DIST                  1
    5353#define FIX_LGE_DVMCP_B0133               1
     54#define FIX_MISUSE_REFINDEX               1
    5455
    5556
Note: See TracChangeset for help on using the changeset viewer.