Changeset 1242 in SHVCSoftware


Ignore:
Timestamp:
13 Jul 2015, 22:32:53 (9 years ago)
Author:
seregin
Message:

port rev 4230

File:
1 edited

Legend:

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

    r1235 r1242  
    503503         * block position
    504504         */
    505         Int lgMinCuSize = pcSlice->getSPS()->getLog2MinCodingBlockSize();
     505        Int lgMinCuSize = pcSlice->getSPS()->getLog2MinCodingBlockSize() +
     506                          std::max<Int>(0, pcSlice->getSPS()->getLog2DiffMaxMinCodingBlockSize()-Int(pcSlice->getPPS()->getMaxCuChromaQpAdjDepth()));
    506507        m_ChromaQpAdjIdc = ((uiLPelX >> lgMinCuSize) + (uiTPelY >> lgMinCuSize)) % (pcSlice->getPPS()->getChromaQpAdjTableSize() + 1);
    507508      }
Note: See TracChangeset for help on using the changeset viewer.