diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9f498bc890..73eed44006 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -400,7 +400,7 @@ set(CommonARM
Common/ArmCPUDetect.cpp
Common/ArmEmitter.h
Common/ArmEmitter.cpp
- Common/ColorConvNEON.cpp
+ Common/Data/Convert/ColorConvNEON.cpp
)
source_group(ARM FILES ${CommonARM})
@@ -460,6 +460,8 @@ add_library(Common STATIC
Common/Data/Collections/ThreadSafeList.h
Common/Data/Color/RGBAUtil.cpp
Common/Data/Color/RGBAUtil.h
+ Common/Data/Convert/ColorConv.cpp
+ Common/Data/Convert/ColorConv.h
Common/Data/Convert/SmallDataConvert.cpp
Common/Data/Convert/SmallDataConvert.h
Common/Data/Encoding/Base64.cpp
@@ -624,8 +626,6 @@ add_library(Common STATIC
Common/Buffer.h
Common/Buffer.cpp
Common/CodeBlock.h
- Common/ColorConv.cpp
- Common/ColorConv.h
Common/Common.h
Common/CommonFuncs.h
Common/CommonTypes.h
diff --git a/Common/Common.vcxproj b/Common/Common.vcxproj
index 7595b60f80..ed732b280a 100644
--- a/Common/Common.vcxproj
+++ b/Common/Common.vcxproj
@@ -469,12 +469,12 @@
-
+
-
+
@@ -705,7 +705,7 @@
-
+
true
true
true
@@ -791,7 +791,7 @@
-
+
diff --git a/Common/Common.vcxproj.filters b/Common/Common.vcxproj.filters
index dd834136fc..94649bd4b1 100644
--- a/Common/Common.vcxproj.filters
+++ b/Common/Common.vcxproj.filters
@@ -32,8 +32,6 @@
-
-
GL\GLInterface
@@ -384,6 +382,12 @@
GPU
+
+ Data\Convert
+
+
+ Data\Convert
+
@@ -410,8 +414,6 @@
-
-
GL\GLInterface
@@ -740,6 +742,12 @@
GPU
+
+ Data\Convert
+
+
+ Data\Convert
+
diff --git a/Common/ColorConv.cpp b/Common/Data/Convert/ColorConv.cpp
similarity index 99%
rename from Common/ColorConv.cpp
rename to Common/Data/Convert/ColorConv.cpp
index 0e48cca0bc..e110c9bdde 100644
--- a/Common/ColorConv.cpp
+++ b/Common/Data/Convert/ColorConv.cpp
@@ -16,12 +16,12 @@
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include "ppsspp_config.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Data/Convert/SmallDataConvert.h"
-#include "ColorConv.h"
// NEON is in a separate file so that it can be compiled with a runtime check.
-#include "ColorConvNEON.h"
-#include "Common.h"
-#include "CPUDetect.h"
+#include "Common/Data/Convert/ColorConvNEON.h"
+#include "Common/Common.h"
+#include "Common/CPUDetect.h"
#ifdef _M_SSE
#include
diff --git a/Common/ColorConv.h b/Common/Data/Convert/ColorConv.h
similarity index 98%
rename from Common/ColorConv.h
rename to Common/Data/Convert/ColorConv.h
index 9e66b73ea8..a0b6c43248 100644
--- a/Common/ColorConv.h
+++ b/Common/Data/Convert/ColorConv.h
@@ -18,8 +18,8 @@
#pragma once
#include "ppsspp_config.h"
-#include "CommonTypes.h"
-#include "ColorConvNEON.h"
+#include "Common/CommonTypes.h"
+#include "Common/Data/Convert/ColorConvNEON.h"
void SetupColorConv();
diff --git a/Common/ColorConvNEON.cpp b/Common/Data/Convert/ColorConvNEON.cpp
similarity index 97%
rename from Common/ColorConvNEON.cpp
rename to Common/Data/Convert/ColorConvNEON.cpp
index 375bcd0e75..27c230448a 100644
--- a/Common/ColorConvNEON.cpp
+++ b/Common/Data/Convert/ColorConvNEON.cpp
@@ -23,9 +23,9 @@
#else
#include
#endif
-#include "ColorConvNEON.h"
-#include "Common.h"
-#include "CPUDetect.h"
+#include "Common/Data/Convert/ColorConvNEON.h"
+#include "Common/Common.h"
+#include "Common/CPUDetect.h"
// TODO: More NEON color conversion funcs.
diff --git a/Common/ColorConvNEON.h b/Common/Data/Convert/ColorConvNEON.h
similarity index 95%
rename from Common/ColorConvNEON.h
rename to Common/Data/Convert/ColorConvNEON.h
index 43002411cd..e80fbbd324 100644
--- a/Common/ColorConvNEON.h
+++ b/Common/Data/Convert/ColorConvNEON.h
@@ -17,7 +17,7 @@
#pragma once
-#include "ColorConv.h"
+#include "Common/Data/Convert/ColorConv.h"
void ConvertRGBA4444ToABGR4444NEON(u16 *dst, const u16 *src, u32 numPixels);
void ConvertRGBA5551ToABGR1555NEON(u16 *dst, const u16 *src, u32 numPixels);
diff --git a/Common/GPU/D3D11/thin3d_d3d11.cpp b/Common/GPU/D3D11/thin3d_d3d11.cpp
index 616032f1d0..0014b5bb05 100644
--- a/Common/GPU/D3D11/thin3d_d3d11.cpp
+++ b/Common/GPU/D3D11/thin3d_d3d11.cpp
@@ -8,9 +8,9 @@
#endif
#include "Common/System/Display.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Data/Convert/SmallDataConvert.h"
#include "Common/Data/Encoding/Utf8.h"
-#include "Common/ColorConv.h"
#include "Common/Log.h"
#include
diff --git a/Common/GPU/thin3d.cpp b/Common/GPU/thin3d.cpp
index ce09c0356c..06f238c728 100644
--- a/Common/GPU/thin3d.cpp
+++ b/Common/GPU/thin3d.cpp
@@ -2,10 +2,10 @@
#include
#include
-#include "Common/System/Display.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/GPU/thin3d.h"
#include "Common/Log.h"
-#include "Common/ColorConv.h"
+#include "Common/System/Display.h"
namespace Draw {
diff --git a/Core/AVIDump.cpp b/Core/AVIDump.cpp
index 1e3f1803d5..b55fa12a10 100644
--- a/Core/AVIDump.cpp
+++ b/Core/AVIDump.cpp
@@ -23,8 +23,8 @@ extern "C" {
#endif
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/File/FileUtil.h"
-#include "Common/ColorConv.h"
#include "Core/Config.h"
#include "Core/AVIDump.h"
diff --git a/Core/Screenshot.cpp b/Core/Screenshot.cpp
index 8a06d54ab7..2324e7f96c 100644
--- a/Core/Screenshot.cpp
+++ b/Core/Screenshot.cpp
@@ -21,7 +21,7 @@
#include
#include "ext/jpge/jpge.h"
-#include "Common/ColorConv.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/File/FileUtil.h"
#include "Common/Log.h"
#include "Common/System/Display.h"
diff --git a/Core/TextureReplacer.cpp b/Core/TextureReplacer.cpp
index 32a54c37a2..05a2ad6da9 100644
--- a/Core/TextureReplacer.cpp
+++ b/Core/TextureReplacer.cpp
@@ -21,10 +21,10 @@
#include "ext/xxhash.h"
-#include "Common/Data/Text/I18n.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Data/Format/IniFile.h"
+#include "Common/Data/Text/I18n.h"
#include "Common/Data/Text/Parsers.h"
-#include "Common/ColorConv.h"
#include "Common/File/FileUtil.h"
#include "Common/StringUtils.h"
#include "Core/Config.h"
diff --git a/GPU/Common/DrawEngineCommon.cpp b/GPU/Common/DrawEngineCommon.cpp
index 2393431c76..b5569bcd7a 100644
--- a/GPU/Common/DrawEngineCommon.cpp
+++ b/GPU/Common/DrawEngineCommon.cpp
@@ -17,8 +17,8 @@
#include
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Profiler/Profiler.h"
-#include "Common/ColorConv.h"
#include "Core/Config.h"
#include "GPU/Common/DrawEngineCommon.h"
#include "GPU/Common/SplineCommon.h"
diff --git a/GPU/Common/FramebufferManagerCommon.cpp b/GPU/Common/FramebufferManagerCommon.cpp
index 349e244747..2690d94274 100644
--- a/GPU/Common/FramebufferManagerCommon.cpp
+++ b/GPU/Common/FramebufferManagerCommon.cpp
@@ -21,8 +21,8 @@
#include "Common/GPU/thin3d.h"
#include "Common/GPU/OpenGL/GLFeatures.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Data/Text/I18n.h"
-#include "Common/ColorConv.h"
#include "Common/Common.h"
#include "Core/Config.h"
#include "Core/ConfigValues.h"
diff --git a/GPU/Common/TextureCacheCommon.cpp b/GPU/Common/TextureCacheCommon.cpp
index b54820473b..4cfd94162f 100644
--- a/GPU/Common/TextureCacheCommon.cpp
+++ b/GPU/Common/TextureCacheCommon.cpp
@@ -18,8 +18,8 @@
#include
#include "ppsspp_config.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Profiler/Profiler.h"
-#include "Common/ColorConv.h"
#include "Common/MemoryUtil.h"
#include "Common/StringUtils.h"
#include "Core/Config.h"
diff --git a/GPU/Common/TextureDecoder.cpp b/GPU/Common/TextureDecoder.cpp
index 2e10ac1f36..750fc3f9b7 100644
--- a/GPU/Common/TextureDecoder.cpp
+++ b/GPU/Common/TextureDecoder.cpp
@@ -17,8 +17,8 @@
#include "ppsspp_config.h"
#include "ext/xxhash.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/CPUDetect.h"
-#include "Common/ColorConv.h"
#include "GPU/GPU.h"
#include "GPU/GPUState.h"
@@ -26,8 +26,6 @@
// NEON is in a separate file so that it can be compiled with a runtime check.
#include "GPU/Common/TextureDecoderNEON.h"
-// TODO: Move some common things into here.
-
#ifdef _M_SSE
#include
#if _M_SSE >= 0x401
diff --git a/GPU/Common/VertexDecoderCommon.cpp b/GPU/Common/VertexDecoderCommon.cpp
index 920083577f..ecf247e530 100644
--- a/GPU/Common/VertexDecoderCommon.cpp
+++ b/GPU/Common/VertexDecoderCommon.cpp
@@ -20,10 +20,10 @@
#include "ppsspp_config.h"
-#include "Common/Log.h"
-#include "Common/CPUDetect.h"
-#include "Common/ColorConv.h"
#include "Common/Common.h"
+#include "Common/CPUDetect.h"
+#include "Common/Data/Convert/ColorConv.h"
+#include "Common/Log.h"
#include "Core/Config.h"
#include "Core/ConfigValues.h"
#include "Core/MemMap.h"
diff --git a/GPU/D3D11/DepalettizeShaderD3D11.cpp b/GPU/D3D11/DepalettizeShaderD3D11.cpp
index faf6c22de2..e2a1c58e91 100644
--- a/GPU/D3D11/DepalettizeShaderD3D11.cpp
+++ b/GPU/D3D11/DepalettizeShaderD3D11.cpp
@@ -19,8 +19,8 @@
#include
#include "Common/Common.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Log.h"
-#include "Common/ColorConv.h"
#include "Common/StringUtils.h"
#include "Core/Reporting.h"
#include "GPU/D3D11/TextureCacheD3D11.h"
diff --git a/GPU/D3D11/FramebufferManagerD3D11.cpp b/GPU/D3D11/FramebufferManagerD3D11.cpp
index 0828b68a1d..40391fbfc5 100644
--- a/GPU/D3D11/FramebufferManagerD3D11.cpp
+++ b/GPU/D3D11/FramebufferManagerD3D11.cpp
@@ -20,11 +20,11 @@
#include
#include "Common/Common.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/System/Display.h"
#include "Common/Math/lin/matrix4x4.h"
#include "Common/Math/math_util.h"
#include "Common/GPU/thin3d.h"
-#include "Common/ColorConv.h"
#include "Core/MemMap.h"
#include "Core/Config.h"
diff --git a/GPU/D3D11/TextureScalerD3D11.cpp b/GPU/D3D11/TextureScalerD3D11.cpp
index 17dcfa3c25..45aa67e18d 100644
--- a/GPU/D3D11/TextureScalerD3D11.cpp
+++ b/GPU/D3D11/TextureScalerD3D11.cpp
@@ -18,7 +18,7 @@
#include
#include
-#include "Common/ColorConv.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Core/ThreadPools.h"
#include "GPU/Common/TextureScalerCommon.h"
#include "GPU/D3D11/TextureScalerD3D11.h"
@@ -54,4 +54,4 @@ void TextureScalerD3D11::ConvertTo8888(u32 format, u32* source, u32* &dest, int
dest = source;
ERROR_LOG(G3D, "iXBRZTexScaling: unsupported texture format");
}
-}
\ No newline at end of file
+}
diff --git a/GPU/Directx9/FramebufferManagerDX9.cpp b/GPU/Directx9/FramebufferManagerDX9.cpp
index 08c40135b3..b06c0c4e06 100644
--- a/GPU/Directx9/FramebufferManagerDX9.cpp
+++ b/GPU/Directx9/FramebufferManagerDX9.cpp
@@ -18,7 +18,7 @@
#include "Common/Math/lin/matrix4x4.h"
#include "Common/GPU/thin3d.h"
-#include "Common/ColorConv.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Core/MemMap.h"
#include "Core/Config.h"
#include "Core/ConfigValues.h"
diff --git a/GPU/Directx9/TextureScalerDX9.cpp b/GPU/Directx9/TextureScalerDX9.cpp
index 4508358d7e..574fa3eebc 100644
--- a/GPU/Directx9/TextureScalerDX9.cpp
+++ b/GPU/Directx9/TextureScalerDX9.cpp
@@ -18,7 +18,7 @@
#include
#include "Common/Common.h"
-#include "Common/ColorConv.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Core/ThreadPools.h"
#include "GPU/Common/TextureScalerCommon.h"
#include "GPU/Directx9/TextureScalerDX9.h"
diff --git a/GPU/GLES/FramebufferManagerGLES.cpp b/GPU/GLES/FramebufferManagerGLES.cpp
index be01c06702..5870c899ef 100644
--- a/GPU/GLES/FramebufferManagerGLES.cpp
+++ b/GPU/GLES/FramebufferManagerGLES.cpp
@@ -17,12 +17,12 @@
#include
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Profiler/Profiler.h"
#include "Common/GPU/OpenGL/GLCommon.h"
#include "Common/GPU/OpenGL/GLDebugLog.h"
#include "Common/GPU/OpenGL/GLSLProgram.h"
#include "Common/GPU/thin3d.h"
-#include "Common/ColorConv.h"
#include "Core/MemMap.h"
#include "Core/Config.h"
#include "Core/ConfigValues.h"
diff --git a/GPU/GLES/TextureCacheGLES.cpp b/GPU/GLES/TextureCacheGLES.cpp
index e15b900aca..783ea75c40 100644
--- a/GPU/GLES/TextureCacheGLES.cpp
+++ b/GPU/GLES/TextureCacheGLES.cpp
@@ -19,12 +19,12 @@
#include
#include "ext/xxhash.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Data/Text/I18n.h"
#include "Common/Math/math_util.h"
#include "Common/Profiler/Profiler.h"
#include "Common/GPU/OpenGL/GLRenderManager.h"
-#include "Common/ColorConv.h"
#include "Core/Config.h"
#include "Core/Host.h"
#include "Core/MemMap.h"
diff --git a/GPU/GLES/TextureScalerGLES.cpp b/GPU/GLES/TextureScalerGLES.cpp
index 2a22d8b178..abe06bb5bd 100644
--- a/GPU/GLES/TextureScalerGLES.cpp
+++ b/GPU/GLES/TextureScalerGLES.cpp
@@ -20,7 +20,7 @@
#include "GPU/Common/TextureScalerCommon.h"
#include "GPU/GLES/TextureScalerGLES.h"
-#include "Common/ColorConv.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Log.h"
#include "Core/ThreadPools.h"
#include "Common/GPU/DataFormat.h"
diff --git a/GPU/GPUCommon.cpp b/GPU/GPUCommon.cpp
index 48310c36f3..dfc9365245 100644
--- a/GPU/GPUCommon.cpp
+++ b/GPU/GPUCommon.cpp
@@ -5,7 +5,7 @@
#include "Common/Profiler/Profiler.h"
-#include "Common/ColorConv.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/GraphicsContext.h"
#include "Common/Serialize/Serializer.h"
#include "Common/Serialize/SerializeFuncs.h"
diff --git a/GPU/Software/Rasterizer.cpp b/GPU/Software/Rasterizer.cpp
index 943b3f5656..f961175c2c 100644
--- a/GPU/Software/Rasterizer.cpp
+++ b/GPU/Software/Rasterizer.cpp
@@ -19,10 +19,10 @@
#include
#include
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Profiler/Profiler.h"
#include "Core/ThreadPools.h"
-#include "Common/ColorConv.h"
#include "Core/Config.h"
#include "Core/MemMap.h"
#include "Core/Reporting.h"
diff --git a/GPU/Software/RasterizerRectangle.cpp b/GPU/Software/RasterizerRectangle.cpp
index 828a7d622b..bbc7e27463 100644
--- a/GPU/Software/RasterizerRectangle.cpp
+++ b/GPU/Software/RasterizerRectangle.cpp
@@ -3,17 +3,15 @@
#include
#include
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Profiler/Profiler.h"
-#include "Core/System.h"
-
-#include "Common/ColorConv.h"
#include "Core/Config.h"
#include "Core/MemMap.h"
#include "Core/Reporting.h"
+#include "Core/System.h"
#include "GPU/GPUState.h"
-#include "Rasterizer.h"
#include "GPU/Common/TextureCacheCommon.h"
#include "GPU/Software/SoftGpu.h"
#include "GPU/Software/Rasterizer.h"
diff --git a/GPU/Software/Sampler.cpp b/GPU/Software/Sampler.cpp
index 2fccf208b2..607aafd3dd 100644
--- a/GPU/Software/Sampler.cpp
+++ b/GPU/Software/Sampler.cpp
@@ -18,7 +18,7 @@
#include "ppsspp_config.h"
#include
#include
-#include "Common/ColorConv.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Core/Reporting.h"
#include "GPU/Common/TextureDecoder.h"
#include "GPU/GPUState.h"
diff --git a/GPU/Software/SoftGpu.cpp b/GPU/Software/SoftGpu.cpp
index 26ef1cbbb9..134276b1ff 100644
--- a/GPU/Software/SoftGpu.cpp
+++ b/GPU/Software/SoftGpu.cpp
@@ -21,7 +21,7 @@
#include "GPU/GPUState.h"
#include "GPU/ge_constants.h"
#include "GPU/Common/TextureDecoder.h"
-#include "Common/ColorConv.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/GraphicsContext.h"
#include "Core/Config.h"
#include "Core/ConfigValues.h"
diff --git a/GPU/Vulkan/DepalettizeShaderVulkan.cpp b/GPU/Vulkan/DepalettizeShaderVulkan.cpp
index 4d11207eb2..7768218998 100644
--- a/GPU/Vulkan/DepalettizeShaderVulkan.cpp
+++ b/GPU/Vulkan/DepalettizeShaderVulkan.cpp
@@ -15,7 +15,7 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
-#include "Common/ColorConv.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/GPU/Vulkan/VulkanImage.h"
#include "Common/GPU/Vulkan/VulkanMemory.h"
#include "Common/GPU/Vulkan/VulkanContext.h"
diff --git a/GPU/Vulkan/FramebufferManagerVulkan.cpp b/GPU/Vulkan/FramebufferManagerVulkan.cpp
index a9e2fb230b..ac60198cb9 100644
--- a/GPU/Vulkan/FramebufferManagerVulkan.cpp
+++ b/GPU/Vulkan/FramebufferManagerVulkan.cpp
@@ -21,6 +21,7 @@
#include "Common/System/Display.h"
#include "Common/Math/lin/matrix4x4.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Data/Convert/SmallDataConvert.h"
#include "Common/GPU/thin3d.h"
@@ -28,7 +29,6 @@
#include "Common/GPU/Vulkan/VulkanMemory.h"
#include "Common/GPU/Vulkan/VulkanImage.h"
#include "Common/GPU/Vulkan/VulkanRenderManager.h"
-#include "Common/ColorConv.h"
#include "Core/MemMap.h"
#include "Core/Config.h"
#include "Core/ConfigValues.h"
diff --git a/GPU/Vulkan/TextureCacheVulkan.cpp b/GPU/Vulkan/TextureCacheVulkan.cpp
index a108395022..eff8a70e3d 100644
--- a/GPU/Vulkan/TextureCacheVulkan.cpp
+++ b/GPU/Vulkan/TextureCacheVulkan.cpp
@@ -26,7 +26,7 @@
#include "Common/GPU/thin3d.h"
#include "Common/GPU/Vulkan/VulkanRenderManager.h"
-#include "Common/ColorConv.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/StringUtils.h"
#include "Core/Config.h"
#include "Core/Host.h"
diff --git a/GPU/Vulkan/TextureScalerVulkan.cpp b/GPU/Vulkan/TextureScalerVulkan.cpp
index 66720c0f36..e714e3eb0c 100644
--- a/GPU/Vulkan/TextureScalerVulkan.cpp
+++ b/GPU/Vulkan/TextureScalerVulkan.cpp
@@ -18,8 +18,8 @@
#include
#include "Common/Common.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/GPU/Vulkan/VulkanContext.h"
-#include "Common/ColorConv.h"
#include "Common/Log.h"
#include "Core/ThreadPools.h"
#include "GPU/Common/TextureScalerCommon.h"
diff --git a/UWP/CommonUWP/CommonUWP.vcxproj b/UWP/CommonUWP/CommonUWP.vcxproj
index b408128a15..1e9d6615d8 100644
--- a/UWP/CommonUWP/CommonUWP.vcxproj
+++ b/UWP/CommonUWP/CommonUWP.vcxproj
@@ -457,8 +457,8 @@
-
-
+
+
@@ -568,8 +568,8 @@
-
-
+
+
diff --git a/UWP/CommonUWP/CommonUWP.vcxproj.filters b/UWP/CommonUWP/CommonUWP.vcxproj.filters
index c15bfcac05..4bf921ae9f 100644
--- a/UWP/CommonUWP/CommonUWP.vcxproj.filters
+++ b/UWP/CommonUWP/CommonUWP.vcxproj.filters
@@ -92,8 +92,8 @@
-
-
+
+
@@ -381,8 +381,8 @@
-
-
+
+
diff --git a/Windows/GEDebugger/GEDebugger.cpp b/Windows/GEDebugger/GEDebugger.cpp
index 939edb6e3e..1bb1df6c7c 100644
--- a/Windows/GEDebugger/GEDebugger.cpp
+++ b/Windows/GEDebugger/GEDebugger.cpp
@@ -21,9 +21,9 @@
#include
#include
-#include "Common/Data/Text/Parsers.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Data/Encoding/Utf8.h"
-#include "Common/ColorConv.h"
+#include "Common/Data/Text/Parsers.h"
#include "Common/StringUtils.h"
#include "Core/Config.h"
#include "Core/Screenshot.h"
diff --git a/android/jni/Android.mk b/android/jni/Android.mk
index f3281da7b5..82c9624c6a 100644
--- a/android/jni/Android.mk
+++ b/android/jni/Android.mk
@@ -60,7 +60,7 @@ ARCH_FILES := \
$(SRC)/GPU/Common/TextureDecoderNEON.cpp.neon \
$(SRC)/Core/Util/AudioFormatNEON.cpp.neon \
$(SRC)/Common/ArmEmitter.cpp \
- $(SRC)/Common/ColorConvNEON.cpp.neon \
+ $(SRC)/Common/Data/Convert/ColorConvNEON.cpp.neon \
$(SRC)/Common/Math/fast/fast_matrix_neon.S.neon \
$(SRC)/Core/MIPS/ARM/ArmCompALU.cpp \
$(SRC)/Core/MIPS/ARM/ArmCompBranch.cpp \
@@ -87,7 +87,7 @@ ARCH_FILES := \
$(SRC)/GPU/Common/TextureDecoderNEON.cpp \
$(SRC)/Core/Util/AudioFormatNEON.cpp \
$(SRC)/Common/Arm64Emitter.cpp \
- $(SRC)/Common/ColorConvNEON.cpp \
+ $(SRC)/Common/Data/Convert/ColorConvNEON.cpp \
$(SRC)/Core/MIPS/ARM64/Arm64CompALU.cpp \
$(SRC)/Core/MIPS/ARM64/Arm64CompBranch.cpp \
$(SRC)/Core/MIPS/ARM64/Arm64CompFPU.cpp \
@@ -228,6 +228,7 @@ EXEC_AND_LIB_FILES := \
$(SRC)/Common/Crypto/sha1.cpp \
$(SRC)/Common/Crypto/sha256.cpp \
$(SRC)/Common/Data/Color/RGBAUtil.cpp \
+ $(SRC)/Common/Data/Convert/ColorConv.cpp \
$(SRC)/Common/Data/Convert/SmallDataConvert.cpp \
$(SRC)/Common/Data/Encoding/Base64.cpp \
$(SRC)/Common/Data/Encoding/Compression.cpp \
@@ -292,7 +293,6 @@ EXEC_AND_LIB_FILES := \
$(SRC)/Common/UI/ViewGroup.cpp \
$(SRC)/Common/Serialize/Serializer.cpp \
$(SRC)/Common/ArmCPUDetect.cpp \
- $(SRC)/Common/ColorConv.cpp \
$(SRC)/Common/CPUDetect.cpp \
$(SRC)/Common/ExceptionHandlerSetup.cpp \
$(SRC)/Common/FakeCPUDetect.cpp \
diff --git a/headless/Compare.cpp b/headless/Compare.cpp
index d8d856e5b2..223b65759f 100644
--- a/headless/Compare.cpp
+++ b/headless/Compare.cpp
@@ -23,7 +23,7 @@
#include
#include "headless/Compare.h"
-#include "Common/ColorConv.h"
+#include "Common/Data/Convert/ColorConv.h"
#include "Common/Data/Format/PNGLoad.h"
#include "Common/File/FileUtil.h"
#include "Common/StringUtils.h"
diff --git a/libretro/Makefile.common b/libretro/Makefile.common
index 881021e6fd..6ed5e666ee 100644
--- a/libretro/Makefile.common
+++ b/libretro/Makefile.common
@@ -251,7 +251,7 @@ SOURCES_CXX += \
$(GPUCOMMONDIR)/IndexGenerator.cpp \
$(GPUCOMMONDIR)/TextureDecoder.cpp \
$(GPUCOMMONDIR)/PostShader.cpp \
- $(COMMONDIR)/ColorConv.cpp \
+ $(COMMONDIR)/Data/Convert/ColorConv.cpp \
$(GPUDIR)/Debugger/Breakpoints.cpp \
$(GPUDIR)/Debugger/Debugger.cpp \
$(GPUDIR)/Debugger/Playback.cpp \
@@ -543,7 +543,7 @@ ifeq ($(WITH_DYNAREC),1)
$(COREDIR)/MIPS/ARM/ArmCompVFPUNEON.cpp \
$(COREDIR)/MIPS/ARM/ArmCompVFPUNEONUtil.cpp \
$(COREDIR)/Util/AudioFormatNEON.cpp \
- $(COMMONDIR)/ColorConvNEON.cpp \
+ $(COMMONDIR)/Data/Convert/ColorConvNEON.cpp \
$(GPUDIR)/Common/TextureDecoderNEON.cpp
SOURCES_C += $(EXTDIR)/libpng17/arm/arm_init.c \
@@ -572,7 +572,7 @@ ifeq ($(WITH_DYNAREC),1)
$(COREDIR)/MIPS/ARM/ArmCompVFPUNEON.cpp \
$(COREDIR)/MIPS/ARM/ArmCompVFPUNEONUtil.cpp \
$(COREDIR)/Util/AudioFormatNEON.cpp \
- $(COMMONDIR)/ColorConvNEON.cpp \
+ $(COMMONDIR)/Data/Convert/ColorConvNEON.cpp \
$(GPUDIR)/Common/TextureDecoderNEON.cpp
SOURCES_C += $(EXTDIR)/libpng17/arm/arm_init.c \