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


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/TLibDecoder/TDecCAVLC.cpp

    r615 r617  
    15461546#if P0307_VPS_NON_VUI_EXTENSION
    15471547  READ_UVLC( uiCode,           "vps_non_vui_extension_length"); vps->setVpsNonVuiExtLength((Int)uiCode);
     1548#if P0307_VPS_NON_VUI_EXT_UPDATE
     1549  if (uiCode > 0)
     1550  {
     1551    Int nonVuiExtBits = uiCode * 8;
     1552    for (i = 0; i < nonVuiExtBits; i++)
     1553    {
     1554      READ_FLAG(uiCode, "vps_non_vui_extension_data_bit" ); //just parse and discard for now.
     1555    }
     1556  }
     1557#else
    15481558  if ( vps->getVpsNonVuiExtLength() > 0 )
    15491559  {
    15501560    printf("\n\nUp to the current spec, the value of vps_non_vui_extension_length is supposed to be 0\n");
    15511561  }
     1562#endif
    15521563#endif
    15531564
Note: See TracChangeset for help on using the changeset viewer.