Changeset 189 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncCavlc.cpp


Ignore:
Timestamp:
18 Nov 2012, 22:11:37 (13 years ago)
Author:
tech
Message:

Reintegrated branch 4.1-dev0 Rev. 188.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibEncoder/TEncCavlc.cpp

    r100 r189  
    645645#endif
    646646
     647#if OL_QTLIMIT_PREDCODING_B0068
     648  if( bIsDepth )
     649  {
     650    WRITE_FLAG( pcSPS->getUseQTLPC() ? 1 : 0, "use_qtlpc_flag");
     651  }
     652#endif
     653 
     654#if RWTH_SDC_DLT_B0036
     655  if( bIsDepth )
     656  {
     657    WRITE_FLAG( pcSPS->getUseDLT() ? 1 : 0, "use_dlt_flag" );
     658    if( pcSPS->getUseDLT() )
     659    {
     660      // code mapping
     661      xWriteUvlc  ( pcSPS->getNumDepthValues() );
     662      for(UInt i=0; i<pcSPS->getNumDepthValues(); i++)
     663      {
     664        xWriteUvlc( pcSPS->idx2DepthValue(i) );
     665      }
     666    }
     667  }
     668#endif
     669
    647670  if( pcSPS->getViewId() || pcSPS->isDepth() )
    648671  {
     
    749772  Int address = (pcSlice->getPic()->getPicSym()->getCUOrderMap(lCUAddress) << reqBitsInner) + innerAddress;
    750773  WRITE_FLAG( address==0, "first_slice_in_pic_flag" );
     774
     775#if LGE_ILLUCOMP_B0045
     776  // IC flag is on only first_slice_in_pic
     777  if (address==0)
     778  {
     779    if( pcSlice->getSPS()->getViewId() && !pcSlice->getIsDepth() )
     780    {
     781      WRITE_FLAG( pcSlice->getApplyIC() ? 1 : 0, "applying IC flag" );
     782    }
     783  }
     784#endif
     785
    751786  if(address>0)
    752787  {
     
    14271462}
    14281463
     1464#if LGE_ILLUCOMP_B0045
     1465Void TEncCavlc::codeICFlag( TComDataCU* pcCU, UInt uiAbsPartIdx )
     1466{
     1467  assert(0);
     1468}
     1469#endif
     1470
    14291471Void TEncCavlc::codeSplitFlag   ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
    14301472{
     
    20472089  return true;
    20482090}
     2091
     2092#if RWTH_SDC_DLT_B0036
     2093Void TEncCavlc::codeSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx )
     2094{
     2095  assert(0);
     2096}
     2097
     2098Void TEncCavlc::codeSDCResidualData  ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiSegment )
     2099{
     2100  assert(0);
     2101}
     2102
     2103Void TEncCavlc::codeSDCPredMode ( TComDataCU* pcCU, UInt uiAbsPartIdx )
     2104{
     2105  assert(0);
     2106}
     2107#endif
    20492108//! \}
Note: See TracChangeset for help on using the changeset viewer.