Ignore:
Timestamp:
11 Dec 2015, 00:05:48 (8 years ago)
Author:
seregin
Message:

infer parameters in SPS after activation, fixing chroma scaling for non 4:2:0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComPattern.cpp

    r1465 r1502  
    132132  const Int  iAboveUnits      = iTUWidthInUnits  << 1;
    133133  const Int  iLeftUnits       = iTUHeightInUnits << 1;
    134 #if SVC_EXTENSION
    135   const Int  bitDepthForChannel = pcCU->getSlice()->getBitDepth(chType);
    136 #else
    137134  const Int  bitDepthForChannel = sps.getBitDepth(chType);
    138 #endif
    139135
    140136  assert(iTUHeightInUnits > 0 && iTUWidthInUnits > 0);
Note: See TracChangeset for help on using the changeset viewer.