File indexing completed on 2024-12-22 04:10:29
0001 /* 0002 * SPDX-FileCopyrightText: 2010 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef __KIS_LZF_COMPRESSION_H 0008 #define __KIS_LZF_COMPRESSION_H 0009 0010 #include "kis_abstract_compression.h" 0011 0012 class KRITAIMAGE_EXPORT KisLzfCompression : public KisAbstractCompression 0013 { 0014 public: 0015 KisLzfCompression(); 0016 ~KisLzfCompression() override; 0017 0018 qint32 compress(const quint8* input, qint32 inputLength, quint8* output, qint32 outputLength) override; 0019 qint32 decompress(const quint8* input, qint32 inputLength, quint8* output, qint32 outputLength) override; 0020 0021 qint32 outputBufferSize(qint32 dataSize) override; 0022 0023 //void adjustForDataSize(qint32 dataSize); 0024 }; 0025 0026 #endif /* __KIS_LZF_COMPRESSION_H */ 0027