Changeset 1115 in SHVCSoftware for branches


Ignore:
Timestamp:
7 Jul 2015, 01:10:52 (9 years ago)
Author:
seregin
Message:

macro cleanup: O0109_O0199_FLAGS_TO_VUI

Location:
branches/SHM-dev/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1114 r1115  
    8989#define ALIGNED_BUMPING                  1      ///< JCTVC-P0192: Align bumping of pictures in an AU
    9090#define FIX_ALIGN_BUMPING                1
    91 #define O0109_O0199_FLAGS_TO_VUI         1      ///< JCTVC-O0109, O0199: move single_layer_for_non_irap_flag and higher_layer_flag to vps_vui
    9291#define O0109_VIEW_ID_LEN                1      ///< JCTVC-O0109: view_id_len_minus1 to view_id_len, and add constraint (1<<view_id_len) is greater than or equal to NumViews
    9392
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1114 r1115  
    34473447#endif
    34483448
    3449 #if !O0109_O0199_FLAGS_TO_VUI
    3450 #if M0040_ADAPTIVE_RESOLUTION_CHANGE
    3451   READ_FLAG(uiCode, "single_layer_for_non_irap_flag" ); vps->setSingleLayerForNonIrapFlag(uiCode == 1 ? true : false);
    3452 #endif
    3453 #if HIGHER_LAYER_IRAP_SKIP_FLAG
    3454   READ_FLAG(uiCode, "higher_layer_irap_skip_flag" ); vps->setHigherLayerIrapSkipFlag(uiCode == 1 ? true : false);
    3455 #endif
    3456 #endif
    3457 
    34583449  READ_FLAG( uiCode, "vps_vui_present_flag"); vps->setVpsVuiPresentFlag(uiCode ? true : false);
    34593450
     
    39723963#endif
    39733964
    3974 #if O0109_O0199_FLAGS_TO_VUI
    39753965#if M0040_ADAPTIVE_RESOLUTION_CHANGE
    39763966  READ_FLAG(uiCode, "single_layer_for_non_irap_flag" ); vps->setSingleLayerForNonIrapFlag(uiCode == 1 ? true : false);
     
    39843974    assert( !vps->getHigherLayerIrapSkipFlag() );
    39853975  }
    3986 #endif
    39873976#endif
    39883977#if N0160_VUI_EXT_ILP_REF
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1114 r1115  
    24202420#endif
    24212421
    2422 #if !O0109_O0199_FLAGS_TO_VUI
    2423 #if M0040_ADAPTIVE_RESOLUTION_CHANGE
    2424   WRITE_FLAG(vps->getSingleLayerForNonIrapFlag(), "single_layer_for_non_irap_flag" );
    2425 #endif
    2426 #if HIGHER_LAYER_IRAP_SKIP_FLAG
    2427   WRITE_FLAG(vps->getHigherLayerIrapSkipFlag(), "higher_layer_irap_skip_flag" );
    2428 #endif
    2429 #endif
    2430 
    24312422#if P0307_VPS_NON_VUI_EXTENSION
    24322423  // The value of vps_non_vui_extension_length shall be in the range of 0 to 4096, inclusive.
     
    27432734#endif
    27442735
    2745 #if O0109_O0199_FLAGS_TO_VUI
    27462736#if M0040_ADAPTIVE_RESOLUTION_CHANGE
    27472737  WRITE_FLAG(vps->getSingleLayerForNonIrapFlag(), "single_layer_for_non_irap_flag" );
     
    27552745
    27562746  WRITE_FLAG(vps->getHigherLayerIrapSkipFlag(), "higher_layer_irap_skip_flag" );
    2757 #endif
    27582747#endif
    27592748#if N0160_VUI_EXT_ILP_REF
Note: See TracChangeset for help on using the changeset viewer.