Changeset 748 in 3DVCSoftware for branches/HTM-9.1-dev0-ZTE/source/Lib/TLibCommon/TComSlice.h
- Timestamp:
- 18 Dec 2013, 09:00:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.1-dev0-ZTE/source/Lib/TLibCommon/TComSlice.h
r738 r748 849 849 #endif 850 850 Bool m_vpsDepthModesFlag [MAX_NUM_LAYERS ]; 851 851 852 #if H_3D_DIM_DLT 853 #if !DLT_DIFF_CODING_IN_PPS 852 854 Bool m_bUseDLTFlag [MAX_NUM_LAYERS ]; 853 855 … … 857 859 Int* m_iIdx2DepthValue [MAX_NUM_LAYERS ]; 858 860 #endif 861 #endif 862 859 863 #if H_3D 860 864 Bool m_ivMvScalingFlag; … … 1157 1161 Void setVpsDepthModesFlag( Int layerIdInVps, Bool val ) { m_vpsDepthModesFlag[ layerIdInVps ] = val; } 1158 1162 Bool getVpsDepthModesFlag( Int layerIdInVps ) { return m_vpsDepthModesFlag[ layerIdInVps ]; } 1163 1159 1164 #if H_3D_DIM_DLT 1165 #if !DLT_DIFF_CODING_IN_PPS 1160 1166 Bool getUseDLTFlag ( Int layerIdInVps ) { return m_bUseDLTFlag[ layerIdInVps ]; } 1161 1167 Void setUseDLTFlag ( Int layerIdInVps, Bool b ) { m_bUseDLTFlag[ layerIdInVps ] = b; } … … 1167 1173 Void setDepthLUTs( Int layerIdInVps, Int* idx2DepthValue = NULL, Int iNumDepthValues = 0 ); 1168 1174 #endif 1175 #endif 1169 1176 1170 1177 Bool getIvMvScalingFlag ( ) { return m_ivMvScalingFlag; } … … 1181 1188 #endif 1182 1189 }; 1190 1191 #if DLT_DIFF_CODING_IN_PPS 1192 class TComDLT 1193 { 1194 private: 1195 Bool m_bDltPresentFlag; 1196 Bool m_bUseDLTFlag [ MAX_NUM_LAYERS ]; 1197 Bool m_bInterViewDltPredEnableFlag[ MAX_NUM_LAYERS ]; 1198 1199 Int m_iBitsPerDepthValue [ MAX_NUM_LAYERS ]; 1200 Int m_iNumDepthmapValues [ MAX_NUM_LAYERS ]; 1201 Int* m_iDepthValue2Idx [ MAX_NUM_LAYERS ]; 1202 Int* m_iIdx2DepthValue [ MAX_NUM_LAYERS ]; 1203 1204 Int m_iNumDepthViews; 1205 UInt m_uiDepthViewBitDepth; 1206 1207 public: 1208 TComDLT(); 1209 ~TComDLT(); 1210 1211 Bool getDltPresentFlag () { return m_bDltPresentFlag; } 1212 Void setDltPresentFlag ( Bool b ) { m_bDltPresentFlag = b; } 1213 1214 Bool getUseDLTFlag ( Int layerIdInVps ) { return m_bUseDLTFlag[ layerIdInVps ]; } 1215 Void setUseDLTFlag ( Int layerIdInVps, Bool b ) { m_bUseDLTFlag[ layerIdInVps ] = b; } 1216 1217 Bool getInterViewDltPredEnableFlag( Int layerIdInVps ) { return m_bInterViewDltPredEnableFlag[ layerIdInVps ]; } 1218 Void setInterViewDltPredEnableFlag( Int layerIdInVps, Bool b ) { m_bInterViewDltPredEnableFlag[ layerIdInVps ] = b; } 1219 1220 1221 Void setNumDepthViews ( Int n ) { m_iNumDepthViews = n; } 1222 Int getNumDepthViews () { return m_iNumDepthViews; } 1223 1224 Void setDepthViewBitDepth( UInt n ) { m_uiDepthViewBitDepth = n; } 1225 UInt getDepthViewBitDepth() { return m_uiDepthViewBitDepth; } 1226 1227 Int getBitsPerDepthValue( Int layerIdInVps ) { return getUseDLTFlag(layerIdInVps)?m_iBitsPerDepthValue[layerIdInVps]:g_bitDepthY; } 1228 Int getNumDepthValues( Int layerIdInVps ) { return getUseDLTFlag(layerIdInVps)?m_iNumDepthmapValues[layerIdInVps]:((1 << g_bitDepthY)-1); } 1229 Int depthValue2idx( Int layerIdInVps, Pel value ) { return getUseDLTFlag(layerIdInVps)?m_iDepthValue2Idx[layerIdInVps][value]:value; } 1230 Pel idx2DepthValue( Int layerIdInVps, UInt uiIdx ) { return getUseDLTFlag(layerIdInVps)?m_iIdx2DepthValue[layerIdInVps][uiIdx]:uiIdx; } 1231 Void setDepthLUTs( Int layerIdInVps, Int* idx2DepthValue = NULL, Int iNumDepthValues = 0 ); 1232 }; 1233 #endif 1183 1234 1184 1235 class Window … … 1840 1891 Int m_ppsScalingListRefLayerId; 1841 1892 #endif 1893 1894 #if DLT_DIFF_CODING_IN_PPS 1895 TComDLT* m_pcDLT; 1896 #endif 1897 1842 1898 public: 1843 1899 TComPPS(); … … 1864 1920 Void setMinCuDQPSize ( UInt u ) { m_uiMinCuDQPSize = u; } 1865 1921 UInt getMinCuDQPSize () { return m_uiMinCuDQPSize; } 1922 1923 #if DLT_DIFF_CODING_IN_PPS 1924 Void setDLT ( TComDLT* pcDLT ) { m_pcDLT = pcDLT; } 1925 TComDLT* getDLT () { return m_pcDLT; } 1926 #endif 1866 1927 1867 1928 Void setChromaCbQpOffset( Int i ) { m_chromaCbQpOffset = i; }
Note: See TracChangeset for help on using the changeset viewer.