]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/BrotliCompress/enc/utf8_util.h
BaseTools: Make brotli a submodule
[mirror_edk2.git] / BaseTools / Source / C / BrotliCompress / enc / utf8_util.h
diff --git a/BaseTools/Source/C/BrotliCompress/enc/utf8_util.h b/BaseTools/Source/C/BrotliCompress/enc/utf8_util.h
deleted file mode 100644 (file)
index 8d1cf55..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/* Copyright 2013 Google Inc. All Rights Reserved.\r
-\r
-   Distributed under MIT license.\r
-   See file LICENSE for detail or copy at https://opensource.org/licenses/MIT\r
-*/\r
-\r
-/* Heuristics for deciding about the UTF8-ness of strings. */\r
-\r
-#ifndef BROTLI_ENC_UTF8_UTIL_H_\r
-#define BROTLI_ENC_UTF8_UTIL_H_\r
-\r
-#include "../common/platform.h"\r
-#include <brotli/types.h>\r
-\r
-#if defined(__cplusplus) || defined(c_plusplus)\r
-extern "C" {\r
-#endif\r
-\r
-static const double kMinUTF8Ratio = 0.75;\r
-\r
-/* Returns 1 if at least min_fraction of the bytes between pos and\r
-   pos + length in the (data, mask) ring-buffer is UTF8-encoded, otherwise\r
-   returns 0. */\r
-BROTLI_INTERNAL BROTLI_BOOL BrotliIsMostlyUTF8(\r
-    const uint8_t* data, const size_t pos, const size_t mask,\r
-    const size_t length, const double min_fraction);\r
-\r
-#if defined(__cplusplus) || defined(c_plusplus)\r
-}  /* extern "C" */\r
-#endif\r
-\r
-#endif  /* BROTLI_ENC_UTF8_UTIL_H_ */\r