Changeset 618 in SHVCSoftware for branches/SHM-5.1-dev/source


Ignore:
Timestamp:
20 Feb 2014, 00:04:52 (11 years ago)
Author:
qualcomm
Message:

P0307_VPS_NON_VUI_EXT_UPDATE

vps_non_vui_extension_data_bit seems to be vps_non_vui_extension_data_byte.
HTM implementation also implemented it as byte instead of bit.

Implementation is updated accordingly.

Submitted by Hendry (fhendry@…)

Location:
branches/SHM-5.1-dev/source/Lib
Files:
2 edited

Legend:

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

    r617 r618  
    15471547  READ_UVLC( uiCode,           "vps_non_vui_extension_length"); vps->setVpsNonVuiExtLength((Int)uiCode);
    15481548#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     }
     1549  Int nonVuiExtByte = uiCode;
     1550  for (i = 1; i <= nonVuiExtByte; i++)
     1551  {
     1552    READ_CODE( 8, uiCode, "vps_non_vui_extension_data_byte" ); //just parse and discard for now.
    15561553  }
    15571554#else
  • branches/SHM-5.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r617 r618  
    11571157  WRITE_UVLC( vps->getVpsNonVuiExtLength(), "vps_non_vui_extension_length" );
    11581158#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     }
     1159  for (i = 1; i <= vps->getVpsNonVuiExtLength(); i++)
     1160  {
     1161    WRITE_CODE(1, 8, "vps_non_vui_extension_data_byte");
    11661162  }
    11671163#else
Note: See TracChangeset for help on using the changeset viewer.