#include "media/cast/openscreen/decoder_buffer_reader.h"
#include "base/functional/bind.h"
namespace media::cast {
DecoderBufferReader::DecoderBufferReader(
NewBufferCb new_buffer_cb,
mojo::ScopedDataPipeConsumerHandle data_pipe)
: … { … }
DecoderBufferReader::DecoderBufferReader(
DecoderBufferReader&& other,
mojo::ScopedDataPipeConsumerHandle data_pipe)
: … { … }
DecoderBufferReader::~DecoderBufferReader() = default;
void DecoderBufferReader::ProvideBuffer(media::mojom::DecoderBufferPtr buffer) { … }
void DecoderBufferReader::ClearReadPending() { … }
void DecoderBufferReader::ReadBufferAsync() { … }
void DecoderBufferReader::CompletePendingRead() { … }
void DecoderBufferReader::TryGetNextBuffer() { … }
void DecoderBufferReader::OnBufferReadFromDataPipe(
scoped_refptr<media::DecoderBuffer> buffer) { … }
}