#include "media/base/bit_reader_core.h"
#include <stdint.h>
#include <cstring>
#include "base/containers/span.h"
#include "base/numerics/byte_conversions.h"
#include "base/numerics/safe_conversions.h"
namespace {
const int kRegWidthInBits = …;
}
namespace media {
BitReaderCore::ByteStreamProvider::ByteStreamProvider() = default;
BitReaderCore::ByteStreamProvider::~ByteStreamProvider() = default;
BitReaderCore::BitReaderCore(ByteStreamProvider* byte_stream_provider)
: … { … }
BitReaderCore::~BitReaderCore() = default;
bool BitReaderCore::ReadFlag(bool* flag) { … }
int BitReaderCore::PeekBitsMsbAligned(int num_bits, uint64_t* out) { … }
bool BitReaderCore::SkipBitsSmall(int num_bits) { … }
bool BitReaderCore::SkipBits(int num_bits) { … }
int BitReaderCore::bits_read() const { … }
bool BitReaderCore::ReadBitsInternal(int num_bits, uint64_t* out) { … }
bool BitReaderCore::Refill(int min_nbits) { … }
void BitReaderCore::RefillCurrentRegister() { … }
}