OPJ_UINT32 cw
Definition: tcd.h:150
OPJ_INT32 *OPJ_RESTRICT tiledp
Definition: dwt.c:1214
OPJ_UINT32 rh
Definition: dwt.c:1212
opj_v8dwt_t h
Definition: dwt.c:3211
float OPJ_FLOAT32
Definition: openjpeg.h:121
OPJ_INT32 * decoded_data
Definition: tcd.h:143
opj_dwt_t v
Definition: dwt.c:2035
opj_dwt_t h
Definition: dwt.c:2011
OPJ_INT32 *OPJ_RESTRICT tiledp
Definition: dwt.c:2038
static OPJ_BOOL opj_dwt_encode_procedure(opj_thread_pool_t *tp, opj_tcd_tilecomp_t *tilec, opj_encode_and_deinterleave_v_fnptr_type p_encode_and_deinterleave_v, opj_encode_and_deinterleave_h_one_row_fnptr_type p_encode_and_deinterleave_h_one_row)
Definition: dwt.c:1720
static void opj_dwt_segment_grow(OPJ_UINT32 filter_width, OPJ_UINT32 max_size, OPJ_UINT32 *start, OPJ_UINT32 *end)
Definition: dwt.c:2552
OPJ_FLOAT64 opj_dwt_getnorm_real(OPJ_UINT32 level, OPJ_UINT32 orient)
Get the norm of a wavelet function of a subband at a specified level for the irreversible 9-7 DWT.
Definition: dwt.c:1953
OPJ_UINT32 win_l_x0
Definition: dwt.c:101
OPJ_UINT32 win_x0
Definition: tcd.h:220
OPJ_UINT32 nb_columns
Definition: dwt.c:3264
static void opj_dwt_encode_and_deinterleave_v_real(void *arrayIn, void *tmpIn, OPJ_UINT32 height, OPJ_BOOL even, OPJ_UINT32 stride_width, OPJ_UINT32 cols)
Definition: dwt.c:1650
static void opj_dwt_encode_1_real(void *a, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas)
Forward 9-7 wavelet transform in 1-D.
Definition: dwt.c:1041
OPJ_INT32 sn
Definition: dwt.c:99
static void opj_dwt_encode_step1_combined(OPJ_FLOAT32 *fw, OPJ_UINT32 iters_c1, OPJ_UINT32 iters_c2, const OPJ_FLOAT32 c1, const OPJ_FLOAT32 c2)
Definition: dwt.c:971
void opj_dwt_calc_explicit_stepsizes(opj_tccp_t *tccp, OPJ_UINT32 prec)
Explicit calculation of the Quantization Stepsizes.
Definition: dwt.c:1966
static INLINE OPJ_INT32 opj_int_abs(OPJ_INT32 a)
Definition: opj_intmath.h:152
static INLINE OPJ_INT32 opj_int_floorlog2(OPJ_INT32 a)
Get logarithm of an integer and round downwards.
Definition: opj_intmath.h:225
OPJ_INT32 x0
Definition: tcd.h:164
static OPJ_UINT32 opj_dwt_max_resolution(opj_tcd_resolution_t *OPJ_RESTRICT r, OPJ_UINT32 i)
Definition: dwt.c:1993
OPJ_UINT32 numresolutions
number of resolutions
Definition: j2k.h:183
#define OPJ_D__off(i, off)
Definition: dwt.c:2364
#define PARALLEL_COLS_53
Number of columns that we can process in parallel in the vertical pass.
Definition: dwt.c:78
OPJ_UINT32 win_y0
Definition: tcd.h:221
static const OPJ_FLOAT32 opj_dwt_delta
Definition: dwt.c:111
static INLINE OPJ_INT32 opj_int_min(OPJ_INT32 a, OPJ_INT32 b)
Get the minimum of two integers.
Definition: opj_intmath.h:56
OPJ_INT32 x0
Definition: tcd.h:178
OPJ_FLOAT32 *OPJ_RESTRICT aj
Definition: dwt.c:3263
OPJ_INT32 y1
Definition: tcd.h:178
OPJ_INT32 x1
Definition: tcd.h:178
OPJ_UINT32 min_j
Definition: dwt.c:2015
OPJ_UINT32 rw
Definition: dwt.c:2012
static void opj_dwt_encode_step2(OPJ_FLOAT32 *fl, OPJ_FLOAT32 *fw, OPJ_UINT32 end, OPJ_UINT32 m, OPJ_FLOAT32 c)
Definition: dwt.c:1012
opj_v8_t * wavelet
Definition: dwt.c:97
static void opj_dwt_encode_and_deinterleave_h_one_row_real(void *rowIn, void *tmpIn, OPJ_UINT32 width, OPJ_BOOL even)
Process one line for the horizontal pass of the 9x7 forward transform.
Definition: dwt.c:1164
opj_dwt_t v
Definition: dwt.c:1211
OPJ_INT32 x1
Definition: tcd.h:124
static void opj_v8dwt_decode_step1(opj_v8_t *w, OPJ_UINT32 start, OPJ_UINT32 end, const OPJ_FLOAT32 c)
Definition: dwt.c:3075
static OPJ_BOOL opj_dwt_decode_partial_97(opj_tcd_tilecomp_t *OPJ_RESTRICT tilec, OPJ_UINT32 numres)
Definition: dwt.c:3524
#define SIZE_MAX
Definition: opj_malloc.c:40
opj_tcd_band_t bands[3]
Definition: tcd.h:184
static void opj_dwt_interleave_partial_v(OPJ_INT32 *dest, OPJ_INT32 cas, opj_sparse_array_int32_t *sa, OPJ_UINT32 sa_col, OPJ_UINT32 nb_cols, OPJ_UINT32 sn, OPJ_UINT32 win_l_y0, OPJ_UINT32 win_l_y1, OPJ_UINT32 win_h_y0, OPJ_UINT32 win_h_y1)
Definition: dwt.c:2256
void(* opj_encode_and_deinterleave_v_fnptr_type)(void *array, void *tmp, OPJ_UINT32 height, OPJ_BOOL even, OPJ_UINT32 stride_width, OPJ_UINT32 cols)
Definition: dwt.c:152
opj_dwt_t h
Definition: dwt.c:1184
static void opj_idwt53_h_cas1(OPJ_INT32 *tmp, const OPJ_INT32 sn, const OPJ_INT32 len, OPJ_INT32 *tiledp)
Definition: dwt.c:404
#define OPJ_S_(i)
Definition: dwt.c:186
static OPJ_BOOL opj_dwt_decode_partial_tile(opj_tcd_tilecomp_t *tilec, OPJ_UINT32 numres)
Definition: dwt.c:2619
OPJ_BOOL opj_dwt_decode_real(opj_tcd_t *p_tcd, opj_tcd_tilecomp_t *OPJ_RESTRICT tilec, OPJ_UINT32 numres)
Inverse 9-7 wavelet transform in 2-D.
Definition: dwt.c:3758
OPJ_UINT32 w
Definition: dwt.c:3262
static void opj_idwt53_v(const opj_dwt_t *dwt, OPJ_INT32 *tiledp_col, OPJ_SIZE_T stride, OPJ_INT32 nb_cols)
Definition: dwt.c:876
static const OPJ_FLOAT32 opj_K
Definition: dwt.c:113
OPJ_BOOL opj_thread_pool_submit_job(opj_thread_pool_t *tp, opj_job_fn job_fn, void *user_data)
Submit a new job to be run by one of the thread in the thread pool.
Definition: thread.c:827
opj_encode_and_deinterleave_v_fnptr_type p_encode_and_deinterleave_v
Definition: dwt.c:1217
OPJ_INT32 *OPJ_RESTRICT tiledp
Definition: dwt.c:2014
OPJ_UINT32 w
Definition: dwt.c:2037
OPJ_UINT32 min_j
Definition: dwt.c:1215
OPJ_BOOL opj_dwt_decode(opj_tcd_t *p_tcd, opj_tcd_tilecomp_t *tilec, OPJ_UINT32 numres)
Inverse 5-3 wavelet transform in 2-D.
Definition: dwt.c:1913
OPJ_INT32 x1
Definition: tcd.h:196
#define INLINE
Definition: openjpeg.h:65
OPJ_UINT32 ph
Definition: tcd.h:180
OPJ_UINT32 win_h_x0
Definition: dwt.c:103
OPJ_INT32 y1
Definition: tcd.h:124
OPJ_UINT32 max_j
Definition: dwt.c:1216
OPJ_UINT32 win_h_x1
Definition: dwt.c:104
static const OPJ_FLOAT32 opj_invK
Definition: dwt.c:114
OPJ_UINT32 rh
Definition: dwt.c:2036
opj_tcd_resolution_t * resolutions
Definition: tcd.h:204
static INLINE void opj_dwt_deinterleave_v_cols(const OPJ_INT32 *OPJ_RESTRICT src, OPJ_INT32 *OPJ_RESTRICT dst, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_UINT32 stride_width, OPJ_INT32 cas, OPJ_UINT32 cols)
Definition: dwt.c:1282
OPJ_BOOL opj_dwt_encode(opj_tcd_t *p_tcd, opj_tcd_tilecomp_t *tilec)
Forward 5-3 wavelet transform in 2-D.
Definition: dwt.c:1902
OPJ_FLOAT64 opj_dwt_getnorm(OPJ_UINT32 level, OPJ_UINT32 orient)
Get the norm of a wavelet function of a subband at a specified level for the reversible 5-3 DWT.
Definition: dwt.c:1926
double OPJ_FLOAT64
Definition: openjpeg.h:122
opj_stepsize_t stepsizes[OPJ_J2K_MAXBANDS]
stepsizes used for quantization
Definition: j2k.h:195
static void opj_idwt3_v_cas0(OPJ_INT32 *tmp, const OPJ_INT32 sn, const OPJ_INT32 len, OPJ_INT32 *tiledp_col, const OPJ_SIZE_T stride)
Vertical inverse 5x3 wavelet transform for one column, when top-most pixel is on even coordinate.
Definition: dwt.c:775
#define OPJ_D_off(i, off)
Definition: dwt.c:2362
OPJ_INT32 x0
Definition: tcd.h:196
OPJ_UINT32 pw
Definition: tcd.h:180
OPJ_INT32 x0
Definition: tcd.h:124
opj_encode_and_deinterleave_h_one_row_fnptr_type p_function
Definition: dwt.c:1190
struct v8dwt_local opj_v8dwt_t
static void opj_dwt97_decode_h_func(void *user_data, opj_tls_t *tls)
Definition: dwt.c:3218
OPJ_INT32 cas
Definition: dwt.c:100
OPJ_BOOL opj_dwt_encode_real(opj_tcd_t *p_tcd, opj_tcd_tilecomp_t *tilec)
Forward 9-7 wavelet transform in 2-D.
Definition: dwt.c:1942
Quantization stepsize.
Definition: j2k.h:169
OPJ_UINT32 w
Definition: dwt.c:1186
OPJ_UINT32 w
Definition: dwt.c:2013
OPJ_BOOL whole_tile_decoding
Only valid for decoding.
Definition: tcd.h:287
static void opj_dwt_encode_stepsize(OPJ_INT32 stepsize, OPJ_INT32 numbps, opj_stepsize_t *bandno_stepsize)
Explicit calculation of the Quantization Stepsizes.
Definition: dwt.c:1092
int opj_thread_pool_get_thread_count(opj_thread_pool_t *tp)
Return the number of threads associated with the thread pool.
Definition: thread.c:914
OPJ_FLOAT64 opj_dwt_getnorm_real(OPJ_UINT32 level, OPJ_UINT32 orient)
Get the norm of a wavelet function of a subband at a specified level for the irreversible 9-7 DWT.
Definition: dwt.c:1953
OPJ_INT32 mant
mantissa
Definition: j2k.h:173
OPJ_INT32 expn
exponent
Definition: j2k.h:171
static OPJ_BOOL opj_dwt_decode_tile_97(opj_thread_pool_t *tp, opj_tcd_tilecomp_t *OPJ_RESTRICT tilec, OPJ_UINT32 numres)
Definition: dwt.c:3301
static const OPJ_FLOAT32 opj_dwt_beta
Definition: dwt.c:109
OPJ_UINT32 minimum_num_resolutions
Definition: tcd.h:202
#define OPJ_UNUSED(x)
Definition: jp2.c:47
static INLINE OPJ_UINT32 opj_uint_adds(OPJ_UINT32 a, OPJ_UINT32 b)
Get the saturated sum of two unsigned integers.
Definition: opj_intmath.h:92
OPJ_UINT32 max_j
Definition: dwt.c:1189
int OPJ_BOOL
Definition: openjpeg.h:116
void * opj_aligned_32_malloc(size_t size)
Allocate memory aligned to a 32 byte boundary.
Definition: opj_malloc.c:216
size_t OPJ_SIZE_T
Definition: openjpeg.h:139
Precinct structure.
Definition: tcd.h:147
void(* opj_encode_and_deinterleave_h_one_row_fnptr_type)(void *row, void *tmp, OPJ_UINT32 width, OPJ_BOOL even)
Definition: dwt.c:161
static void opj_dwt_encode_and_deinterleave_v(void *arrayIn, void *tmpIn, OPJ_UINT32 height, OPJ_BOOL even, OPJ_UINT32 stride_width, OPJ_UINT32 cols)
Definition: dwt.c:1340
static const OPJ_FLOAT32 opj_dwt_gamma
Definition: dwt.c:110
OPJ_UINT32 max_j
Definition: dwt.c:2016
static void opj_dwt97_decode_v_func(void *user_data, opj_tls_t *tls)
Definition: dwt.c:3267
Tile-component resolution structure.
Definition: tcd.h:176
OPJ_FLOAT64 opj_dwt_getnorm(OPJ_UINT32 level, OPJ_UINT32 orient)
Get the norm of a wavelet function of a subband at a specified level for the reversible 5-3 DWT.
Definition: dwt.c:1926
OPJ_INT32 dn
Definition: dwt.c:98
Tile-component structure.
Definition: tcd.h:194
#define NB_ELTS_V8
Definition: dwt.c:90
static void opj_dwt_deinterleave_h(const OPJ_INT32 *OPJ_RESTRICT a, OPJ_INT32 *OPJ_RESTRICT b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas)
Forward lazy transform (horizontal)
Definition: dwt.c:225
Sub-band structure.
Definition: tcd.h:162
OPJ_INT32 * data_win
data of the component limited to window of interest.
Definition: tcd.h:218
static void opj_dwt_interleave_partial_h(OPJ_INT32 *dest, OPJ_INT32 cas, opj_sparse_array_int32_t *sa, OPJ_UINT32 sa_line, OPJ_UINT32 sn, OPJ_UINT32 win_l_x0, OPJ_UINT32 win_l_x1, OPJ_UINT32 win_h_x0, OPJ_UINT32 win_h_x1)
Definition: dwt.c:2229
OPJ_UINT32 numbands
Definition: tcd.h:182
OPJ_BOOL opj_dwt_encode_real(opj_tcd_t *p_tcd, opj_tcd_tilecomp_t *tilec)
Forward 9-7 wavelet transform in 2-D.
Definition: dwt.c:1942
int32_t OPJ_INT32
Definition: openjpeg.h:131
static void opj_v8dwt_decode_step2(opj_v8_t *l, opj_v8_t *w, OPJ_UINT32 start, OPJ_UINT32 end, OPJ_UINT32 m, OPJ_FLOAT32 c)
Definition: dwt.c:3095
#define VREG_INT_COUNT
Number of int32 values in a SSE2 register.
Definition: dwt.c:74
static void opj_v8dwt_decode(opj_v8dwt_t *OPJ_RESTRICT dwt)
Definition: dwt.c:3141
OPJ_INT32 cas
Definition: dwt.c:87
OPJ_UINT32 win_x0
Definition: tcd.h:187
OPJ_INT32 *OPJ_RESTRICT tiledp
Definition: dwt.c:1187
OPJ_INT32 y0
Definition: tcd.h:178
static INLINE void opj_v8dwt_interleave_v(opj_v8dwt_t *OPJ_RESTRICT dwt, OPJ_FLOAT32 *OPJ_RESTRICT a, OPJ_UINT32 width, OPJ_UINT32 nb_elts_read)
Definition: dwt.c:2975
static const OPJ_FLOAT64 opj_dwt_norms_real[4][10]
Definition: dwt.c:209
#define OPJ_RESTRICT
Definition: opj_includes.h:121
OPJ_UINT32 win_y1
Definition: tcd.h:223
static void opj_v8dwt_interleave_h(opj_v8dwt_t *OPJ_RESTRICT dwt, OPJ_FLOAT32 *OPJ_RESTRICT a, OPJ_UINT32 width, OPJ_UINT32 remaining_height)
Definition: dwt.c:2865
OPJ_UINT32 win_l_x1
Definition: dwt.c:102
opj_tcd_precinct_t * precincts
Definition: tcd.h:168
static void opj_idwt3_v_cas1(OPJ_INT32 *tmp, const OPJ_INT32 sn, const OPJ_INT32 len, OPJ_INT32 *tiledp_col, const OPJ_SIZE_T stride)
Vertical inverse 5x3 wavelet transform for one column, when top-most pixel is on odd coordinate.
Definition: dwt.c:827
static void opj_dwt_fetch_cols_vertical_pass(const void *arrayIn, void *tmpOut, OPJ_UINT32 height, OPJ_UINT32 stride_width, OPJ_UINT32 cols)
Fetch up to cols <= NB_ELTS_V8 for each line, and put them in tmpOut.
Definition: dwt.c:1250
static INLINE OPJ_UINT32 opj_uint_min(OPJ_UINT32 a, OPJ_UINT32 b)
Get the minimum of two integers.
Definition: opj_intmath.h:65
#define OPJ_TRUE
Definition: openjpeg.h:117
static INLINE OPJ_UINT32 opj_uint_max(OPJ_UINT32 a, OPJ_UINT32 b)
Get the maximum of two integers.
Definition: opj_intmath.h:83
void * opj_malloc(size_t size)
Allocate an uninitialized memory block.
Definition: opj_malloc.c:191
OPJ_FLOAT32 f[NB_ELTS_V8]
Definition: dwt.c:93
OPJ_UINT32 numresolutions
Definition: tcd.h:200
void opj_free(void *ptr)
Deallocates or frees a memory block.
Definition: opj_malloc.c:246
OPJ_UINT32 min_j
Definition: dwt.c:2039
OPJ_UINT32 rw
Definition: dwt.c:1185
#define OPJ_SS__off(i, off)
Definition: dwt.c:2365
union opj_tcd_precinct::@3 cblks
static void opj_v8dwt_encode_step1(OPJ_FLOAT32 *fw, OPJ_UINT32 end, const OPJ_FLOAT32 cst)
Definition: dwt.c:1570
Definition: sparse_array.c:35
OPJ_UINT32 qntsty
quantisation style
Definition: j2k.h:193
#define OPJ_D(i)
Definition: dwt.c:185
void opj_sparse_array_int32_free(opj_sparse_array_int32_t *sa)
Frees a sparse array.
Definition: sparse_array.c:81
OPJ_UINT32 qmfbid
discrete wavelet transform identifier
Definition: j2k.h:191
void opj_thread_pool_wait_completion(opj_thread_pool_t *tp, int max_remaining_jobs)
Wait that no more than max_remaining_jobs jobs are remaining in the queue of the thread pool.
Definition: thread.c:894
OPJ_BOOL opj_sparse_array_int32_write(opj_sparse_array_int32_t *sa, OPJ_UINT32 x0, OPJ_UINT32 y0, OPJ_UINT32 x1, OPJ_UINT32 y1, const OPJ_INT32 *src, OPJ_UINT32 src_col_stride, OPJ_UINT32 src_line_stride, OPJ_BOOL forgiving)
Write the content of a rectangular region into the sparse array from a user buffer.
Definition: sparse_array.c:330
static INLINE OPJ_UINT32 opj_uint_subs(OPJ_UINT32 a, OPJ_UINT32 b)
Get the saturated difference of two unsigned integers.
Definition: opj_intmath.h:102
static void opj_dwt_decode_partial_1(OPJ_INT32 *a, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas, OPJ_INT32 win_l_x0, OPJ_INT32 win_l_x1, OPJ_INT32 win_h_x0, OPJ_INT32 win_h_x1)
Definition: dwt.c:2283
OPJ_BOOL opj_sparse_array_int32_read(const opj_sparse_array_int32_t *sa, OPJ_UINT32 x0, OPJ_UINT32 y0, OPJ_UINT32 x1, OPJ_UINT32 y1, OPJ_INT32 *dest, OPJ_UINT32 dest_col_stride, OPJ_UINT32 dest_line_stride, OPJ_BOOL forgiving)
Read the content of a rectangular region of the sparse array into a user buffer.
Definition: sparse_array.c:311
OPJ_UINT32 min_j
Definition: dwt.c:1188
static void opj_v8dwt_interleave_partial_v(opj_v8dwt_t *OPJ_RESTRICT dwt, opj_sparse_array_int32_t *sa, OPJ_UINT32 sa_col, OPJ_UINT32 nb_elts_read)
Definition: dwt.c:2997
#define OPJ_DD__off(i, off)
Definition: dwt.c:2366
OPJ_INT32 y0
Definition: tcd.h:164
OPJ_UINT32 nb_rows
Definition: dwt.c:3215
#define OPJ_DD_(i)
Definition: dwt.c:190
Code-block for decoding.
Definition: tcd.h:120
static opj_sparse_array_int32_t * opj_dwt_init_sparse_array(opj_tcd_tilecomp_t *tilec, OPJ_UINT32 numres)
Definition: dwt.c:2563
OPJ_UINT32 rw
Definition: dwt.c:3212
Tile-component coding parameters.
Definition: j2k.h:179
OPJ_INT32 * data
Definition: tcd.h:209
static void opj_dwt_encode_v_func(void *user_data, opj_tls_t *tls)
Definition: dwt.c:1220
OPJ_INT32 * mem
Definition: dwt.c:84
OPJ_BOOL opj_dwt_encode(opj_tcd_t *p_tcd, opj_tcd_tilecomp_t *tilec)
Forward 5-3 wavelet transform in 2-D.
Definition: dwt.c:1902
void opj_dwt_calc_explicit_stepsizes(opj_tccp_t *tccp, OPJ_UINT32 prec)
Explicit calculation of the Quantization Stepsizes.
Definition: dwt.c:1966
static const OPJ_FLOAT32 opj_dwt_alpha
Definition: dwt.c:108
struct dwt_local opj_dwt_t
void opj_aligned_free(void *ptr)
Definition: opj_malloc.c:225
OPJ_BOOL opj_dwt_decode(opj_tcd_t *p_tcd, opj_tcd_tilecomp_t *tilec, OPJ_UINT32 numres)
Inverse 5-3 wavelet transform in 2-D.
Definition: dwt.c:1913
OPJ_UINT32 w
Definition: dwt.c:3213
opj_thread_pool_t * thread_pool
Thread pool.
Definition: tcd.h:280
static INLINE OPJ_UINT32 opj_uint_ceildivpow2(OPJ_UINT32 a, OPJ_UINT32 b)
Divide an integer by a power of 2 and round upwards.
Definition: opj_intmath.h:198
static void opj_idwt53_h_cas0(OPJ_INT32 *tmp, const OPJ_INT32 sn, const OPJ_INT32 len, OPJ_INT32 *tiledp)
Definition: dwt.c:335
OPJ_INT32 y0
Definition: tcd.h:124
static void opj_dwt_decode_partial_1_parallel(OPJ_INT32 *a, OPJ_UINT32 nb_cols, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas, OPJ_INT32 win_l_x0, OPJ_INT32 win_l_x1, OPJ_INT32 win_h_x0, OPJ_INT32 win_h_x1)
Definition: dwt.c:2368
void * opj_aligned_malloc(size_t size)
Allocate memory aligned to a 16 byte boundary.
Definition: opj_malloc.c:207
OPJ_UINT32 max_j
Definition: dwt.c:2040
static OPJ_BOOL opj_dwt_decode_tile(opj_thread_pool_t *tp, opj_tcd_tilecomp_t *tilec, OPJ_UINT32 i)
Inverse wavelet transform in 2-D.
Definition: dwt.c:2067
uint32_t OPJ_UINT32
Definition: openjpeg.h:132
OPJ_UINT32 bandno
Definition: tcd.h:166
static INLINE OPJ_INT32 opj_int_add_no_overflow(OPJ_INT32 a, OPJ_INT32 b)
Addition two signed integers with a wrap-around behaviour.
Definition: opj_intmath.h:286
#define OPJ_S_off(i, off)
Definition: dwt.c:2361
OPJ_UINT32 win_x1
Definition: tcd.h:222
OPJ_UINT32 w
Definition: dwt.c:1213
OPJ_INT32 sn
Definition: dwt.c:86
#define OPJ_S(i)
Definition: dwt.c:184
static void opj_v8dwt_interleave_partial_h(opj_v8dwt_t *dwt, opj_sparse_array_int32_t *sa, OPJ_UINT32 sa_line, OPJ_UINT32 remaining_height)
Definition: dwt.c:2949
#define OPJ_FALSE
Definition: openjpeg.h:118
static void opj_dwt_get_band_coordinates(opj_tcd_tilecomp_t *tilec, OPJ_UINT32 resno, OPJ_UINT32 bandno, OPJ_UINT32 tcx0, OPJ_UINT32 tcy0, OPJ_UINT32 tcx1, OPJ_UINT32 tcy1, OPJ_UINT32 *tbx0, OPJ_UINT32 *tby0, OPJ_UINT32 *tbx1, OPJ_UINT32 *tby1)
Definition: dwt.c:2510
static void opj_dwt_decode_v_func(void *user_data, opj_tls_t *tls)
Definition: dwt.c:2043
OPJ_BOOL opj_dwt_decode_real(opj_tcd_t *p_tcd, opj_tcd_tilecomp_t *OPJ_RESTRICT tilec, OPJ_UINT32 numres)
Inverse 9-7 wavelet transform in 2-D.
Definition: dwt.c:3758
#define OPJ_S__off(i, off)
Definition: dwt.c:2363
OPJ_UINT32 win_y1
Definition: tcd.h:190
OPJ_FLOAT32 *OPJ_RESTRICT aj
Definition: dwt.c:3214
static void opj_dwt_encode_and_deinterleave_h_one_row(void *rowIn, void *tmpIn, OPJ_UINT32 width, OPJ_BOOL even)
Process one line for the horizontal pass of the 5x3 forward transform.
Definition: dwt.c:1110
opj_sparse_array_int32_t * opj_sparse_array_int32_create(OPJ_UINT32 width, OPJ_UINT32 height, OPJ_UINT32 block_width, OPJ_UINT32 block_height)
Creates a new sparse array.
Definition: sparse_array.c:45
opj_tcd_cblk_dec_t * dec
Definition: tcd.h:153
static const OPJ_FLOAT64 opj_dwt_norms[4][10]
Definition: dwt.c:197
#define OPJ_SS_(i)
Definition: dwt.c:189
OPJ_INT32 dn
Definition: dwt.c:85
#define J2K_CCP_QNTSTY_NOQNT
Definition: j2k.h:66
opj_v8dwt_t v
Definition: dwt.c:3260
OPJ_UINT32 rh
Definition: dwt.c:3261
OPJ_UINT32 ch
Definition: tcd.h:150
Tile coder/decoder.
Definition: tcd.h:256
static void opj_dwt_encode_h_func(void *user_data, opj_tls_t *tls)
Definition: dwt.c:1193
#define OPJ_D_(i)
Definition: dwt.c:187
static void opj_dwt_decode_h_func(void *user_data, opj_tls_t *tls)
Definition: dwt.c:2019
OPJ_UINT32 win_y0
Definition: tcd.h:188
static INLINE OPJ_INT32 opj_int_sub_no_overflow(OPJ_INT32 a, OPJ_INT32 b)
Subtract two signed integers with a wrap-around behaviour.
Definition: opj_intmath.h:305
OPJ_UINT32 win_x1
Definition: tcd.h:189
static void opj_idwt53_h(const opj_dwt_t *dwt, OPJ_INT32 *tiledp)
Definition: dwt.c:480
static void opj_v8dwt_encode_step2(OPJ_FLOAT32 *fl, OPJ_FLOAT32 *fw, OPJ_UINT32 end, OPJ_UINT32 m, OPJ_FLOAT32 cst)
Definition: dwt.c:1593