Changeset 1036 in 3DVCSoftware


Ignore:
Timestamp:
31 Jul 2014, 16:40:45 (10 years ago)
Author:
tech
Message:

Fix ticket #71 IC parameters is meaningless in HTM when no training samples are available

Location:
branches/HTM-11.2-dev0/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.2-dev0/source/Lib/TLibCommon/TComPrediction.cpp

    r1030 r1036  
    24292429  }
    24302430
     2431#if FIX_TICKET_71
     2432  if( iCountShift == 0 )
     2433  {
     2434    a = ( 1 << IC_CONST_SHIFT );
     2435    b = 0;
     2436    return;
     2437  }
     2438#endif
     2439
    24312440  xy += xx >> IC_REG_COST_SHIFT;
    24322441  xx += xx >> IC_REG_COST_SHIFT;
  • branches/HTM-11.2-dev0/source/Lib/TLibCommon/TypeDef.h

    r1035 r1036  
    284284
    285285// Fixes
     286#define FIX_TICKET_71                     1    // IC parameters is meaningless in HTM when no training samples are available
    286287#define FIX_TICKET_77                     1    // Unused variable m_iBitsPerDepthValue
    287288#define FIX_TICKET_76                     1    // unused functions
Note: See TracChangeset for help on using the changeset viewer.