53 bsNALUHeader.
write(0,1);
89 vector<uint8_t> outputBuffer;
90 outputBuffer.resize(rbsp.size()*2+1);
91 std::size_t outputAmount = 0;
93 for (vector<uint8_t>::iterator it = rbsp.begin(); it != rbsp.end(); it++)
95 const uint8_t v=(*it);
96 if (zeroCount==2 && v<=3)
110 outputBuffer[outputAmount++]=v;
122 out.write(reinterpret_cast<const TChar*>(&(*outputBuffer.begin())), outputAmount);
Void write(ostream &out, OutputNALUnit &nalu)
NalUnitType m_nalUnitType
nal_unit_type
std::vector< uint8_t > & getFIFO()
UInt getByteStreamLength()
Void writeNalUnitHeader(ostream &out, OutputNALUnit &nalu)
class for handling bitstream (header)
UInt m_nuhLayerId
nuh_layer_id
static const UChar emulation_prevention_three_byte[]
UChar * getByteStream() const
Void write(UInt uiBits, UInt uiNumberOfBits)
UInt m_temporalId
temporal_id
TComOutputBitstream m_Bitstream