Changeset 1392 in SHVCSoftware


Ignore:
Timestamp:
4 Aug 2015, 03:15:59 (9 years ago)
Author:
seregin
Message:

port rev 4530

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/WeightPredAnalysis.cpp

    r1335 r1392  
    300300        // Weighting factor limitation
    301301        const Int defaultWeight = (1<<log2Denom);
    302         const Int deltaWeight   = (defaultWeight - weight);
     302        const Int deltaWeight   = (weight - defaultWeight);
    303303
    304304        if(deltaWeight >= range || deltaWeight < -range)
Note: See TracChangeset for help on using the changeset viewer.