#include "media/filters/h26x_annex_b_bitstream_builder.h"
#include "base/bits.h"
#include "base/containers/span.h"
#include "base/numerics/byte_conversions.h"
namespace media {
H26xAnnexBBitstreamBuilder::H26xAnnexBBitstreamBuilder(
bool insert_emulation_prevention_bytes)
: … { … }
H26xAnnexBBitstreamBuilder::~H26xAnnexBBitstreamBuilder() = default;
void H26xAnnexBBitstreamBuilder::Reset() { … }
void H26xAnnexBBitstreamBuilder::Grow() { … }
void H26xAnnexBBitstreamBuilder::FlushReg() { … }
void H26xAnnexBBitstreamBuilder::AppendU64(size_t num_bits, uint64_t val) { … }
void H26xAnnexBBitstreamBuilder::AppendBool(bool val) { … }
void H26xAnnexBBitstreamBuilder::AppendSE(int val) { … }
void H26xAnnexBBitstreamBuilder::AppendUE(unsigned int val) { … }
#define DCHECK_FINISHED() …
void H26xAnnexBBitstreamBuilder::BeginNALU(H264NALU::Type nalu_type,
int nal_ref_idc) { … }
void H26xAnnexBBitstreamBuilder::BeginNALU(H265NALU::Type nalu_type) { … }
void H26xAnnexBBitstreamBuilder::FinishNALU() { … }
void H26xAnnexBBitstreamBuilder::Flush() { … }
size_t H26xAnnexBBitstreamBuilder::BitsInBuffer() const { … }
size_t H26xAnnexBBitstreamBuilder::BytesInBuffer() const { … }
const uint8_t* H26xAnnexBBitstreamBuilder::data() const { … }
}