summaryrefslogtreecommitdiffstats
path: root/ml/dlib/dlib/lz77_buffer.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:57:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:57:58 +0000
commitbe1c7e50e1e8809ea56f2c9d472eccd8ffd73a97 (patch)
tree9754ff1ca740f6346cf8483ec915d4054bc5da2d /ml/dlib/dlib/lz77_buffer.h
parentInitial commit. (diff)
downloadnetdata-be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97.tar.xz
netdata-be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97.zip
Adding upstream version 1.44.3.upstream/1.44.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ml/dlib/dlib/lz77_buffer.h')
-rw-r--r--ml/dlib/dlib/lz77_buffer.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/ml/dlib/dlib/lz77_buffer.h b/ml/dlib/dlib/lz77_buffer.h
new file mode 100644
index 00000000..b7364ad9
--- /dev/null
+++ b/ml/dlib/dlib/lz77_buffer.h
@@ -0,0 +1,47 @@
+// Copyright (C) 2004 Davis E. King (davis@dlib.net)
+// License: Boost Software License See LICENSE.txt for the full license.
+#ifndef DLIB_LZ77_BUFFEr_
+#define DLIB_LZ77_BUFFEr_
+
+
+#include "lz77_buffer/lz77_buffer_kernel_1.h"
+#include "lz77_buffer/lz77_buffer_kernel_2.h"
+#include "lz77_buffer/lz77_buffer_kernel_c.h"
+
+#include "sliding_buffer.h"
+
+
+namespace dlib
+{
+
+
+ class lz77_buffer
+ {
+
+ lz77_buffer() {}
+
+ typedef sliding_buffer<unsigned char>::kernel_1a sb1;
+
+ public:
+
+ //----------- kernels ---------------
+
+ // kernel_1a
+ typedef lz77_buffer_kernel_1<sb1>
+ kernel_1a;
+ typedef lz77_buffer_kernel_c<kernel_1a>
+ kernel_1a_c;
+
+
+ // kernel_2a
+ typedef lz77_buffer_kernel_2<sb1>
+ kernel_2a;
+ typedef lz77_buffer_kernel_c<kernel_2a>
+ kernel_2a_c;
+
+
+ };
+}
+
+#endif // DLIB_LZ77_BUFFEr_
+