OpenJPH Open-source implementation of JPEG2000 Part-15

Loading...
Searching...
No Matches
ojph_codeblock_fun.cpp
Go to the documentation of this file.
1//***************************************************************************/
2// This software is released under the 2-Clause BSD license, included
3// below.
4//
5// Copyright (c) 2019, Aous Naman
6// Copyright (c) 2019, Kakadu Software Pty Ltd, Australia
7// Copyright (c) 2019, The University of New South Wales, Australia
8//
9// Redistribution and use in source and binary forms, with or without
10// modification, are permitted provided that the following conditions are
11// met:
12//
13// 1. Redistributions of source code must retain the above copyright
14// notice, this list of conditions and the following disclaimer.
15//
16// 2. Redistributions in binary form must reproduce the above copyright
17// notice, this list of conditions and the following disclaimer in the
18// documentation and/or other materials provided with the distribution.
19//
20// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
21// IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
23// PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24// HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
26// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31//***************************************************************************/
32// This file is part of the OpenJPH software implementation.
33// File: ojph_codeblock_fun.cpp
34// Author: Aous Naman
35// Date: 28 August 2019
36//***************************************************************************/
37
38
39#include <climits>
40#include <cmath>
41
42#include "ojph_file.h"
43#include "ojph_mem.h"
44#include "ojph_params.h"
45#include "ojph_codestream.h"
46#include "ojph_codestream_local.h"
47#include "ojph_codeblock_fun.h"
48
49#include "../transform/ojph_colour.h"
50#include "../transform/ojph_transform.h"
51#include "../coding/ojph_block_decoder.h"
52#include "../coding/ojph_block_encoder.h"
53
54 namespace ojph {
55
56 namespace local
57 {
58
60 void gen_mem_clear(void* addr, size_t count);
61 void sse_mem_clear(void* addr, size_t count);
62 void avx_mem_clear(void* addr, size_t count);
63 void wasm_mem_clear(void* addr, size_t count);
64
66 ui32 gen_find_max_val32(ui32* address);
67 ui32 sse2_find_max_val32(ui32* address);
68 ui32 avx2_find_max_val32(ui32* address);
69 ui32 wasm_find_max_val32(ui32* address);
70 ui64 gen_find_max_val64(ui64* address);
71 ui64 sse2_find_max_val64(ui64* address);
72 ui64 avx2_find_max_val64(ui64* address);
73 ui64 wasm_find_max_val64(ui64* address);
74
75
77 void gen_rev_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max,
78 float delta_inv, ui32 count, ui32* max_val);
79 void sse2_rev_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max,
80 float delta_inv, ui32 count, ui32* max_val);
81 void avx2_rev_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max,
82 float delta_inv, ui32 count, ui32* max_val);
83 void gen_irv_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max,
84 float delta_inv, ui32 count, ui32* max_val);
85 void sse2_irv_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max,
86 float delta_inv, ui32 count, ui32* max_val);
87 void avx2_irv_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max,
88 float delta_inv, ui32 count, ui32* max_val);
89 void wasm_rev_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max,
90 float delta_inv, ui32 count, ui32* max_val);
91 void wasm_irv_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max,
92 float delta_inv, ui32 count, ui32* max_val);
93
94 void gen_rev_tx_to_cb64(const void *sp, ui64 *dp, ui32 K_max,
95 float delta_inv, ui32 count, ui64* max_val);
96 void sse2_rev_tx_to_cb64(const void *sp, ui64 *dp, ui32 K_max,
97 float delta_inv, ui32 count, ui64* max_val);
98 void avx2_rev_tx_to_cb64(const void *sp, ui64 *dp, ui32 K_max,
99 float delta_inv, ui32 count, ui64* max_val);
100 void wasm_rev_tx_to_cb64(const void *sp, ui64 *dp, ui32 K_max,
101 float delta_inv, ui32 count, ui64* max_val);
102
104 void gen_rev_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max,
105 float delta, ui32 count);
106 void sse2_rev_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max,
107 float delta, ui32 count);
108 void avx2_rev_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max,
109 float delta, ui32 count);
110 void gen_irv_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max,
111 float delta, ui32 count);
112 void sse2_irv_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max,
113 float delta, ui32 count);
114 void avx2_irv_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max,
115 float delta, ui32 count);
116 void wasm_rev_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max,
117 float delta, ui32 count);
118 void wasm_irv_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max,
119 float delta, ui32 count);
120
121 void gen_rev_tx_from_cb64(const ui64 *sp, void *dp, ui32 K_max,
122 float delta, ui32 count);
123 void sse2_rev_tx_from_cb64(const ui64 *sp, void *dp, ui32 K_max,
124 float delta, ui32 count);
125 void avx2_rev_tx_from_cb64(const ui64 *sp, void *dp, ui32 K_max,
126 float delta, ui32 count);
127 void wasm_rev_tx_from_cb64(const ui64 *sp, void *dp, ui32 K_max,
128 float delta, ui32 count);
129
130 void codeblock_fun::init(bool reversible) {
131
132#if !defined(OJPH_ENABLE_WASM_SIMD) || !defined(OJPH_EMSCRIPTEN)
133
134 // Default path, no acceleration. We may change this later
135 decode_cb32 = ojph_decode_codeblock32;
136 find_max_val32 = gen_find_max_val32;
137 mem_clear = gen_mem_clear;
138 if (reversible) {
139 tx_to_cb32 = gen_rev_tx_to_cb32;
140 tx_from_cb32 = gen_rev_tx_from_cb32;
141 }
142 else
143 {
144 tx_to_cb32 = gen_irv_tx_to_cb32;
145 tx_from_cb32 = gen_irv_tx_from_cb32;
146 }
147 encode_cb32 = ojph_encode_codeblock32;
148
149 decode_cb64 = ojph_decode_codeblock64;
150 find_max_val64 = gen_find_max_val64;
151 if (reversible) {
152 tx_to_cb64 = gen_rev_tx_to_cb64;
153 tx_from_cb64 = gen_rev_tx_from_cb64;
154 }
155 else
156 {
157 tx_to_cb64 = NULL;
158 tx_from_cb64 = NULL;
159 }
160 encode_cb64 = ojph_encode_codeblock64;
161 bool result = initialize_block_encoder_tables();
162 assert(result); ojph_unused(result);
163
164 #ifndef OJPH_DISABLE_SIMD
165
166 #if (defined(OJPH_ARCH_X86_64) || defined(OJPH_ARCH_I386))
167
168 // Accelerated functions for INTEL/AMD CPUs
169 #ifndef OJPH_DISABLE_SSE
170 if (get_cpu_ext_level() >= X86_CPU_EXT_LEVEL_SSE)
171 mem_clear = sse_mem_clear;
172 #endif // !OJPH_DISABLE_SSE
173
174 #ifndef OJPH_DISABLE_SSE2
175 if (get_cpu_ext_level() >= X86_CPU_EXT_LEVEL_SSE2) {
176 find_max_val32 = sse2_find_max_val32;
177 if (reversible) {
178 tx_to_cb32 = sse2_rev_tx_to_cb32;
179 tx_from_cb32 = sse2_rev_tx_from_cb32;
180 }
181 else {
182 tx_to_cb32 = sse2_irv_tx_to_cb32;
183 tx_from_cb32 = sse2_irv_tx_from_cb32;
184 }
185 find_max_val64 = sse2_find_max_val64;
186 if (reversible) {
187 tx_to_cb64 = sse2_rev_tx_to_cb64;
188 tx_from_cb64 = sse2_rev_tx_from_cb64;
189 }
190 else
191 {
192 tx_to_cb64 = NULL;
193 tx_from_cb64 = NULL;
194 }
195 }
196 #endif // !OJPH_DISABLE_SSE2
197
198 #ifndef OJPH_DISABLE_SSSE3
199 if (get_cpu_ext_level() >= X86_CPU_EXT_LEVEL_SSSE3)
200 decode_cb32 = ojph_decode_codeblock_ssse3;
201 #endif // !OJPH_DISABLE_SSSE3
202
203 #ifndef OJPH_DISABLE_AVX
204 if (get_cpu_ext_level() >= X86_CPU_EXT_LEVEL_AVX)
205 mem_clear = avx_mem_clear;
206 #endif // !OJPH_DISABLE_AVX
207
208 #ifndef OJPH_DISABLE_AVX2
209 if (get_cpu_ext_level() >= X86_CPU_EXT_LEVEL_AVX2) {
210 decode_cb32 = ojph_decode_codeblock_avx2;
211 find_max_val32 = avx2_find_max_val32;
212 if (reversible) {
213 tx_to_cb32 = avx2_rev_tx_to_cb32;
214 tx_from_cb32 = avx2_rev_tx_from_cb32;
215 }
216 else {
217 tx_to_cb32 = avx2_irv_tx_to_cb32;
218 tx_from_cb32 = avx2_irv_tx_from_cb32;
219 }
220 encode_cb32 = ojph_encode_codeblock_avx2;
221 bool result = initialize_block_encoder_tables_avx2();
222 assert(result); ojph_unused(result);
223
224 find_max_val64 = avx2_find_max_val64;
225 if (reversible) {
226 tx_to_cb64 = avx2_rev_tx_to_cb64;
227 tx_from_cb64 = avx2_rev_tx_from_cb64;
228 }
229 else
230 {
231 tx_to_cb64 = NULL;
232 tx_from_cb64 = NULL;
233 }
234 }
235 #endif // !OJPH_DISABLE_AVX2
236
237 #if (defined(OJPH_ARCH_X86_64) && !defined(OJPH_DISABLE_AVX512))
238 if (get_cpu_ext_level() >= X86_CPU_EXT_LEVEL_AVX512) {
239 encode_cb32 = ojph_encode_codeblock_avx512;
240 bool result = initialize_block_encoder_tables_avx512();
241 assert(result); ojph_unused(result);
242 }
243 #endif // !OJPH_DISABLE_AVX512
244
245 #elif defined(OJPH_ARCH_ARM)
246
247 #endif // !(defined(OJPH_ARCH_X86_64) || defined(OJPH_ARCH_I386))
248
249 #endif // !OJPH_DISABLE_SIMD
250
251#else // OJPH_ENABLE_WASM_SIMD
252
253 // Accelerated functions for WASM SIMD.
254 decode_cb32 = ojph_decode_codeblock_wasm;
255 find_max_val32 = wasm_find_max_val32;
256 mem_clear = wasm_mem_clear;
257 if (reversible) {
258 tx_to_cb32 = wasm_rev_tx_to_cb32;
259 tx_from_cb32 = wasm_rev_tx_from_cb32;
260 }
261 else {
262 tx_to_cb32 = wasm_irv_tx_to_cb32;
263 tx_from_cb32 = wasm_irv_tx_from_cb32;
264 }
265 encode_cb32 = ojph_encode_codeblock32;
266
267 decode_cb64 = ojph_decode_codeblock64;
268 find_max_val64 = wasm_find_max_val64;
269 if (reversible) {
270 tx_to_cb64 = wasm_rev_tx_to_cb64;
271 tx_from_cb64 = wasm_rev_tx_from_cb64;
272 }
273 else
274 {
275 tx_to_cb64 = NULL;
276 tx_from_cb64 = NULL;
277 }
278 encode_cb64 = ojph_encode_codeblock64;
279 bool result = initialize_block_encoder_tables();
280 assert(result); ojph_unused(result);
281
282#endif // !OJPH_ENABLE_WASM_SIMD
283
284 }
285 } // local
286} // ojph
ojph::local
Definition ojph_bitbuffer_read.h:52
ojph::local::ojph_decode_codeblock_wasm
bool ojph_decode_codeblock_wasm(ui8 *coded_data, ui32 *decoded_data, ui32 missing_msbs, ui32 num_passes, ui32 lengths1, ui32 lengths2, ui32 width, ui32 height, ui32 stride, bool stripe_causal)
Decodes one codeblock, processing the cleanup, siginificance propagation, and magnitude refinement pa...
Definition ojph_block_decoder_wasm.cpp:1051
ojph::local::gen_rev_tx_to_cb64
void gen_rev_tx_to_cb64(const void *sp, ui64 *dp, ui32 K_max, float delta_inv, ui32 count, ui64 *max_val)
Definition ojph_codestream_gen.cpp:81
ojph::local::avx2_find_max_val64
ui64 avx2_find_max_val64(ui64 *address)
ojph::local::wasm_rev_tx_to_cb64
void wasm_rev_tx_to_cb64(const void *sp, ui64 *dp, ui32 K_max, float delta_inv, ui32 count, ui64 *max_val)
Definition ojph_codestream_wasm.cpp:220
ojph::local::avx2_irv_tx_to_cb32
void avx2_irv_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
ojph::local::initialize_block_encoder_tables_avx512
bool initialize_block_encoder_tables_avx512()
ojph::local::sse2_rev_tx_from_cb32
void sse2_rev_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
ojph::local::avx2_rev_tx_from_cb64
void avx2_rev_tx_from_cb64(const ui64 *sp, void *dp, ui32 K_max, float delta, ui32 count)
ojph::local::sse2_find_max_val32
ui32 sse2_find_max_val32(ui32 *address)
ojph::local::wasm_find_max_val32
ui32 wasm_find_max_val32(ui32 *address)
Definition ojph_codestream_wasm.cpp:57
ojph::local::sse2_find_max_val64
ui64 sse2_find_max_val64(ui64 *address)
ojph::local::ojph_decode_codeblock_ssse3
bool ojph_decode_codeblock_ssse3(ui8 *coded_data, ui32 *decoded_data, ui32 missing_msbs, ui32 num_passes, ui32 lengths1, ui32 lengths2, ui32 width, ui32 height, ui32 stride, bool stripe_causal)
ojph::local::wasm_rev_tx_from_cb32
void wasm_rev_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
Definition ojph_codestream_wasm.cpp:177
ojph::local::avx_mem_clear
void avx_mem_clear(void *addr, size_t count)
ojph::local::avx2_find_max_val32
ui32 avx2_find_max_val32(ui32 *address)
ojph::local::avx2_rev_tx_to_cb32
void avx2_rev_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
ojph::local::wasm_rev_tx_from_cb64
void wasm_rev_tx_from_cb64(const ui64 *sp, void *dp, ui32 K_max, float delta, ui32 count)
Definition ojph_codestream_wasm.cpp:267
ojph::local::ojph_encode_codeblock32
void ojph_encode_codeblock32(ui32 *buf, ui32 missing_msbs, ui32 num_passes, ui32 width, ui32 height, ui32 stride, ui32 *lengths, ojph::mem_elastic_allocator *elastic, ojph::coded_lists *&coded)
Definition ojph_block_encoder.cpp:542
ojph::local::ojph_encode_codeblock64
void ojph_encode_codeblock64(ui64 *buf, ui32 missing_msbs, ui32 num_passes, ui32 width, ui32 height, ui32 stride, ui32 *lengths, ojph::mem_elastic_allocator *elastic, ojph::coded_lists *&coded)
Definition ojph_block_encoder.cpp:1026
ojph::local::sse2_rev_tx_to_cb32
void sse2_rev_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
ojph::local::gen_irv_tx_from_cb32
void gen_irv_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
Definition ojph_codestream_gen.cpp:156
ojph::local::gen_irv_tx_to_cb32
void gen_irv_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
Definition ojph_codestream_gen.cpp:103
ojph::local::ojph_encode_codeblock_avx2
void ojph_encode_codeblock_avx2(ui32 *buf, ui32 missing_msbs, ui32 num_passes, ui32 width, ui32 height, ui32 stride, ui32 *lengths, ojph::mem_elastic_allocator *elastic, ojph::coded_lists *&coded)
ojph::local::wasm_irv_tx_to_cb32
void wasm_irv_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
Definition ojph_codestream_wasm.cpp:127
ojph::local::wasm_find_max_val64
ui64 wasm_find_max_val64(ui64 *address)
Definition ojph_codestream_wasm.cpp:69
ojph::local::sse2_rev_tx_to_cb64
void sse2_rev_tx_to_cb64(const void *sp, ui64 *dp, ui32 K_max, float delta_inv, ui32 count, ui64 *max_val)
ojph::local::gen_mem_clear
void gen_mem_clear(void *addr, size_t count)
Definition ojph_codestream_gen.cpp:45
ojph::local::gen_rev_tx_from_cb64
void gen_rev_tx_from_cb64(const ui64 *sp, void *dp, ui32 K_max, float delta, ui32 count)
Definition ojph_codestream_gen.cpp:140
ojph::local::sse_mem_clear
void sse_mem_clear(void *addr, size_t count)
ojph::local::ojph_decode_codeblock32
bool ojph_decode_codeblock32(ui8 *coded_data, ui32 *decoded_data, ui32 missing_msbs, ui32 num_passes, ui32 lengths1, ui32 lengths2, ui32 width, ui32 height, ui32 stride, bool stripe_causal)
Decodes one codeblock, processing the cleanup, siginificance propagation, and magnitude refinement pa...
Definition ojph_block_decoder32.cpp:742
ojph::local::avx2_rev_tx_to_cb64
void avx2_rev_tx_to_cb64(const void *sp, ui64 *dp, ui32 K_max, float delta_inv, ui32 count, ui64 *max_val)
ojph::local::gen_find_max_val64
ui64 gen_find_max_val64(ui64 *address)
Definition ojph_codestream_gen.cpp:56
ojph::local::sse2_irv_tx_from_cb32
void sse2_irv_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
ojph::local::wasm_mem_clear
void wasm_mem_clear(void *addr, size_t count)
Definition ojph_codestream_wasm.cpp:48
ojph::local::gen_rev_tx_from_cb32
void gen_rev_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
Definition ojph_codestream_gen.cpp:124
ojph::local::wasm_rev_tx_to_cb32
void wasm_rev_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
Definition ojph_codestream_wasm.cpp:79
ojph::local::avx2_rev_tx_from_cb32
void avx2_rev_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
ojph::local::ojph_decode_codeblock_avx2
bool ojph_decode_codeblock_avx2(ui8 *coded_data, ui32 *decoded_data, ui32 missing_msbs, ui32 num_passes, ui32 lengths1, ui32 lengths2, ui32 width, ui32 height, ui32 stride, bool stripe_causal)
ojph::local::sse2_rev_tx_from_cb64
void sse2_rev_tx_from_cb64(const ui64 *sp, void *dp, ui32 K_max, float delta, ui32 count)
ojph::local::initialize_block_encoder_tables
bool initialize_block_encoder_tables()
Definition ojph_block_encoder.cpp:260
ojph::local::gen_rev_tx_to_cb32
void gen_rev_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
Definition ojph_codestream_gen.cpp:59
ojph::local::initialize_block_encoder_tables_avx2
bool initialize_block_encoder_tables_avx2()
ojph::local::gen_find_max_val32
ui32 gen_find_max_val32(ui32 *address)
Definition ojph_codestream_gen.cpp:53
ojph::local::wasm_irv_tx_from_cb32
void wasm_irv_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
Definition ojph_codestream_wasm.cpp:200
ojph::local::sse2_irv_tx_to_cb32
void sse2_irv_tx_to_cb32(const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
ojph::local::ojph_encode_codeblock_avx512
void ojph_encode_codeblock_avx512(ui32 *buf, ui32 missing_msbs, ui32 num_passes, ui32 width, ui32 height, ui32 stride, ui32 *lengths, ojph::mem_elastic_allocator *elastic, ojph::coded_lists *&coded)
ojph::local::avx2_irv_tx_from_cb32
void avx2_irv_tx_from_cb32(const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
ojph::local::ojph_decode_codeblock64
bool ojph_decode_codeblock64(ui8 *coded_data, ui64 *decoded_data, ui32 missing_msbs, ui32 num_passes, ui32 lengths1, ui32 lengths2, ui32 width, ui32 height, ui32 stride, bool stripe_causal)
Decodes one codeblock, processing the cleanup, siginificance propagation, and magnitude refinement pa...
Definition ojph_block_decoder64.cpp:766
ojph
Definition ojph_img_io.h:52
ojph::ui64
uint64_t ui64
Definition ojph_defs.h:56
ojph::get_cpu_ext_level
OJPH_EXPORT int get_cpu_ext_level()
Definition ojph_arch.cpp:260
ojph::ui32
uint32_t ui32
Definition ojph_defs.h:54
ojph::X86_CPU_EXT_LEVEL_AVX2
@ X86_CPU_EXT_LEVEL_AVX2
Definition ojph_arch.h:142
ojph::X86_CPU_EXT_LEVEL_AVX
@ X86_CPU_EXT_LEVEL_AVX
Definition ojph_arch.h:141
ojph::X86_CPU_EXT_LEVEL_AVX512
@ X86_CPU_EXT_LEVEL_AVX512
Definition ojph_arch.h:144
ojph::X86_CPU_EXT_LEVEL_SSE2
@ X86_CPU_EXT_LEVEL_SSE2
Definition ojph_arch.h:136
ojph::X86_CPU_EXT_LEVEL_SSE
@ X86_CPU_EXT_LEVEL_SSE
Definition ojph_arch.h:135
ojph::X86_CPU_EXT_LEVEL_SSSE3
@ X86_CPU_EXT_LEVEL_SSSE3
Definition ojph_arch.h:138
ojph_block_decoder.h
ojph_block_encoder.h
ojph_codeblock_fun.h
ojph_codestream.h
ojph_codestream_local.h
ojph_colour.h
ojph_unused
#define ojph_unused(x)
Definition ojph_defs.h:78
ojph_file.h
ojph_mem.h
ojph_params.h
ojph_transform.h
ojph::local::codeblock_fun::tx_to_cb64
tx_to_cb_fun64 tx_to_cb64
Definition ojph_codeblock_fun.h:106
ojph::local::codeblock_fun::encode_cb64
cb_encoder_fun64 encode_cb64
Definition ojph_codeblock_fun.h:118
ojph::local::codeblock_fun::init
void init(bool reversible)
Definition ojph_codeblock_fun.cpp:130
ojph::local::codeblock_fun::find_max_val32
find_max_val_fun32 find_max_val32
Definition ojph_codeblock_fun.h:101
ojph::local::codeblock_fun::tx_from_cb32
tx_from_cb_fun32 tx_from_cb32
Definition ojph_codeblock_fun.h:109
ojph::local::codeblock_fun::tx_to_cb32
tx_to_cb_fun32 tx_to_cb32
Definition ojph_codeblock_fun.h:105
ojph::local::codeblock_fun::find_max_val64
find_max_val_fun64 find_max_val64
Definition ojph_codeblock_fun.h:102
ojph::local::codeblock_fun::decode_cb32
cb_decoder_fun32 decode_cb32
Definition ojph_codeblock_fun.h:113
ojph::local::codeblock_fun::encode_cb32
cb_encoder_fun32 encode_cb32
Definition ojph_codeblock_fun.h:117
ojph::local::codeblock_fun::mem_clear
mem_clear_fun mem_clear
Definition ojph_codeblock_fun.h:98
ojph::local::codeblock_fun::decode_cb64
cb_decoder_fun64 decode_cb64
Definition ojph_codeblock_fun.h:114
ojph::local::codeblock_fun::tx_from_cb64
tx_from_cb_fun64 tx_from_cb64
Definition ojph_codeblock_fun.h:110