Changeset 475 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibCommon/TComSlice.h
- Timestamp:
- 15 Nov 2013, 14:55:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibCommon/TComSlice.h
r466 r475 436 436 class RepFormat 437 437 { 438 #if AUXILIARY_PICTURES 439 ChromaFormat m_chromaFormatVpsIdc; 440 #else 438 441 Int m_chromaFormatVpsIdc; 442 #endif 439 443 Bool m_separateColourPlaneVpsFlag; 440 444 Int m_picWidthVpsInLumaSamples; … … 446 450 RepFormat(); 447 451 452 #if AUXILIARY_PICTURES 453 ChromaFormat getChromaFormatVpsIdc() { return m_chromaFormatVpsIdc; } 454 Void setChromaFormatVpsIdc(ChromaFormat x) { m_chromaFormatVpsIdc = x; } 455 #else 448 456 Int getChromaFormatVpsIdc() { return m_chromaFormatVpsIdc; } 449 457 Void setChromaFormatVpsIdc(Int x) { m_chromaFormatVpsIdc = x; } 458 #endif 450 459 451 460 Bool getSeparateColourPlaneVpsFlag() { return m_separateColourPlaneVpsFlag; } … … 1072 1081 Int m_SPSId; 1073 1082 Int m_VPSId; 1083 #if AUXILIARY_PICTURES 1084 ChromaFormat m_chromaFormatIdc; 1085 #else 1074 1086 Int m_chromaFormatIdc; 1087 #endif 1075 1088 1076 1089 UInt m_uiMaxTLayers; // maximum number of temporal layers … … 1182 1195 Int getSPSId () { return m_SPSId; } 1183 1196 Void setSPSId (Int i) { m_SPSId = i; } 1197 #if AUXILIARY_PICTURES 1198 ChromaFormat getChromaFormatIdc () { return m_chromaFormatIdc; } 1199 #else 1184 1200 Int getChromaFormatIdc () { return m_chromaFormatIdc; } 1185 Void setChromaFormatIdc (Int i) { m_chromaFormatIdc = i; } 1186 1201 #endif 1202 Void setChromaFormatIdc (ChromaFormat i) { m_chromaFormatIdc = i; } 1203 1204 #if AUXILIARY_PICTURES 1205 static Int getWinUnitX (Int chromaFormatIdc) { assert (chromaFormatIdc >= 0 && chromaFormatIdc <= MAX_CHROMA_FORMAT_IDC); return m_winUnitX[chromaFormatIdc]; } 1206 static Int getWinUnitY (Int chromaFormatIdc) { assert (chromaFormatIdc >= 0 && chromaFormatIdc <= MAX_CHROMA_FORMAT_IDC); return m_winUnitY[chromaFormatIdc]; } 1207 #else 1187 1208 static Int getWinUnitX (Int chromaFormatIdc) { assert (chromaFormatIdc > 0 && chromaFormatIdc <= MAX_CHROMA_FORMAT_IDC); return m_winUnitX[chromaFormatIdc]; } 1188 1209 static Int getWinUnitY (Int chromaFormatIdc) { assert (chromaFormatIdc > 0 && chromaFormatIdc <= MAX_CHROMA_FORMAT_IDC); return m_winUnitY[chromaFormatIdc]; } 1210 #endif 1189 1211 1190 1212 // structure … … 2069 2091 UInt getPicWidthInLumaSamples(); 2070 2092 UInt getPicHeightInLumaSamples(); 2093 #if AUXILIARY_PICTURES 2094 ChromaFormat getChromaFormatIdc(); 2095 #else 2071 2096 UInt getChromaFormatIdc(); 2097 #endif 2072 2098 UInt getBitDepthY(); 2073 2099 UInt getBitDepthC();
Note: See TracChangeset for help on using the changeset viewer.