Changeset 1498 in SHVCSoftware
- Timestamp:
- 4 Dec 2015, 00:55:10 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1497 r1498 1990 1990 else 1991 1991 { 1992 1993 1992 pcSlice->setPocResetPeriodId( 0 ); 1994 1993 } … … 2033 2032 2034 2033 // Read remaining bits in the slice header extension. 2035 UInt endBits = m_pcBitstream->getNumBitsRead(); 2036 Int counter = (endBits - startBits) % 8; 2037 if( counter ) 2038 { 2039 counter = 8 - counter; 2040 } 2041 2042 while( counter ) 2034 Int bitsNum = sliceHeaderExtensionLength * 8 + startBits - m_pcBitstream->getNumBitsRead(); 2035 2036 while( bitsNum ) 2043 2037 { 2044 2038 READ_FLAG( uiCode, "slice_segment_header_extension_data_bit" ); 2045 counter--;2039 bitsNum--; 2046 2040 } 2047 2041 }
Note: See TracChangeset for help on using the changeset viewer.