44 #if RExt__DECODER_DEBUG_BIT_STATISTICS
64 vector<uint8_t>& nalUnit,
75 #if RExt__DECODER_DEBUG_BIT_STATISTICS
81 uint8_t leading_zero_8bits = bs.
readByte();
82 #if RExt__DECODER_DEBUG_BIT_STATISTICS
85 assert(leading_zero_8bits == 0);
100 #if RExt__DECODER_DEBUG_BIT_STATISTICS
103 assert(zero_byte == 0);
113 uint32_t start_code_prefix_one_3bytes = bs.
readBytes(24/8);
114 #if RExt__DECODER_DEBUG_BIT_STATISTICS
117 assert(start_code_prefix_one_3bytes == 0x000001);
134 #if RExt__DECODER_DEBUG_BIT_STATISTICS
139 #if RExt__DECODER_DEBUG_BIT_STATISTICS
141 nalUnit.push_back(thebyte);
165 uint8_t trailing_zero_8bits = bs.
readByte();
166 #if RExt__DECODER_DEBUG_BIT_STATISTICS
169 assert(trailing_zero_8bits == 0);
184 vector<uint8_t>& nalUnit,
static SStat & GetStatisticEP(const TComCodingStatisticsClassType &stat)
reading functions for Annex B byte streams
UInt m_numLeadingZero8BitsBytes
static Void _byteStreamNALUnit(InputByteStream &bs, vector< uint8_t > &nalUnit, AnnexBStats &stats)
UInt m_numTrailingZero8BitsBytes
UInt m_numStartCodePrefixBytes
Bool byteStreamNALUnit(InputByteStream &bs, vector< uint8_t > &nalUnit, AnnexBStats &stats)