Ignore:
Timestamp:
17 Jul 2015, 00:55:34 (9 years ago)
Author:
seregin
Message:

port rev 4320 (g_maxTrDynamicRange)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r1284 r1285  
    42804280  // compute actual CU depth with respect to config depth and max transform size
    42814281  g_uiAddCUDepth  = 0;
    4282   while( (m_acLayerCfg[layerId].m_uiMaxCUWidth>>m_acLayerCfg[layerId].m_uiMaxCUDepth) > ( 1 << ( m_acLayerCfg[layerId].m_uiQuadtreeTULog2MinSize + g_uiAddCUDepth )  ) ) g_uiAddCUDepth++;
     4282  while( (m_acLayerCfg[layerId].m_uiMaxCUWidth>>m_acLayerCfg[layerId].m_uiMaxCUDepth) > ( 1 << ( m_acLayerCfg[layerId].m_uiQuadtreeTULog2MinSize + g_uiAddCUDepth )  ) )
     4283  {
     4284    g_uiAddCUDepth++;
     4285  }
    42834286
    42844287  g_uiAddCUDepth+=getMaxCUDepthOffset(m_chromaFormatIDC, m_acLayerCfg[layerId].m_uiQuadtreeTULog2MinSize); // if minimum TU larger than 4x4, allow for additional part indices for 4:2:2 SubTUs.
     
    43134316    g_bitDepth   [channelType] = m_internalBitDepth[channelType];
    43144317#endif
    4315     g_maxTrDynamicRange[channelType] = m_useExtendedPrecision? std::max<Int>(15, (g_bitDepth[channelType] + 6)) : 15;
    4316   }
    4317 
     4318  }
    43184319}
    43194320#endif
Note: See TracChangeset for help on using the changeset viewer.