T1Interface.h
Go to the documentation of this file.
/*
* Copyright (C) 2016-2023 Grok Image Compression Inc.
*
* This source code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#pragma once
namespace grk
{
struct CompressBlockExec;
struct DecompressBlockExec;
class T1Interface
{
public:
virtual ~T1Interface() = default;
virtual bool compress(CompressBlockExec* block) = 0;
virtual bool decompress(DecompressBlockExec* block) = 0;
};
} // namespace grk
grk::T1Interface
Definition T1Interface.h:26
grk::T1Interface::decompress
virtual bool decompress(DecompressBlockExec *block)=0
grk::T1Interface::~T1Interface
virtual ~T1Interface()=default
grk::T1Interface::compress
virtual bool compress(CompressBlockExec *block)=0
grk
Copyright (C) 2016-2023 Grok Image Compression Inc.
Definition ICacheable.h:20
grk::grk_read
void grk_read(const uint8_t *buffer, TYPE *value, uint32_t numBytes)
Definition BufferedStream.h:239
grk::CompressBlockExec
Definition BlockExec.h:57
grk::DecompressBlockExec
Definition BlockExec.h:45