2015-05-23 22:55:12 -06:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-17 17:08:10 -06:00
|
|
|
// Licensed under GPLv2+
|
2013-04-17 21:29:41 -06:00
|
|
|
// Refer to the license.txt file included.
|
2010-07-06 10:16:07 -06:00
|
|
|
|
2014-02-10 11:54:46 -07:00
|
|
|
#pragma once
|
2010-07-06 10:16:07 -06:00
|
|
|
|
2014-09-07 19:06:58 -06:00
|
|
|
#include "Common/CommonTypes.h"
|
2018-04-29 02:52:30 -06:00
|
|
|
#include "VideoCommon/TextureCacheBase.h"
|
2017-08-23 20:46:23 -06:00
|
|
|
#include "VideoCommon/VideoCommon.h"
|
|
|
|
|
2010-07-06 10:16:07 -06:00
|
|
|
namespace TextureEncoder
|
|
|
|
{
|
2017-08-23 20:46:23 -06:00
|
|
|
void Encode(u8* dst, const EFBCopyParams& params, u32 native_width, u32 bytes_per_row,
|
2018-04-29 02:52:30 -06:00
|
|
|
u32 num_blocks_y, u32 memory_stride, const EFBRectangle& src_rect, bool scale_by_half,
|
|
|
|
float y_scale, float gamma);
|
2010-07-06 10:16:07 -06:00
|
|
|
}
|