#include "media/gpu/chromeos/frame_resource_converter.h"
#include "base/location.h"
#include "base/task/sequenced_task_runner.h"
#include "media/gpu/chromeos/frame_resource.h"
#include "media/gpu/macros.h"
namespace media {
FrameResourceConverter::FrameResourceConverter() = default;
FrameResourceConverter::~FrameResourceConverter() = default;
void FrameResourceConverter::Initialize(
scoped_refptr<base::SequencedTaskRunner> parent_task_runner,
OutputCB output_cb) { … }
void FrameResourceConverter::ConvertFrame(scoped_refptr<FrameResource> frame) { … }
void FrameResourceConverter::AbortPendingFrames() { … }
void FrameResourceConverter::AbortPendingFramesImpl() { … }
bool FrameResourceConverter::HasPendingFrames() const { … }
bool FrameResourceConverter::HasPendingFramesImpl() const { … }
bool FrameResourceConverter::UsesGetOriginalFrameCB() const { … }
bool FrameResourceConverter::UsesGetOriginalFrameCBImpl() const { … }
void FrameResourceConverter::set_get_original_frame_cb(
GetOriginalFrameCB get_original_frame_cb) { … }
void FrameResourceConverter::OnError(const base::Location& location,
const std::string& msg) { … }
FrameResource* FrameResourceConverter::GetOriginalFrame(
FrameResource& frame) const { … }
const scoped_refptr<base::SequencedTaskRunner>&
FrameResourceConverter::parent_task_runner() { … }
void FrameResourceConverter::Output(scoped_refptr<VideoFrame> frame) const { … }
void FrameResourceConverter::Destroy() { … }
}
namespace std {
void default_delete<media::FrameResourceConverter>::operator()(
media::FrameResourceConverter* ptr) const { … }
}