Ignore:
Timestamp:
22 Dec 2013, 20:21:39 (10 years ago)
Author:
rwth
Message:
  • finalize H_3D_DELTA_DLT implementation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-9.1-dev0-RWTH/source/Lib/TLibCommon/TComSlice.cpp

    r751 r753  
    25812581}
    25822582
    2583 #if RWTH_DELTA_DLT
    2584 Void TComDLT::getDeltaDLT( Int layerIdInVps, Int* piDLTInRef, Int iDLTInRefNum, Int* piDeltaDLTOut, Int *piDeltaDLTOutNum )
     2583#if H_3D_DELTA_DLT
     2584Void TComDLT::getDeltaDLT( Int layerIdInVps, Int* piDLTInRef, UInt uiDLTInRefNum, Int* piDeltaDLTOut, UInt *puiDeltaDLTOutNum )
    25852585{
    25862586  Bool abBM0[ 256 ];
     
    25912591 
    25922592  // convert reference DLT to bit string
    2593   for( Int i = 0; i < iDLTInRefNum; i++ )
     2593  for( Int i = 0; i < uiDLTInRefNum; i++ )
    25942594  {
    25952595    abBM0[ piDLTInRef[ i ] ] = true;
     
    26012601  }
    26022602 
    2603   *piDeltaDLTOutNum = 0;
     2603  *puiDeltaDLTOutNum = 0;
    26042604  for( Int i = 0; i < 256; i++ )
    26052605  {
    26062606    if( abBM0[ i ] ^ abBM1[ i ] )
    26072607    {
    2608       piDeltaDLTOut[ *piDeltaDLTOutNum ] = i;
    2609       *piDeltaDLTOutNum = *piDeltaDLTOutNum + 1;
    2610     }
    2611   }
    2612 }
    2613 
    2614 Void TComDLT::setDeltaDLT( Int layerIdInVps, Int* piDLTInRef, Int iDLTInRefNum, Int* piDeltaDLTIn, Int piDeltaDLTInNum )
     2608      piDeltaDLTOut[ *puiDeltaDLTOutNum ] = i;
     2609      *puiDeltaDLTOutNum = *puiDeltaDLTOutNum + 1;
     2610    }
     2611  }
     2612}
     2613
     2614Void TComDLT::setDeltaDLT( Int layerIdInVps, Int* piDLTInRef, UInt uiDLTInRefNum, Int* piDeltaDLTIn, UInt uiDeltaDLTInNum )
    26152615{
    26162616  Bool abBM0[ 256 ];
     
    26212621 
    26222622  // convert reference DLT to bit string
    2623   for( Int i = 0; i < iDLTInRefNum; i++ )
     2623  for( Int i = 0; i < uiDLTInRefNum; i++ )
    26242624  {
    26252625    abBM0[ piDLTInRef[ i ] ] = true;
    26262626  }
    26272627  // convert delta DLT to bit string
    2628   for( Int i = 0; i < piDeltaDLTInNum; i++ )
     2628  for( Int i = 0; i < uiDeltaDLTInNum; i++ )
    26292629  {
    26302630    abBM1[ piDeltaDLTIn[ i ] ] = true;
Note: See TracChangeset for help on using the changeset viewer.