Changeset 797 in SHVCSoftware


Ignore:
Timestamp:
6 Jun 2014, 21:17:27 (11 years ago)
Author:
seregin
Message:

remove SCALABILITY_MASK_E0104

Location:
branches/SHM-6-dev/source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r779 r797  
    575575#endif
    576576  ("ConformanceMode%d",       cfg_conformanceMode,0, MAX_LAYERS, "Window conformance mode (0: no cropping, 1:automatic padding, 2: padding, 3:cropping")
    577 #if SCALABILITY_MASK_E0104
    578577  ("ScalabilityMask1",        m_scalabilityMask[1], 0, "scalability_mask[1] (multiview)")
    579578  ("ScalabilityMask2",        m_scalabilityMask[2], 1, "scalability_mask[2] (scalable)" )
    580579#if AUXILIARY_PICTURES
    581580  ("ScalabilityMask3",        m_scalabilityMask[3], 0, "scalability_mask[3] (auxiliary pictures)" )
    582 #endif
    583 #else
    584   ("ScalabilityMask0",        m_scalabilityMask[0], 0, "scalability_mask[0] (multiview)")
    585   ("ScalabilityMask1",        m_scalabilityMask[1], 1, "scalability_mask[1] (scalable)" )
    586581#endif
    587582  ("BitstreamFile,b",         cfg_BitstreamFile, string(""), "Bitstream output file name")
     
    25142509#if SVC_EXTENSION 
    25152510  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] );
    25192513#if AVC_BASE
    25202514  printf("Base layer                    : %s\n", m_avcBaseLayerFlag ? "AVC" : "HEVC");
    25212515#endif
    25222516#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] );
    25282518#endif
    25292519#if M0040_ADAPTIVE_RESOLUTION_CHANGE
  • branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.cpp

    r796 r797  
    512512    }
    513513#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 ) )
    519515    {
    520516      Int numResampler = 0;
  • branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h

    r796 r797  
    113113#define SCALINGLIST_INFERRING            1      ///< JCTVC-N0371: inter-layer scaling list
    114114#define O0142_CONDITIONAL_SPS_EXTENSION  1      ///< JCTVC-O0142: Conditional SPS extension
    115 #define SCALABILITY_MASK_E0104           1      ///< JCT3V-E0104: scalability mask for depth
    116115#if POC_RESET_FLAG
    117116#define PREVTID0_POC_RESET               1      ///< JCTVC-O0117 Modification of the PicOrderCntVal of prevTid0Pic
     
    221220#define Q0189_TMVP_CONSTRAINTS           1
    222221#define Q0247_FRAME_FIELD_INFO           1
    223 #if VIEW_ID_RELATED_SIGNALING
     222
    224223/// scalability types
    225224enum ScalabilityType
    226225{
    227226  VIEW_ORDER_INDEX  = 1,
    228   SCALABILITY_ID = 2,
    229 };
    230 #endif
     227  SCALABILITY_ID    = 2,
     228  AUX_ID            = 3,
     229};
    231230
    232231/// normative encoder constraints --------
  • branches/SHM-6-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r790 r797  
    413413
    414414          //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 );
    420416        }
    421417      }
  • branches/SHM-6-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r795 r797  
    810810
    811811            //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 );
    817813          }
    818814        }
     
    874870
    875871            //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 );
    881873          }
    882874        }
Note: See TracChangeset for help on using the changeset viewer.