#include "media/base/bitstream_buffer.h"
#include "base/numerics/checked_math.h"
#include "media/base/decrypt_config.h"
namespace media {
BitstreamBuffer::BitstreamBuffer()
: … { … }
BitstreamBuffer::BitstreamBuffer(int32_t id,
base::UnsafeSharedMemoryRegion region,
size_t size,
uint64_t offset,
base::TimeDelta presentation_timestamp)
: … { … }
BitstreamBuffer::BitstreamBuffer(BitstreamBuffer&&) = default;
BitstreamBuffer& BitstreamBuffer::operator=(BitstreamBuffer&&) = default;
BitstreamBuffer::~BitstreamBuffer() = default;
scoped_refptr<DecoderBuffer> BitstreamBuffer::ToDecoderBuffer() { … }
scoped_refptr<DecoderBuffer> BitstreamBuffer::ToDecoderBuffer(off_t offset,
size_t size) { … }
void BitstreamBuffer::SetDecryptionSettings(
const std::string& key_id,
const std::string& iv,
const std::vector<SubsampleEntry>& subsamples) { … }
}