Ignore:
Timestamp:
6 Sep 2013, 01:09:22 (11 years ago)
Author:
qualcomm
Message:

Added byte alignment before parsing VPS VUI

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

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

    r382 r383  
    891891#else
    892892  WRITE_FLAG( 1,                     "vps_vui_present_flag" );
    893   codeVPSVUI(vps); 
     893  if(1)   // Should be conditioned on the value of vps_vui_present_flag
     894  {
     895    while ( m_pcBitIf->getNumberOfWrittenBits() % 8 != 0 )
     896    {
     897      WRITE_FLAG(1,                  "vps_vui_alignment_bit_equal_to_one");
     898    }
     899    codeVPSVUI(vps); 
     900  }
    894901#endif
    895902}
Note: See TracChangeset for help on using the changeset viewer.