diff options
| author | Scott Mansell <phiren@gmail.com> | 2016-05-18 08:21:02 +1200 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2018-04-29 17:56:51 +1000 |
| commit | fc96479f122d3b2fdd9a5191c67ebce811ff569d (patch) | |
| tree | eff66e79fb109110349a0aea3e571e9584c30d73 /Source/Core/VideoBackends/Software/EfbInterface.h | |
| parent | 0cd46f4d21ff86fddd7d9a67a2921ac0299209b3 (diff) | |
VideoSoftware: Implement xfb copy filter (Deflickering/Brightness)
Diffstat (limited to 'Source/Core/VideoBackends/Software/EfbInterface.h')
| -rw-r--r-- | Source/Core/VideoBackends/Software/EfbInterface.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/EfbInterface.h b/Source/Core/VideoBackends/Software/EfbInterface.h index a95d6b8aeb..9d0706a83c 100644 --- a/Source/Core/VideoBackends/Software/EfbInterface.h +++ b/Source/Core/VideoBackends/Software/EfbInterface.h @@ -4,6 +4,8 @@ #pragma once +#include <array> + #include "Common/CommonTypes.h" #include "VideoCommon/PerfQueryBase.h" #include "VideoCommon/VideoCommon.h" @@ -52,12 +54,13 @@ void SetColor(u16 x, u16 y, u8* color); void SetDepth(u16 x, u16 y, u32 depth); u32 GetColor(u16 x, u16 y); -yuv444 GetColorYUV(u16 x, u16 y); u32 GetDepth(u16 x, u16 y); u8* GetPixelPointer(u16 x, u16 y, bool depth); -void EncodeXFB(u8* xfb_in_ram, u32 memory_stride, const EFBRectangle& source_rect, float y_scale); +void EncodeXFB(u8* xfb_in_ram, u32 memory_stride, const EFBRectangle& source_rect, float y_scale, + bool clamp_top, bool clamp_bottom, float Gamma, + const std::array<u8, 7>& filterCoefficients); extern u32 perf_values[PQ_NUM_MEMBERS]; inline void IncPerfCounterQuadCount(PerfQueryType type) |
