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


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

macro cleanup: R0164_CGS_LUT_BUGFIX

File:
1 edited

Legend:

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

    r1215 r1217  
    35523552#endif
    35533553  xParse3DAsymLUTOctant( pc3DAsymLUT , 0 , 0 , 0 , 0 , 1 << pc3DAsymLUT->getCurOctantDepth() );
    3554 #if R0164_CGS_LUT_BUGFIX
    35553554#if R0164_CGS_LUT_BUGFIX_CHECK
    35563555  printf("============= Before 'xCuboidsFilledCheck()': ================\n");
     
    35603559  pc3DAsymLUT->display();
    35613560#endif
    3562 #endif
    35633561}
    35643562
     
    35903588    for( Int l = 0 ; l < nYPartNum ; l++ )
    35913589    {
    3592 #if R0164_CGS_LUT_BUGFIX
    3593       Int shift = pc3DAsymLUT->getCurOctantDepth() - nDepth ;
    3594 #endif
     3590      Int shift = pc3DAsymLUT->getCurOctantDepth() - nDepth;
     3591
    35953592      for( Int nVertexIdx = 0 ; nVertexIdx < 4 ; nVertexIdx++ )
    35963593      {
     
    36043601          xReadParam( deltaV, nFLCbits );
    36053602        }
    3606 #if R0164_CGS_LUT_BUGFIX
     3603
    36073604        pc3DAsymLUT->setCuboidVertexResTree( yIdx + (l<<shift) , uIdx , vIdx , nVertexIdx , deltaY , deltaU , deltaV );
    3608         for (Int m = 1; m < (1<<shift); m++) {
     3605
     3606        for( Int m = 1; m < (1<<shift); m++ )
     3607        {
    36093608          pc3DAsymLUT->setCuboidVertexResTree( yIdx + (l<<shift) + m , uIdx , vIdx , nVertexIdx , 0 , 0 , 0 );
    36103609#if R0164_CGS_LUT_BUGFIX_CHECK
     
    36123611#endif
    36133612        }
    3614 #else
    3615         pc3DAsymLUT->setCuboidVertexResTree( yIdx + l , uIdx , vIdx , nVertexIdx , deltaY , deltaU , deltaV );
    3616 #endif
    36173613      }
    36183614#if R0164_CGS_LUT_BUGFIX_CHECK
     
    36203616#endif
    36213617    }
    3622 #if R0164_CGS_LUT_BUGFIX
    3623     for ( Int u=0 ; u<nLength ; u++ ) {
    3624       for ( Int v=0 ; v<nLength ; v++ ) {
    3625         if ( u!=0 || v!=0 ) {
    3626           for ( Int y=0 ; y<nLength*nYPartNum ; y++ ) {
     3618
     3619    for( Int u=0; u<nLength; u++ )
     3620    {
     3621      for( Int v=0; v<nLength; v++ )
     3622      {
     3623        if( u!=0 || v!=0 )
     3624        {
     3625          for( Int y=0 ; y<nLength*nYPartNum ; y++ )
     3626          {
    36273627            for( Int nVertexIdx = 0 ; nVertexIdx < 4 ; nVertexIdx++ )
    36283628            {
     
    36363636      }
    36373637    }
    3638 #endif
    36393638  }
    36403639}
Note: See TracChangeset for help on using the changeset viewer.