summaryrefslogtreecommitdiff
path: root/src/common/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/hash.h')
-rw-r--r--src/common/hash.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/common/hash.h b/src/common/hash.h
deleted file mode 100644
index 0afaf0e37..000000000
--- a/src/common/hash.h
+++ /dev/null
@@ -1,17 +0,0 @@
1// Copyright 2013 Dolphin Emulator Project / 2014 Citra Emulator Project
2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included.
4
5#pragma once
6
7#include "common/common_types.h"
8
9u32 HashFletcher(const u8* data_u8, size_t length); // FAST. Length & 1 == 0.
10u32 HashAdler32(const u8* data, size_t len); // Fairly accurate, slightly slower
11u32 HashFNV(const u8* ptr, int length); // Another fast and decent hash
12u32 HashEctor(const u8* ptr, int length); // JUNK. DO NOT USE FOR NEW THINGS
13u64 GetCRC32(const u8 *src, int len, u32 samples); // SSE4.2 version of CRC32
14u64 GetHashHiresTexture(const u8 *src, int len, u32 samples);
15u64 GetMurmurHash3(const u8 *src, int len, u32 samples);
16u64 GetHash64(const u8 *src, int len, u32 samples);
17void SetHash64Function(bool useHiresTextures);