- Timestamp:
- 26 Sep 2013, 10:32:02 (11 years ago)
- Location:
- branches/SHM-3.1-dev/source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r402 r405 502 502 ("NumLayers", m_numLayers, 1, "Number of layers to code") 503 503 ("ConformanceMode%d", cfg_conformanceMode,0, MAX_LAYERS, "Window conformance mode (0: no cropping, 1:automatic padding, 2: padding, 3:cropping") 504 #if SCALABILITY_MASK_E0104 505 ("ScalabilityMask1", m_scalabilityMask[1], 0, "scalability_mask[1] (multiview)") 506 ("ScalabilityMask2", m_scalabilityMask[2], 1, "scalability_mask[2] (scalable)" ) 507 #else 504 508 ("ScalabilityMask0", m_scalabilityMask[0], 0, "scalability_mask[0] (multiview)") 505 509 ("ScalabilityMask1", m_scalabilityMask[1], 1, "scalability_mask[1] (scalable)" ) 510 #endif 506 511 ("BitstreamFile,b", cfg_BitstreamFile, string(""), "Bitstream output file name") 507 512 ("InputBitDepth", m_inputBitDepthY, 8, "Bit-depth of input file") … … 2147 2152 #if SVC_EXTENSION 2148 2153 printf("Total number of layers : %d\n", m_numLayers ); 2154 #if SCALABILITY_MASK_E0104 2155 printf("Multiview : %d\n", m_scalabilityMask[1] ); 2156 printf("Scalable : %d\n", m_scalabilityMask[2] ); 2157 #else 2149 2158 printf("Multiview : %d\n", m_scalabilityMask[0] ); 2150 2159 printf("Scalable : %d\n", m_scalabilityMask[1] ); 2160 #endif 2151 2161 #if M0040_ADAPTIVE_RESOLUTION_CHANGE 2152 2162 printf("Adaptive Resolution Change : %d\n", m_adaptiveResolutionChange ); -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComSlice.cpp
r399 r405 496 496 } 497 497 #if MAX_ONE_RESAMPLING_DIRECT_LAYERS 498 #if SCALABILITY_MASK_E0104 499 if( m_pcVPS->getScalabilityMask(2) ) 500 #else 498 501 if( m_pcVPS->getScalabilityMask(1) ) 502 #endif 499 503 { 500 504 Int numResampler = 0; -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TypeDef.h
r401 r405 40 40 41 41 #define SVC_EXTENSION 1 42 43 #define SCALABILITY_MASK_E0104 1 42 44 43 45 #define SYNTAX_BYTES 10 ///< number of bytes taken by syntaxes per 4x4 block [RefIdxL0(1byte), RefIdxL1(1byte), MVxL0(2bytes), MVyL0(2bytes), MVxL1(2bytes), MVyL1(2bytes)] -
branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r401 r405 306 306 307 307 //only for scalable extension 308 #if SCALABILITY_MASK_E0104 309 assert( pcSlice->getVPS()->getScalabilityMask(2) == true ); 310 #else 308 311 assert( pcSlice->getVPS()->getScalabilityMask(1) == true ); 312 #endif 309 313 } 310 314 #if MAX_ONE_RESAMPLING_DIRECT_LAYERS 315 #if SCALABILITY_MASK_E0104 316 if(pcSlice->getVPS()->getScalabilityMask(2)) 317 #else 311 318 if(pcSlice->getVPS()->getScalabilityMask(1)) 319 #endif 312 320 { 313 321 pcSlice->setPic(rpcPic); -
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncTop.cpp
r389 r405 520 520 521 521 //only for scalable extension 522 #if SCALABILITY_MASK_E0104 523 assert( m_cVPS.getScalabilityMask(2) == true ); 524 #else 522 525 assert( m_cVPS.getScalabilityMask(1) == true ); 526 #endif 523 527 } 524 528 } … … 557 561 558 562 //only for scalable extension 563 #if SCALABILITY_MASK_E0104 564 assert( m_cVPS.getScalabilityMask(2) == true ); 565 #else 559 566 assert( m_cVPS.getScalabilityMask(1) == true ); 567 #endif 560 568 } 561 569 }
Note: See TracChangeset for help on using the changeset viewer.