Changeset 1081 in SHVCSoftware for branches/SHM-dev/source
- Timestamp:
- 25 Mar 2015, 06:14:32 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1068 r1081 1565 1565 { 1566 1566 UInt layerId = vps->getLayerIdInNuh(layerCtr); 1567 Int numDirectRefLayers = 0; 1568 1567 1569 vps->setNumDirectRefLayers(layerId, m_acTEncTop[layerCtr].getNumDirectRefLayers()); 1568 1570 maxDirectRefLayers = max<UInt>(maxDirectRefLayers, vps->getNumDirectRefLayers(layerId)); … … 1588 1590 if (vps->getDirectDependencyFlag(layerCtr, refLayerCtr)) 1589 1591 { 1590 assert(m_acTEncTop[layerCtr].getSamplePredEnabledFlag( refLayerCtr) || m_acTEncTop[layerCtr].getMotionPredEnabledFlag(refLayerCtr));1591 vps->setDirectDependencyType(layerCtr, refLayerCtr, ((m_acTEncTop[layerCtr].getSamplePredEnabledFlag( refLayerCtr) ? 1 : 0) |1592 (m_acTEncTop[layerCtr].getMotionPredEnabledFlag( refLayerCtr) ? 2 : 0)) - 1);1592 assert(m_acTEncTop[layerCtr].getSamplePredEnabledFlag(numDirectRefLayers) || m_acTEncTop[layerCtr].getMotionPredEnabledFlag(numDirectRefLayers)); 1593 vps->setDirectDependencyType(layerCtr, refLayerCtr, ((m_acTEncTop[layerCtr].getSamplePredEnabledFlag(numDirectRefLayers) ? 1 : 0) | 1594 (m_acTEncTop[layerCtr].getMotionPredEnabledFlag(numDirectRefLayers) ? 2 : 0)) - 1); 1593 1595 #if O0096_DEFAULT_DEPENDENCY_TYPE 1594 1596 if (!isDefaultDirectDependencyTypeSet) … … 1603 1605 } 1604 1606 #endif 1607 numDirectRefLayers ++; 1605 1608 } 1606 1609 else
Note: See TracChangeset for help on using the changeset viewer.