2019-01-26 14:19:36 +00:00
|
|
|
// Copyright 2018 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include <cstring>
|
|
|
|
#include "core/dumping/backend.h"
|
|
|
|
|
|
|
|
namespace VideoDumper {
|
|
|
|
|
|
|
|
VideoFrame::VideoFrame(std::size_t width_, std::size_t height_, u8* data_)
|
2020-01-28 13:57:30 +00:00
|
|
|
: width(width_), height(height_), stride(width * 4), data(data_, data_ + width * height * 4) {}
|
2019-01-26 14:19:36 +00:00
|
|
|
|
|
|
|
Backend::~Backend() = default;
|
|
|
|
NullBackend::~NullBackend() = default;
|
|
|
|
|
|
|
|
} // namespace VideoDumper
|