Grok  7.6.0
image.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016-2020 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 #pragma once
23 namespace grk {
24 
32 struct CodingParams;
33 
36 
43 
51 
52 void grk_copy_image_header(const grk_image *p_image_src,
53  grk_image *p_image_dest);
54 
55 bool update_image_dimensions(grk_image* p_image, uint32_t reduce);
56 
62 
65 }
grk::grk_image_create0
grk_image * grk_image_create0(void)
Create an empty image.
grk::transfer_image_data
void transfer_image_data(grk_image *src, grk_image *dest)
Transfer data from src to dest for each component, and null out src data.
grk::CodingParams
Coding parameters.
Definition: CodingParams.h:230
grk::grk_image_comp_header_update
void grk_image_comp_header_update(grk_image *image, const CodingParams *p_cp)
Update image components with coding parameters.
grk
Copyright (C) 2016-2020 Grok Image Compression Inc.
Definition: BitIO.h:27
grk::update_image_dimensions
bool update_image_dimensions(grk_image *p_image, uint32_t reduce)
grk::grk_copy_image_header
void grk_copy_image_header(const grk_image *p_image_src, grk_image *p_image_dest)
_grk_image
Image.
Definition: grok.h:880