Changeset 1563 in SHVCSoftware for branches/SHM-dev/source/App


Ignore:
Timestamp:
20 Jun 2016, 17:31:56 (9 years ago)
Author:
seregin
Message:

port rev 4738

File:
1 edited

Legend:

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

    r1562 r1563  
    31883188  Bool& m_CUTransquantBypassFlagForce         = m_apcLayerCfg[layerIdx]->m_CUTransquantBypassFlagForce;
    31893189#endif
     3190
     3191#if U0132_TARGET_BITS_SATURATION
     3192  Int& m_RCTargetBitrate                      = m_apcLayerCfg[layerIdx]->m_RCTargetBitrate;
     3193#endif
    31903194#else
    31913195Void TAppEncCfg::xCheckParameter()
     
    40604064    xConfirmPara( m_RCCpbSaturationEnabled != 0, "Target bits saturation cannot be processed without Rate control" );
    40614065  }
     4066  if (m_vuiParametersPresentFlag)
     4067  {
     4068    xConfirmPara(m_RCTargetBitrate == 0, "A target bit rate is required to be set for VUI/HRD parameters.");
     4069    if (m_RCCpbSize == 0)
     4070    {
     4071      printf ("Warning: CPB size is set equal to zero. Adjusting value to be equal to TargetBitrate!\n");
     4072      m_RCCpbSize = m_RCTargetBitrate;
     4073    }
     4074  }
    40624075#endif
    40634076 
Note: See TracChangeset for help on using the changeset viewer.