Changeset 1165 in SHVCSoftware


Ignore:
Timestamp:
8 Jul 2015, 01:08:07 (9 years ago)
Author:
seregin
Message:

macro cleanup: P0307_VPS_NON_VUI_EXT_UPDATE

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

Legend:

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

    r1164 r1165  
    7272
    7373#define P0130_EOB                        1      ///< JCTVC-P0130, set layer Id of EOB NALU to be fixed to 0
    74 #define P0307_VPS_NON_VUI_EXT_UPDATE     1      ///< JCTVC-P0307, implementation related to NON VUI VPS Extension signalling
    7574
    7675#define DISCARDABLE_PIC_RPS              1      ///< JCTVC-P0130: Inter-layer RPS and temporal RPS should not contain picture with discardable_flag equal to 1
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1164 r1165  
    31513151  assert( vps->getVpsNonVuiExtLength() >= 0 && vps->getVpsNonVuiExtLength() <= 4096 );
    31523152
    3153 #if P0307_VPS_NON_VUI_EXT_UPDATE
    31543153  Int nonVuiExtByte = uiCode;
    31553154  for (i = 1; i <= nonVuiExtByte; i++)
     
    31573156    READ_CODE( 8, uiCode, "vps_non_vui_extension_data_byte" ); //just parse and discard for now.
    31583157  }
    3159 #else
    3160   if ( vps->getVpsNonVuiExtLength() > 0 )
    3161   {
    3162     printf("\n\nUp to the current spec, the value of vps_non_vui_extension_length is supposed to be 0\n");
    3163   }
    3164 #endif
    31653158
    31663159  READ_FLAG( uiCode, "vps_vui_present_flag"); vps->setVpsVuiPresentFlag(uiCode ? true : false);
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1164 r1165  
    22892289
    22902290  WRITE_UVLC( vps->getVpsNonVuiExtLength(), "vps_non_vui_extension_length" );
    2291 #if P0307_VPS_NON_VUI_EXT_UPDATE
    2292   for (i = 1; i <= vps->getVpsNonVuiExtLength(); i++)
     2291
     2292  for( i = 1; i <= vps->getVpsNonVuiExtLength(); i++ )
    22932293  {
    22942294    WRITE_CODE(1, 8, "vps_non_vui_extension_data_byte");
    22952295  }
    2296 #else
    2297   if ( vps->getVpsNonVuiExtLength() > 0 )
    2298   {
    2299     printf("\n\nUp to the current spec, the value of vps_non_vui_extension_length is supposed to be 0\n");
    2300   }
    2301 #endif
    23022296
    23032297  vps->setVpsVuiPresentFlag(true);
Note: See TracChangeset for help on using the changeset viewer.