Changeset 617 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
19 Feb 2014, 20:08:44 (11 years ago)
Author:
qualcomm
Message:

P0307_VPS_NON_VUI_EXT_UPDATE\

Update implementation for parsing vps_non_vui_extension_data_bit.
Decoder should allow the vps_non_vui_extension_length to be greater than 0 and read the vps_non_vui_extension_data_bit and then discard it.

Submitted by Hendry (fhendry@…)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r615 r617  
    11561156#if P0307_VPS_NON_VUI_EXTENSION
    11571157  WRITE_UVLC( vps->getVpsNonVuiExtLength(), "vps_non_vui_extension_length" );
     1158#if P0307_VPS_NON_VUI_EXT_UPDATE
     1159  if (vps->getVpsNonVuiExtLength() > 0)
     1160  {
     1161    Int nonVuiExtBits = vps->getVpsNonVuiExtLength() * 8;
     1162    for (i = 0; i < nonVuiExtBits; i++)
     1163    {
     1164      WRITE_FLAG(1, "vps_non_vui_extension_data_bit"); //just parse and discard for now.
     1165    }
     1166  }
     1167#else
    11581168  if ( vps->getVpsNonVuiExtLength() > 0 )
    11591169  {
    11601170    printf("\n\nUp to the current spec, the value of vps_non_vui_extension_length is supposed to be 0\n");
    11611171  }
     1172#endif
    11621173#endif
    11631174
Note: See TracChangeset for help on using the changeset viewer.