Grok  7.6.0
dwt53.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 
24 #include <stdint.h>
25 
26 namespace grk {
27 
28 struct grk_dwt53 {
29  int32_t *data;
30  int64_t d_n;
31  int64_t s_n;
36 };
37 
38 class dwt53 {
39 public:
40  void encode_line(int32_t* GRK_RESTRICT a, int32_t d_n, int32_t s_n, uint8_t cas);
41 };
42 
43 }
grk::dwt53::encode_line
void encode_line(int32_t *GRK_RESTRICT a, int32_t d_n, int32_t s_n, uint8_t cas)
grk::grk_point< int64_t >
grk::grk_dwt53::s_n
int64_t s_n
Definition: dwt53.h:31
grk::grk_dwt53::interleaved_offset
int64_t interleaved_offset
Definition: dwt53.h:34
grk::grk_dwt53::range_odd
grk_pt range_odd
Definition: dwt53.h:33
grk::grk_dwt53::d_n
int64_t d_n
Definition: dwt53.h:30
grk::grk_dwt53::data
int32_t * data
Definition: dwt53.h:29
grk::dwt53
Definition: dwt53.h:38
GRK_RESTRICT
#define GRK_RESTRICT
Definition: grok_includes.h:102
grk
Copyright (C) 2016-2020 Grok Image Compression Inc.
Definition: BitIO.h:27
grk::grk_dwt53::range_even
grk_pt range_even
Definition: dwt53.h:32
grk::grk_dwt53::odd_top_left_bit
uint8_t odd_top_left_bit
Definition: dwt53.h:35
grk::grk_dwt53
Definition: dwt53.h:28