| 1 | // Copyright 2008 Dolphin Emulator Project |
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "Common/CommonTypes.h" |
| 7 | #include "Common/MathUtil.h" |
| 8 | #include "VideoCommon/TextureCacheBase.h" |
| 9 | |
| 10 | namespace TextureEncoder |
| 11 | { |
| 12 | void Encode(AbstractStagingTexture* dst, const EFBCopyParams& params, u32 native_width, |
| 13 | u32 bytes_per_row, u32 num_blocks_y, u32 memory_stride, |
| 14 | const MathUtil::Rectangle<int>& src_rect, bool scale_by_half, float y_scale, |
| 15 | float gamma); |
| 16 | } |