- Timestamp:
- 20 Jun 2016, 17:31:56 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1562 r1563 3188 3188 Bool& m_CUTransquantBypassFlagForce = m_apcLayerCfg[layerIdx]->m_CUTransquantBypassFlagForce; 3189 3189 #endif 3190 3191 #if U0132_TARGET_BITS_SATURATION 3192 Int& m_RCTargetBitrate = m_apcLayerCfg[layerIdx]->m_RCTargetBitrate; 3193 #endif 3190 3194 #else 3191 3195 Void TAppEncCfg::xCheckParameter() … … 4060 4064 xConfirmPara( m_RCCpbSaturationEnabled != 0, "Target bits saturation cannot be processed without Rate control" ); 4061 4065 } 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 } 4062 4075 #endif 4063 4076 -
branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp
r1549 r1563 1042 1042 Int calcScale(Int x) 1043 1043 { 1044 if (x==0) 1045 { 1046 return 0; 1047 } 1044 1048 UInt iMask = 0xffffffff; 1045 1049 Int ScaleValue = 32;
Note: See TracChangeset for help on using the changeset viewer.