RateInfo.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
{
class RateInfo
{
public:
RateInfo();
void synch(CompressCodeblock* cblk);
uint16_t getMinimumThresh();
private:
uint16_t minimumSlope;
uint16_t maximumSlope;
};
} // namespace grk
grk::RateInfo
Definition RateInfo.h:22
grk::RateInfo::maximumSlope
uint16_t maximumSlope
Definition RateInfo.h:31
grk::RateInfo::RateInfo
RateInfo()
Definition RateInfo.cpp:21
grk::RateInfo::synch
void synch(CompressCodeblock *cblk)
Definition RateInfo.cpp:25
grk::RateInfo::minimumSlope
uint16_t minimumSlope
Definition RateInfo.h:30
grk::RateInfo::getMinimumThresh
uint16_t getMinimumThresh()
Definition RateInfo.cpp:44
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::CompressCodeblock
Definition Codeblock.h:142