Changeset 485 in SHVCSoftware for branches


Ignore:
Timestamp:
16 Nov 2013, 01:12:02 (11 years ago)
Author:
qualcomm
Message:

Removal of IRAP align dependency constraints on poc_Reset_flag and move IRAP align flag to VPS VUI (JCTVC-O0223 proposal 2,JCTVC-O0139 proposal 5)

Location:
branches/SHM-4.0-dev/source/Lib
Files:
4 edited

Legend:

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

    r484 r485  
    138138
    139139#define N0147_IRAP_ALIGN_FLAG            1      ///< a flag to indicatate whether IRAPs are aligned across layers
     140#if N0147_IRAP_ALIGN_FLAG
     141#define O0223_O0139_IRAP_ALIGN_NO_CONTRAINTS  1  ///< Remove IRAP align depedency constraints on poc_Reset_flag.
     142#define IRAP_ALIGN_FLAG_IN_VPS_VUI       1       ///< Move IRAP align flag to VPS VUI
     143#endif
    140144#if !N0147_IRAP_ALIGN_FLAG
    141145#define IDR_ALIGNMENT                    1      ///< align IDR picures across layers : As per JCTVC-N0373, IDR are not required to be aligned.
  • branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r484 r485  
    13001300#endif
    13011301
    1302 #if N0147_IRAP_ALIGN_FLAG
     1302#if N0147_IRAP_ALIGN_FLAG && !IRAP_ALIGN_FLAG_IN_VPS_VUI
    13031303  READ_FLAG(uiCode, "cross_layer_irap_aligned_flag" );
    13041304  vps->setCrossLayerIrapAlignFlag(uiCode);
     
    13751375  UInt i,j;
    13761376  UInt uiCode;
     1377#if IRAP_ALIGN_FLAG_IN_VPS_VUI
     1378  READ_FLAG(uiCode, "cross_layer_irap_aligned_flag" );
     1379  vps->setCrossLayerIrapAlignFlag(uiCode);
     1380#endif
    13771381#if VPS_VUI_BITRATE_PICRATE
    13781382  READ_FLAG( uiCode,        "bit_rate_present_vps_flag" );  vps->setBitRatePresentVpsFlag( uiCode ? true : false );
  • branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r484 r485  
    788788  // actual decoding starts here
    789789  xActivateParameterSets();
    790 #if 0 // N0147_IRAP_ALIGN_FLAG Disabled for now!
     790#if !O0223_O0139_IRAP_ALIGN_NO_CONTRAINTS
     791  //Note setting O0223_O0139_IRAP_ALIGN_NO_CONTRAINTS to 0 may cause decoder to crash.
    791792  //When cross_layer_irap_aligned_flag is equal to 0, num_extra_slice_header_bits >=1
    792793  if(!m_apcSlicePilot->getVPS()->getCrossLayerIrapAlignFlag() )
  • branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r484 r485  
    10221022  WRITE_FLAG(vps->getPhaseAlignFlag(), "cross_layer_phase_alignment_flag" );
    10231023#endif
    1024 #if N0147_IRAP_ALIGN_FLAG
     1024#if N0147_IRAP_ALIGN_FLAG && !IRAP_ALIGN_FLAG_IN_VPS_VUI
    10251025  WRITE_FLAG(vps->getCrossLayerIrapAlignFlag(), "cross_layer_irap_aligned_flag");
    10261026#endif
     
    10921092{
    10931093  Int i,j;
     1094#if IRAP_ALIGN_FLAG_IN_VPS_VUI
     1095      WRITE_FLAG(vps->getCrossLayerIrapAlignFlag(), "cross_layer_irap_aligned_flag");
     1096#endif
    10941097#if VPS_VUI_BITRATE_PICRATE
    10951098  WRITE_FLAG( vps->getBitRatePresentVpsFlag(),        "bit_rate_present_vps_flag" );
Note: See TracChangeset for help on using the changeset viewer.