Changeset 1214 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
8 Jul 2015, 23:35:39 (10 years ago)
Author:
seregin
Message:

macro cleanup: R0151_CGS_3D_ASYMLUT_IMPROVE

Location:
branches/SHM-dev/source/Lib/TLibDecoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1213 r1214  
    35353535#endif
    35363536
    3537 #if R0151_CGS_3D_ASYMLUT_IMPROVE
    35383537  Int nAdaptCThresholdU = 1 << ( uiChromaInputBitDepthM8 + 8 - 1 );
    35393538  Int nAdaptCThresholdV = 1 << ( uiChromaInputBitDepthM8 + 8 - 1 );
     
    35473546    nAdaptCThresholdV += delta;
    35483547  }
    3549 #endif
     3548
    35503549  pc3DAsymLUT->destroy();
    3551   pc3DAsymLUT->create( uiCurOctantDepth , uiInputBitDepthM8 + 8 , 
    3552     uiChromaInputBitDepthM8 + 8 ,
    3553     uiOutputBitDepthM8 + 8 ,
    3554     uiChromaOutputBitDepthM8 + 8 ,
    3555     uiCurPartNumLog2
    3556 #if R0151_CGS_3D_ASYMLUT_IMPROVE
    3557     , nAdaptCThresholdU , nAdaptCThresholdV
    3558 #endif   
    3559     );
     3550  pc3DAsymLUT->create( uiCurOctantDepth, uiInputBitDepthM8 + 8, uiChromaInputBitDepthM8 + 8, uiOutputBitDepthM8 + 8, uiChromaOutputBitDepthM8 + 8, uiCurPartNumLog2, nAdaptCThresholdU, nAdaptCThresholdV );
    35603551  pc3DAsymLUT->setResQuantBit( uiResQaunBit );
    35613552
     
    36133604        if( uiCodeVertex )
    36143605        {
    3615 #if R0151_CGS_3D_ASYMLUT_IMPROVE
    36163606#if R0300_CGS_RES_COEFF_CODING
    36173607          xReadParam( deltaY, nFLCbits );
     
    36223612          xReadParam( deltaU );
    36233613          xReadParam( deltaV );
    3624 #endif
    3625 #else
    3626           READ_SVLC( deltaY , "resY" );
    3627           READ_SVLC( deltaU , "resU" );
    3628           READ_SVLC( deltaV , "resV" );
    36293614#endif
    36303615        }
     
    36653650}
    36663651
    3667 #if R0151_CGS_3D_ASYMLUT_IMPROVE
    36683652#if R0300_CGS_RES_COEFF_CODING
    36693653Void TDecCavlc::xReadParam( Int& param, Int rParam )
     
    36913675  else param = 0;
    36923676}
    3693 #endif
    36943677#endif
    36953678
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.h

    r1212 r1214  
    148148  Void xParse3DAsymLUT( TCom3DAsymLUT * pc3DAsymLUT );
    149149  Void xParse3DAsymLUTOctant( TCom3DAsymLUT * pc3DAsymLUT , Int nDepth , Int yIdx , Int uIdx , Int vIdx , Int nLength );
    150 #if R0151_CGS_3D_ASYMLUT_IMPROVE
    151150#if R0300_CGS_RES_COEFF_CODING
    152151  Void xReadParam( Int& param, Int flc_bits );
    153152#else
    154153  Void xReadParam( Int& param );
    155 #endif
    156154#endif
    157155#endif
Note: See TracChangeset for help on using the changeset viewer.