Changeset 1284 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 17 Jul 2015, 00:34:10 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h
r1273 r1284 212 212 Bool m_bUseConstrainedIntraPred; 213 213 Bool m_usePCM; 214 Int m_PCMBitDepth[MAX_NUM_CHANNEL_TYPE]; 214 215 UInt m_pcmLog2MaxSize; 215 216 UInt m_uiPCMLog2MinSize; … … 223 224 224 225 Bool m_bPCMInputBitDepthFlag; 225 UInt m_uiPCMBitDepthLuma;226 UInt m_uiPCMBitDepthChroma;227 226 Bool m_bPCMFilterDisableFlag; 228 227 Bool m_disableIntraReferenceSmoothing; … … 458 457 , m_colourRemapSEIFileRoot(NULL) 459 458 #endif 460 {} 459 { 460 m_PCMBitDepth[CHANNEL_TYPE_LUMA]=8; 461 m_PCMBitDepth[CHANNEL_TYPE_CHROMA]=8; 462 } 461 463 462 464 virtual ~TEncCfg() … … 614 616 Void setPCMFilterDisableFlag ( Bool b ) { m_bPCMFilterDisableFlag = b; } 615 617 Void setUsePCM ( Bool b ) { m_usePCM = b; } 618 Void setPCMBitDepth( const ChannelType chType, Int pcmBitDepthForChannel ) { m_PCMBitDepth[chType] = pcmBitDepthForChannel; } 616 619 Void setPCMLog2MaxSize ( UInt u ) { m_pcmLog2MaxSize = u; } 617 620 Void setPCMLog2MinSize ( UInt u ) { m_uiPCMLog2MinSize = u; } -
branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp
r1276 r1284 901 901 902 902 m_cSPS.setMaxTrSize ( 1 << m_uiQuadtreeTULog2MaxSize ); 903 903 904 904 m_cSPS.setUseAMP ( m_useAMP ); 905 905 … … 913 913 m_cSPS.setQpBDOffset (ChannelType(channelType), (6 * (g_bitDepth[channelType] - 8))); 914 914 #endif 915 m_cSPS.setPCMBitDepth (ChannelType(channelType), g_PCMBitDepth[channelType] );915 m_cSPS.setPCMBitDepth (ChannelType(channelType), m_PCMBitDepth[channelType] ); 916 916 } 917 917
Note: See TracChangeset for help on using the changeset viewer.