From 2c3c1048746a4622d8c89a29670120dc8fab93c4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:49:45 +0200 Subject: Adding upstream version 6.1.76. Signed-off-by: Daniel Baumann --- lib/842/842.h | 130 ++++++++++ lib/842/842_compress.c | 630 +++++++++++++++++++++++++++++++++++++++++++++++ lib/842/842_debugfs.h | 50 ++++ lib/842/842_decompress.c | 417 +++++++++++++++++++++++++++++++ lib/842/Makefile | 3 + 5 files changed, 1230 insertions(+) create mode 100644 lib/842/842.h create mode 100644 lib/842/842_compress.c create mode 100644 lib/842/842_debugfs.h create mode 100644 lib/842/842_decompress.c create mode 100644 lib/842/Makefile (limited to 'lib/842') diff --git a/lib/842/842.h b/lib/842/842.h new file mode 100644 index 000000000..7b1f581a2 --- /dev/null +++ b/lib/842/842.h @@ -0,0 +1,130 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __842_H__ +#define __842_H__ + +/* The 842 compressed format is made up of multiple blocks, each of + * which have the format: + * + *