Profile.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/>.
*
*
* This source code incorporates work covered by the BSD 2-clause license.
* Please see the LICENSE file in the root directory for details.
*
*/
#include "grk_includes.h"
namespace grk
{
class GrkImage;
class Profile
{
public:
static void initialise_4K_poc(grk_progression* POC, uint8_t numres);
static void set_cinema_parameters(grk_cparameters* parameters, GrkImage* image);
static bool is_cinema_compliant(GrkImage* image, uint16_t rsiz);
static void set_imf_parameters(grk_cparameters* parameters, GrkImage* image);
static bool is_imf_compliant(grk_cparameters* parameters, GrkImage* image);
static void set_broadcast_parameters(grk_cparameters* parameters);
static bool is_broadcast_compliant(grk_cparameters* parameters, GrkImage* image);
private:
static int get_imf_max_NL(grk_cparameters* parameters, GrkImage* image);
static int get_broadcast_max_NL(grk_cparameters* parameters, GrkImage* image);
};
} // namespace grk
grk::GrkImage
Definition GrkImage.h:25
grk::Profile
Definition Profile.h:29
grk::Profile::is_cinema_compliant
static bool is_cinema_compliant(GrkImage *image, uint16_t rsiz)
Definition Profile.cpp:1151
grk::Profile::get_imf_max_NL
static int get_imf_max_NL(grk_cparameters *parameters, GrkImage *image)
Definition Profile.cpp:32
grk::Profile::initialise_4K_poc
static void initialise_4K_poc(grk_progression *POC, uint8_t numres)
Definition Profile.cpp:987
grk::Profile::set_broadcast_parameters
static void set_broadcast_parameters(grk_cparameters *parameters)
Definition Profile.cpp:671
grk::Profile::is_broadcast_compliant
static bool is_broadcast_compliant(grk_cparameters *parameters, GrkImage *image)
Definition Profile.cpp:718
grk::Profile::set_cinema_parameters
static void set_cinema_parameters(grk_cparameters *parameters, GrkImage *image)
Definition Profile.cpp:1006
grk::Profile::is_imf_compliant
static bool is_imf_compliant(grk_cparameters *parameters, GrkImage *image)
Definition Profile.cpp:154
grk::Profile::get_broadcast_max_NL
static int get_broadcast_max_NL(grk_cparameters *parameters, GrkImage *image)
Definition Profile.cpp:624
grk::Profile::set_imf_parameters
static void set_imf_parameters(grk_cparameters *parameters, GrkImage *image)
Definition Profile.cpp:79
grk_includes.h
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_cparameters
Compress parameters.
Definition grok.h:912
_grk_progression
Progression order change.
Definition grok.h:135