diff --git a/source/Lib/AppEncHelper360/TExt360AppEncCfg.cpp b/source/Lib/AppEncHelper360/TExt360AppEncCfg.cpp
index dd3f29c1..7c7b8ec2 100644
a
|
b
|
Void TExt360AppEncCfg::processOptions(TExt360AppEncCfg::TExt360AppEncCfgContext |
644 | 644 | |
645 | 645 | if(!m_faceSizeAlignment) |
646 | 646 | { |
647 | | m_faceSizeAlignment = (Int)(m_cfg.m_uiMaxCUHeight >> (m_cfg.m_uiMaxCUDepth - 1)); |
| 647 | const int maxDepth = floorLog2(m_cfg.m_uiMaxCUWidth) - m_cfg.m_log2MinCuSize; |
| 648 | m_faceSizeAlignment = (Int)(m_cfg.m_uiMaxCUHeight >> (maxDepth - 1)); |
648 | 649 | } |
649 | 650 | //calculate the width/height for encoding based on frame packing information; |
650 | 651 | xCalcOutputResolution(m_sourceSVideoInfo, m_codingSVideoInfo, m_cfg.m_iSourceWidth, m_cfg.m_iSourceHeight, m_faceSizeAlignment); |
… |
… |
Void TExt360AppEncCfg::setMaxCUInfo(UInt uiCTUSize, UInt minCuSize) |
2581 | 2582 | { |
2582 | 2583 | uiMaxCUDepth++; |
2583 | 2584 | } |
2584 | | m_cfg.m_uiMaxCUDepth = uiMaxCUDepth; |
| 2585 | // m_cfg.m_uiMaxCUDepth = uiMaxCUDepth; |
2585 | 2586 | } |
| 2587 | No newline at end of file |