Changeset 556 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
25 Jan 2014, 04:36:18 (11 years ago)
Author:
qualcomm
Message:

JCTVC-P0307. Removal of VPS VUI Offset and addition of new syntax element vps_non_vui_extension_length.

Macro: P0307_REMOVE_VPS_VUI_OFFSET and P0307_VPS_NON_VUI_EXTENSION
provided by Hendry <fhendry@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r552 r556  
    995995  READ_FLAG( uiCode, "avc_base_layer_flag" ); vps->setAvcBaseLayerFlag(uiCode ? true : false);
    996996
     997#if !P0307_REMOVE_VPS_VUI_OFFSET
    997998#if O0109_MOVE_VPS_VUI_FLAG
    998999  READ_FLAG( uiCode, "vps_vui_present_flag"); vps->setVpsVuiPresentFlag(uiCode ? true : false);
     
    10051006#if O0109_MOVE_VPS_VUI_FLAG
    10061007  }
     1008#endif
    10071009#endif
    10081010  READ_FLAG( uiCode, "splitting_flag" ); vps->setSplittingFlag(uiCode ? true : false);
     
    14751477#endif
    14761478
     1479#if P0307_VPS_NON_VUI_EXTENSION
     1480  READ_UVLC( uiCode,           "vps_non_vui_extension_length"); vps->setVpsNonVuiExtLength((Int)uiCode);
     1481  if ( vps->getVpsNonVuiExtLength() > 0 )
     1482  {
     1483    printf("\n\nUp to the current spec, the value of vps_non_vui_extension_length is supposed to be 0\n");
     1484  }
     1485#endif
     1486
    14771487#if !O0109_O0199_FLAGS_TO_VUI
    14781488#if M0040_ADAPTIVE_RESOLUTION_CHANGE
     
    14821492  READ_FLAG(uiCode, "higher_layer_irap_skip_flag" ); vps->setHigherLayerIrapSkipFlag(uiCode == 1 ? true : false);
    14831493#endif
     1494#endif
     1495
     1496#if P0307_REMOVE_VPS_VUI_OFFSET
     1497  READ_FLAG( uiCode, "vps_vui_present_flag"); vps->setVpsVuiPresentFlag(uiCode ? true : false);
    14841498#endif
    14851499
Note: See TracChangeset for help on using the changeset viewer.