Grok  7.6.6
Profile.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016-2021 Grok Image Compression Inc.
3  *
4  * This source code is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Affero General Public License, version 3,
6  * as published by the Free Software Foundation.
7  *
8  * This source code is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Affero General Public License for more details.
12  *
13  * You should have received a copy of the GNU Affero General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  *
17  * This source code incorporates work covered by the BSD 2-clause license.
18  * Please see the LICENSE file in the root directory for details.
19  *
20  */
21 
22 #include "grk_includes.h"
23 
24 namespace grk {
25 
26 class GrkImage;
27 
28 class Profile {
29 public:
30  static void initialise_4K_poc(grk_progression *POC, uint8_t numres);
31  static void set_cinema_parameters(grk_cparameters *parameters, GrkImage *image);
32  static bool is_cinema_compliant(GrkImage *image, uint16_t rsiz);
33  static void set_imf_parameters(grk_cparameters *parameters, GrkImage *image);
34  static bool is_imf_compliant(grk_cparameters *parameters, GrkImage *image);
35  static void set_broadcast_parameters(grk_cparameters *parameters);
36  static bool is_broadcast_compliant(grk_cparameters *parameters, GrkImage *image);
37 private:
38 static int get_imf_max_NL(grk_cparameters *parameters, GrkImage *image);
39 static int get_broadcast_max_NL(grk_cparameters *parameters, GrkImage *image);
40 };
41 
42 }
Definition: GrkImage.h:11
Definition: Profile.h:28
static bool is_cinema_compliant(GrkImage *image, uint16_t rsiz)
Definition: Profile.cpp:1039
static int get_imf_max_NL(grk_cparameters *parameters, GrkImage *image)
Definition: Profile.cpp:32
static void initialise_4K_poc(grk_progression *POC, uint8_t numres)
Definition: Profile.cpp:881
static void set_broadcast_parameters(grk_cparameters *parameters)
Definition: Profile.cpp:597
static bool is_broadcast_compliant(grk_cparameters *parameters, GrkImage *image)
Definition: Profile.cpp:638
static void set_cinema_parameters(grk_cparameters *parameters, GrkImage *image)
Definition: Profile.cpp:899
static bool is_imf_compliant(grk_cparameters *parameters, GrkImage *image)
Definition: Profile.cpp:147
static int get_broadcast_max_NL(grk_cparameters *parameters, GrkImage *image)
Definition: Profile.cpp:549
static void set_imf_parameters(grk_cparameters *parameters, GrkImage *image)
Definition: Profile.cpp:79
Copyright (C) 2016-2021 Grok Image Compression Inc.
Definition: BitIO.cpp:23
Compress parameters.
Definition: grok.h:446
Progression order change.
Definition: grok.h:377