Ignore:
Timestamp:
3 Nov 2014, 01:32:52 (10 years ago)
Author:
lg
Message:

Integration of JCT3V-J0042. The MACRO is "LGE_DDD_REMOVAL_J0042_J0030."
Integration of JCT3V-J0046. The MACRO is "LGE_DEFAULT_DV_J0046."
Integration of JCT3V-J0050. The MACRO is "LGE_CHROMA_IC_J0050_J0034."
Integration of JCT3V-J0041. The MACRO is "LGE_SIMP_DISP_AVAIL_J0041."

By Sunmi Yoo (sunmi.yoo@…) and Junghak Nam (junghak.nam@…)

Location:
branches/HTM-12.2-dev2-LGE/source/Lib/TLibEncoder
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-12.2-dev2-LGE/source/Lib/TLibEncoder/TEncCu.cpp

    r1084 r1094  
    18691869
    18701870#endif
    1871 
     1871#if !LGE_DDD_REMOVAL_J0042_J0030
    18721872#if H_3D_DDD
    18731873    Int iDDDCand = rpcTempCU->getUseDDDCandIdx();
    18741874    UChar ucDDDepth = rpcTempCU->getDDTmpDepth();
    18751875    rpcTempCU->setUseDDD( false, 0, uhDepth );
     1876#endif
    18761877#endif
    18771878
     
    19081909          rpcTempCU->setVSPFlagSubParts( vspFlag[uiMergeCand], 0, 0, uhDepth );
    19091910#endif
     1911#if !LGE_DDD_REMOVAL_J0042_J0030
    19101912#if H_3D_DDD
    19111913          if( rpcTempCU->getSlice()->getIsDepth() && rpcTempCU->getSlice()->getViewIndex() != 0 && iDDDCand == uiMergeCand )
     
    19181920              rpcTempCU->setUseDDD( false, 0, 0, uhDepth );
    19191921          }
     1922#endif
    19201923#endif
    19211924#if H_3D_SPIVMP
     
    22042207  rpcTempCU->setPartSizeSubParts  ( ePartSize,  0, uhDepth );
    22052208  rpcTempCU->setPredModeSubParts  ( MODE_INTER, 0, uhDepth );
     2209#if !LGE_DDD_REMOVAL_J0042_J0030
    22062210#if H_3D_DDD
    22072211  rpcTempCU->setUseDDD( false, 0, uhDepth );
     2212#endif
    22082213#endif
    22092214
  • branches/HTM-12.2-dev2-LGE/source/Lib/TLibEncoder/TEncSearch.cpp

    r1084 r1094  
    41434143      }
    41444144#endif
    4145 
     4145#if !LGE_DDD_REMOVAL_J0042_J0030
    41464146#if H_3D_DDD
    41474147      if( uiMergeCand == pcCU->getUseDDDCandIdx() )
     
    41544154        pcCU->setUseDDD( false, uiAbsPartIdx, iPUIdx, pcCU->getDepth( uiAbsPartIdx ) );
    41554155      }
     4156#endif
    41564157#endif
    41574158
     
    48414842        pcCU->setVSPFlagSubParts( vspFlag[uiMRGIndex], uiPartAddr, iPartIdx, pcCU->getDepth( uiPartAddr ) );
    48424843#endif
     4844#if !LGE_DDD_REMOVAL_J0042_J0030
    48434845#if H_3D_DDD
    48444846        if( uiMRGIndex == pcCU->getUseDDDCandIdx() )
     
    48534855            pcCU->setUseDDD( false, uiPartAddr, iPartIdx, pcCU->getDepth( uiPartAddr ) );
    48544856        }
     4857#endif
    48554858#endif
    48564859#if H_3D_SPIVMP
     
    49304933        pcCU->setSPIVMPFlagSubParts(0, uiPartAddr, iPartIdx, pcCU->getDepth( uiPartAddr ) );
    49314934#endif
     4935#if !LGE_DDD_REMOVAL_J0042_J0030
    49324936#if H_3D_DDD
    49334937        pcCU->setUseDDD( false, uiPartAddr, iPartIdx, pcCU->getDepth( uiPartAddr ) );
     4938#endif
    49344939#endif
    49354940        // set ME result
  • branches/HTM-12.2-dev2-LGE/source/Lib/TLibEncoder/TEncSlice.cpp

    r976 r1094  
    10111011    }
    10121012  }
     1013#if LGE_DEFAULT_DV_J0046
     1014  pcSlice->setDefaultRefViewIdx( -1 );
     1015  pcSlice->setDefaultRefViewIdxAvailableFlag( false );
     1016
     1017  Int valid = 0;
     1018  Int viewIndex = 0;
     1019  for( UInt uiBId = 0; uiBId < pcSlice->getViewIndex() && valid==0; uiBId++ )
     1020  {
     1021      UInt        uiBaseId    = uiBId;
     1022      TComPic*    pcBasePic   = pcSlice->getIvPic( false, uiBaseId );
     1023      for( Int iRefListId = 0; ( iRefListId < (pcSlice->isInterB()? 2:1) ) && !pcSlice->isIntra() && valid==0; iRefListId++ )
     1024      {
     1025          RefPicList  eRefPicListTest = RefPicList( iRefListId );
     1026          Int         iNumRefPics = pcSlice->getNumRefIdx( eRefPicListTest ) ;
     1027          for( Int iRefIndex = 0; iRefIndex < iNumRefPics; iRefIndex++ )
     1028          {
     1029              if(pcBasePic->getPOC() == pcSlice->getRefPic( eRefPicListTest, iRefIndex )->getPOC()
     1030                  && pcBasePic->getViewIndex() == pcSlice->getRefPic( eRefPicListTest, iRefIndex )->getViewIndex())
     1031              {
     1032                  valid=1;
     1033                  viewIndex = uiBaseId;
     1034                  break;
     1035              }
     1036          }
     1037      }
     1038  }
     1039  if( valid )
     1040  {
     1041      pcSlice->setDefaultRefViewIdx( viewIndex );
     1042      pcSlice->setDefaultRefViewIdxAvailableFlag( true );   
     1043  }
     1044#endif
     1045
    10131046  // for every CU in slice
    10141047#if H_3D
     
    11691202#endif
    11701203      }
    1171 
    11721204      // run CU encoder
    11731205      m_pcCuEncoder->compressCU( pcCU );
  • branches/HTM-12.2-dev2-LGE/source/Lib/TLibEncoder/TEncSlice.h

    r884 r1094  
    107107  UInt                    m_uiSliceIdx;
    108108  std::vector<TEncSbac*> CTXMem;
     109#if !LGE_DDD_REMOVAL_J0042_J0030
    109110#if H_3D_DDD
    110111  Int          m_iDDDScale;
    111112  Int          m_iDDDOffset;
    112113  UInt         m_uiDDDPrecision;
     114#endif
    113115#endif
    114116public:
     
    145147  Void      initCtxMem( UInt i );
    146148  Void      setCtxMem( TEncSbac* sb, Int b )   { CTXMem[b] = sb; }
    147 
     149#if !LGE_DDD_REMOVAL_J0042_J0030
    148150#if H_3D_DDD
    149151  Void setDDDPar( Int iScale, Int iOffset, UInt uiPrecision ){ m_iDDDScale = iScale; m_iDDDOffset = iOffset; m_uiDDDPrecision = uiPrecision; }
     152#endif
    150153#endif
    151154
Note: See TracChangeset for help on using the changeset viewer.