Changeset 797 in SHVCSoftware
- Timestamp:
- 6 Jun 2014, 21:17:27 (11 years ago)
- Location:
- branches/SHM-6-dev/source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r779 r797 575 575 #endif 576 576 ("ConformanceMode%d", cfg_conformanceMode,0, MAX_LAYERS, "Window conformance mode (0: no cropping, 1:automatic padding, 2: padding, 3:cropping") 577 #if SCALABILITY_MASK_E0104578 577 ("ScalabilityMask1", m_scalabilityMask[1], 0, "scalability_mask[1] (multiview)") 579 578 ("ScalabilityMask2", m_scalabilityMask[2], 1, "scalability_mask[2] (scalable)" ) 580 579 #if AUXILIARY_PICTURES 581 580 ("ScalabilityMask3", m_scalabilityMask[3], 0, "scalability_mask[3] (auxiliary pictures)" ) 582 #endif583 #else584 ("ScalabilityMask0", m_scalabilityMask[0], 0, "scalability_mask[0] (multiview)")585 ("ScalabilityMask1", m_scalabilityMask[1], 1, "scalability_mask[1] (scalable)" )586 581 #endif 587 582 ("BitstreamFile,b", cfg_BitstreamFile, string(""), "Bitstream output file name") … … 2514 2509 #if SVC_EXTENSION 2515 2510 printf("Total number of layers : %d\n", m_numLayers ); 2516 #if SCALABILITY_MASK_E0104 2517 printf("Multiview : %d\n", m_scalabilityMask[1] ); 2518 printf("Scalable : %d\n", m_scalabilityMask[2] ); 2511 printf("Multiview : %d\n", m_scalabilityMask[VIEW_ORDER_INDEX] ); 2512 printf("Scalable : %d\n", m_scalabilityMask[SCALABILITY_ID] ); 2519 2513 #if AVC_BASE 2520 2514 printf("Base layer : %s\n", m_avcBaseLayerFlag ? "AVC" : "HEVC"); 2521 2515 #endif 2522 2516 #if AUXILIARY_PICTURES 2523 printf("Auxiliary pictures : %d\n", m_scalabilityMask[3] ); 2524 #endif 2525 #else 2526 printf("Multiview : %d\n", m_scalabilityMask[0] ); 2527 printf("Scalable : %d\n", m_scalabilityMask[1] ); 2517 printf("Auxiliary pictures : %d\n", m_scalabilityMask[AUX_ID] ); 2528 2518 #endif 2529 2519 #if M0040_ADAPTIVE_RESOLUTION_CHANGE -
branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.cpp
r796 r797 512 512 } 513 513 #if MAX_ONE_RESAMPLING_DIRECT_LAYERS 514 #if SCALABILITY_MASK_E0104 515 if( m_pcVPS->getScalabilityMask(2) ) 516 #else 517 if( m_pcVPS->getScalabilityMask(1) ) 518 #endif 514 if( m_pcVPS->getScalabilityMask( SCALABILITY_ID ) ) 519 515 { 520 516 Int numResampler = 0; -
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r796 r797 113 113 #define SCALINGLIST_INFERRING 1 ///< JCTVC-N0371: inter-layer scaling list 114 114 #define O0142_CONDITIONAL_SPS_EXTENSION 1 ///< JCTVC-O0142: Conditional SPS extension 115 #define SCALABILITY_MASK_E0104 1 ///< JCT3V-E0104: scalability mask for depth116 115 #if POC_RESET_FLAG 117 116 #define PREVTID0_POC_RESET 1 ///< JCTVC-O0117 Modification of the PicOrderCntVal of prevTid0Pic … … 221 220 #define Q0189_TMVP_CONSTRAINTS 1 222 221 #define Q0247_FRAME_FIELD_INFO 1 223 #if VIEW_ID_RELATED_SIGNALING 222 224 223 /// scalability types 225 224 enum ScalabilityType 226 225 { 227 226 VIEW_ORDER_INDEX = 1, 228 SCALABILITY_ID = 2,229 }; 230 #endif 227 SCALABILITY_ID = 2, 228 AUX_ID = 3, 229 }; 231 230 232 231 /// normative encoder constraints -------- -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecTop.cpp
r790 r797 413 413 414 414 //only for scalable extension 415 #if SCALABILITY_MASK_E0104 416 assert( pcSlice->getVPS()->getScalabilityMask(2) == true ); 417 #else 418 assert( pcSlice->getVPS()->getScalabilityMask(1) == true ); 419 #endif 415 assert( pcSlice->getVPS()->getScalabilityMask( SCALABILITY_ID ) == true ); 420 416 } 421 417 } -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncTop.cpp
r795 r797 810 810 811 811 //only for scalable extension 812 #if SCALABILITY_MASK_E0104 813 assert( m_cVPS.getScalabilityMask(2) == true ); 814 #else 815 assert( m_cVPS.getScalabilityMask(1) == true ); 816 #endif 812 assert( m_cVPS.getScalabilityMask( SCALABILITY_ID ) == true ); 817 813 } 818 814 } … … 874 870 875 871 //only for scalable extension 876 #if SCALABILITY_MASK_E0104 877 assert( m_cVPS.getScalabilityMask(2) == true ); 878 #else 879 assert( m_cVPS.getScalabilityMask(1) == true ); 880 #endif 872 assert( m_cVPS.getScalabilityMask( SCALABILITY_ID ) == true ); 881 873 } 882 874 }
Note: See TracChangeset for help on using the changeset viewer.