HEVC Test Model (HM)
HM-16.18
|
#include <TComBitStream.h>
Protected Attributes | |
std::vector< uint8_t > | m_fifo |
std::vector< UInt > | m_emulationPreventionByteLocation |
FIFO for storage of complete bytes. More... | |
UInt | m_fifo_idx |
UInt | m_num_held_bits |
Read index into m_fifo. More... | |
UChar | m_held_bits |
UInt | m_numBitsRead |
Model of an input bitstream that extracts bits from a predefined bytestream.
Definition at line 164 of file TComBitStream.h.
TComInputBitstream::TComInputBitstream | ( | ) |
Create a new bitstream reader object that reads from buf.
Definition at line 63 of file TComBitStream.cpp.
|
inlinevirtual |
Definition at line 181 of file TComBitStream.h.
TComInputBitstream::TComInputBitstream | ( | const TComInputBitstream & | src | ) |
Definition at line 72 of file TComBitStream.cpp.
|
inline |
Definition at line 222 of file TComBitStream.h.
TComInputBitstream * TComInputBitstream::extractSubstream | ( | UInt | uiNumBits | ) |
Extract substream from the current bitstream.
uiNumBits | number of bits to transfer |
Definition at line 358 of file TComBitStream.cpp.
|
inline |
Definition at line 204 of file TComBitStream.h.
|
inline |
Definition at line 220 of file TComBitStream.h.
Definition at line 221 of file TComBitStream.h.
|
inline |
Definition at line 225 of file TComBitStream.h.
|
inline |
Definition at line 226 of file TComBitStream.h.
|
inline |
Definition at line 202 of file TComBitStream.h.
|
inline |
Definition at line 213 of file TComBitStream.h.
|
inline |
Definition at line 215 of file TComBitStream.h.
|
inline |
Definition at line 212 of file TComBitStream.h.
|
inline |
Definition at line 219 of file TComBitStream.h.
TComOutputBitstream& TComInputBitstream::operator= | ( | const TComOutputBitstream & | src | ) |
Definition at line 207 of file TComBitStream.h.
Definition at line 195 of file TComBitStream.h.
read uiNumberOfBits from bitstream without updating the bitstream state, storing the result in ruiBits.
If reading uiNumberOfBits would overrun the bitstream buffer, the bitstream is effectively padded with sufficient zero-bits to avoid the overrun.
Definition at line 238 of file TComBitStream.cpp.
Definition at line 218 of file TComBitStream.h.
Definition at line 254 of file TComBitStream.cpp.
Definition at line 210 of file TComBitStream.h.
Definition at line 189 of file TComBitStream.h.
|
inline |
Definition at line 211 of file TComBitStream.h.
UInt TComInputBitstream::readByteAlignment | ( | ) |
Definition at line 396 of file TComBitStream.cpp.
UInt TComInputBitstream::readOutTrailingBits | ( | ) |
Definition at line 329 of file TComBitStream.cpp.
Void TComInputBitstream::resetToStart | ( | ) |
Definition at line 85 of file TComBitStream.cpp.
|
inline |
Definition at line 223 of file TComBitStream.h.
|
protected |
FIFO for storage of complete bytes.
Definition at line 168 of file TComBitStream.h.
|
protected |
Definition at line 167 of file TComBitStream.h.
|
protected |
Definition at line 170 of file TComBitStream.h.
|
protected |
Definition at line 173 of file TComBitStream.h.
|
protected |
Read index into m_fifo.
Definition at line 172 of file TComBitStream.h.
|
protected |
Definition at line 174 of file TComBitStream.h.