summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder_x64.cpp
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2014-09-06 13:32:54 -0400
committercomex <comexk@gmail.com>2014-09-06 13:32:54 -0400
commit917c6d324a95708021a1a1410d18dac38c0218ed (patch)
tree88991256c8c9d96b6ca67caea39c98ebc742e8b1 /Source/Core/VideoCommon/TextureDecoder_x64.cpp
parent6c382f66278adcb8f84e0f7280e9d2479330526c (diff)
Remove unused functions in TextureDecoder.
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_x64.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureDecoder_x64.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder_x64.cpp b/Source/Core/VideoCommon/TextureDecoder_x64.cpp
index 6589ef7571..1800c8bb04 100644
--- a/Source/Core/VideoCommon/TextureDecoder_x64.cpp
+++ b/Source/Core/VideoCommon/TextureDecoder_x64.cpp
@@ -184,22 +184,6 @@ static inline void DecodeBytes_IA4(u32 *dst, const u8 *src)
}
}
-static inline void DecodeBytes_RGB5A3(u32 *dst, const u16 *src)
-{
- dst[0] = DecodePixel_RGB5A3(Common::swap16(src[0]));
- dst[1] = DecodePixel_RGB5A3(Common::swap16(src[1]));
- dst[2] = DecodePixel_RGB5A3(Common::swap16(src[2]));
- dst[3] = DecodePixel_RGB5A3(Common::swap16(src[3]));
-}
-
-static inline void DecodeBytes_RGBA8(u32 *dst, const u16 *src, const u16 * src2)
-{
- dst[0] = ((src[0] & 0xFF) << 24) | ((src[0] & 0xFF00)>>8) | (src2[0] << 8);
- dst[1] = ((src[1] & 0xFF) << 24) | ((src[1] & 0xFF00)>>8) | (src2[1] << 8);
- dst[2] = ((src[2] & 0xFF) << 24) | ((src[2] & 0xFF00)>>8) | (src2[2] << 8);
- dst[3] = ((src[3] & 0xFF) << 24) | ((src[3] & 0xFF00)>>8) | (src2[3] << 8);
-}
-
#ifdef CHECK
static inline u32 makeRGBA(int r, int g, int b, int a)
{