Changeset 1272 in 3DVCSoftware for branches/HTM-14.1-update-dev3/source


Ignore:
Timestamp:
13 Jul 2015, 20:40:58 (9 years ago)
Author:
qualcomm
Message:

1) Fix issues of Sub-PU based inter view motion prediction when ARP is enabled; 2) minor code cleanups for VSP

Location:
branches/HTM-14.1-update-dev3/source/Lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.1-update-dev3/source/Lib/TLibCommon/TypeDef.h

    r1270 r1272  
    7979#define NH_3D_DBBP                         1
    8080#define BUF_FIX 1
    81 #define NH_3D_ARP                         0  // Advanced residual prediction (ARP), JCT3V-D0177
     81#define NH_3D_ARP                         1  // Advanced residual prediction (ARP), JCT3V-D0177
    8282                                              // QC_MTK_INTERVIEW_ARP_F0123_F0108 JCT3V-F0123; JCT3V-F0108
    8383                                              // SHARP_ARP_REF_CHECK_F0105        ARP reference picture selection and DPB check
  • branches/HTM-14.1-update-dev3/source/Lib/TLibEncoder/TEncCu.cpp

    r1270 r1272  
    18321832
    18331833#if NH_3D_VSP
    1834 #if !H_3D_ARP
     1834#if !NH_3D_ARP
    18351835  Int vspFlag[MRG_MAX_NUM_CANDS_MEM];
    18361836  memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM);
     
    18541854    );
    18551855#endif
    1856 
    18571856#endif
    18581857#else
     
    19301929    rpcTempCU->getDvInfo(0) = cOrigDisInfo;
    19311930    rpcTempCU->setDvInfoSubParts(cOrigDisInfo, 0, uhDepth );
     1931#if NH_3D_VSP
    19321932    Int vspFlag[MRG_MAX_NUM_CANDS_MEM];
    19331933    memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM);
    1934 #if H_3D_SPIVMP
    1935     Bool bSPIVMPFlag[MRG_MAX_NUM_CANDS_MEM];
    1936     memset(bSPIVMPFlag, false, sizeof(Bool)*MRG_MAX_NUM_CANDS_MEM);
    1937     TComMvField*  pcMvFieldSP;
    1938     UChar* puhInterDirSP;
    1939     pcMvFieldSP = new TComMvField[rpcTempCU->getPic()->getPicSym()->getNumPartition()*2];
    1940     puhInterDirSP = new UChar[rpcTempCU->getPic()->getPicSym()->getNumPartition()];
    1941 #endif
    1942 #if H_3D
     1934#endif
     1935#if NH_3D
     1936#if NH_3D_MLC
    19431937    rpcTempCU->initAvailableFlags();
     1938#endif
    19441939    rpcTempCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand );
    19451940    rpcTempCU->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours,uhInterDirNeighbours
    1946 #if H_3D_SPIVMP
     1941#if NH_3D_SPIVMP
    19471942      , pcMvFieldSP, puhInterDirSP
    19481943#endif
     
    19541949      , vspFlag
    19551950#endif
    1956 #if H_3D_SPIVMP
     1951#if NH_3D_SPIVMP
    19571952      , bSPIVMPFlag
    19581953#endif
     
    22262221  }
    22272222  DEBUG_STRING_APPEND(sDebug, bestStr)
     2223#if NH_3D_ARP
     2224 }
     2225#endif
    22282226#if NH_3D_SPIVMP
    22292227 delete[] pcMvFieldSP;
    22302228 delete[] puhInterDirSP;
    2231 #endif
    2232 #if NH_3D_ARP
    2233  }
    22342229#endif
    22352230}
Note: See TracChangeset for help on using the changeset viewer.