Changeset 438 in 3DVCSoftware for branches/HTM-DEV-0.2-dev/source/Lib/TLibCommon/TComBitStream.h
- Timestamp:
- 23 May 2013, 15:40:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.2-dev/source/Lib/TLibCommon/TComBitStream.h
r362 r438 154 154 Void addSubstream ( TComOutputBitstream* pcSubstream ); 155 155 Void writeByteAlignment(); 156 157 //! returns the number of start code emulations contained in the current buffer158 Int countStartCodeEmulations();159 156 }; 160 157 … … 166 163 { 167 164 std::vector<uint8_t> *m_fifo; /// FIFO for storage of complete bytes 168 std::vector<UInt> m_emulationPreventionByteLocation;169 165 170 166 protected: … … 210 206 UInt getNumBitsRead() { return m_numBitsRead; } 211 207 Void readByteAlignment(); 212 213 Void pushEmulationPreventionByteLocation ( UInt pos ) { m_emulationPreventionByteLocation.push_back( pos ); }214 UInt numEmulationPreventionBytesRead () { return (UInt) m_emulationPreventionByteLocation.size(); }215 std::vector<UInt> getEmulationPreventionByteLocation () { return m_emulationPreventionByteLocation; }216 UInt getEmulationPreventionByteLocation ( UInt idx ) { return m_emulationPreventionByteLocation[ idx ]; }217 Void clearEmulationPreventionByteLocation() { m_emulationPreventionByteLocation.clear(); }218 Void setEmulationPreventionByteLocation ( std::vector<UInt> vec ) { m_emulationPreventionByteLocation = vec; }219 208 }; 220 209
Note: See TracChangeset for help on using the changeset viewer.