OpenJPEG
2.4.0
|
Data Structures | |
struct | opj_t1_cblk_decode_processing_job_t |
struct | opj_t1_cblk_encode_processing_job_t |
Macros | |
#define | OPJ_SKIP_POISON |
#define | T1_FLAGS(x, y) (t1->flags[x + 1 + ((y / 4) + 1) * (t1->w+2)]) |
#define | opj_t1_setcurctx(curctx, ctxno) curctx = &(mqc)->ctxs[(OPJ_UINT32)(ctxno)] |
#define | opj_smr_abs(x) (((OPJ_UINT32)(x)) & 0x7FFFFFFFU) |
#define | opj_smr_sign(x) (((OPJ_UINT32)(x)) >> 31) |
#define | opj_to_smr(x) ((x) >= 0 ? (OPJ_UINT32)(x) : ((OPJ_UINT32)(-x) | 0x80000000U)) |
#define | opj_t1_update_flags_macro(flags, flagsp, ci, s, stride, vsc) |
#define | opj_t1_enc_sigpass_step_macro(mqc, curctx, a, c, ct, flagspIn, datapIn, bpno, one, nmsedec, type, ciIn, vscIn) |
Encode significant pass. More... | |
#define | opj_t1_dec_sigpass_step_mqc_macro(flags, flagsp, flags_stride, data, data_stride, ci, mqc, curctx, v, a, c, ct, oneplushalf, vsc) |
#define | opj_t1_dec_sigpass_mqc_internal(t1, bpno, vsc, w, h, flags_stride) |
#define | opj_t1_enc_refpass_step_macro(mqc, curctx, a, c, ct, flags, flagsUpdated, datap, bpno, one, nmsedec, type, ci) |
Encode refinement pass step. More... | |
#define | opj_t1_dec_refpass_step_mqc_macro(flags, data, data_stride, ci, mqc, curctx, v, a, c, ct, poshalf) |
#define | opj_t1_dec_refpass_mqc_internal(t1, bpno, w, h, flags_stride) |
#define | opj_t1_enc_clnpass_step_macro(mqc, curctx, a, c, ct, flagspIn, datapIn, bpno, one, nmsedec, agg, runlen, lim, cblksty) |
Encode clean-up pass step. More... | |
#define | opj_t1_dec_clnpass_step_macro(check_flags, partial, flags, flagsp, flags_stride, data, data_stride, ci, mqc, curctx, v, a, c, ct, oneplushalf, vsc) |
#define | opj_t1_dec_clnpass_internal(t1, bpno, vsc, w, h, flags_stride) |
#define OPJ_SKIP_POISON |
#define opj_t1_dec_clnpass_internal | ( | t1, | |
bpno, | |||
vsc, | |||
w, | |||
h, | |||
flags_stride | |||
) |
#define opj_t1_dec_clnpass_step_macro | ( | check_flags, | |
partial, | |||
flags, | |||
flagsp, | |||
flags_stride, | |||
data, | |||
data_stride, | |||
ci, | |||
mqc, | |||
curctx, | |||
v, | |||
a, | |||
c, | |||
ct, | |||
oneplushalf, | |||
vsc | |||
) |
Referenced by opj_t1_dec_clnpass_step().
#define opj_t1_dec_refpass_mqc_internal | ( | t1, | |
bpno, | |||
w, | |||
h, | |||
flags_stride | |||
) |
Referenced by opj_t1_dec_refpass_mqc_64x64(), and opj_t1_dec_refpass_mqc_generic().
#define opj_t1_dec_refpass_step_mqc_macro | ( | flags, | |
data, | |||
data_stride, | |||
ci, | |||
mqc, | |||
curctx, | |||
v, | |||
a, | |||
c, | |||
ct, | |||
poshalf | |||
) |
Referenced by opj_t1_dec_refpass_step_mqc().
#define opj_t1_dec_sigpass_mqc_internal | ( | t1, | |
bpno, | |||
vsc, | |||
w, | |||
h, | |||
flags_stride | |||
) |
#define opj_t1_dec_sigpass_step_mqc_macro | ( | flags, | |
flagsp, | |||
flags_stride, | |||
data, | |||
data_stride, | |||
ci, | |||
mqc, | |||
curctx, | |||
v, | |||
a, | |||
c, | |||
ct, | |||
oneplushalf, | |||
vsc | |||
) |
Referenced by opj_t1_dec_sigpass_step_mqc().
#define opj_t1_enc_clnpass_step_macro | ( | mqc, | |
curctx, | |||
a, | |||
c, | |||
ct, | |||
flagspIn, | |||
datapIn, | |||
bpno, | |||
one, | |||
nmsedec, | |||
agg, | |||
runlen, | |||
lim, | |||
cblksty | |||
) |
Encode clean-up pass step.
Referenced by opj_t1_enc_clnpass().
#define opj_t1_enc_refpass_step_macro | ( | mqc, | |
curctx, | |||
a, | |||
c, | |||
ct, | |||
flags, | |||
flagsUpdated, | |||
datap, | |||
bpno, | |||
one, | |||
nmsedec, | |||
type, | |||
ci | |||
) |
Encode refinement pass step.
Referenced by opj_t1_enc_refpass().
#define opj_t1_enc_sigpass_step_macro | ( | mqc, | |
curctx, | |||
a, | |||
c, | |||
ct, | |||
flagspIn, | |||
datapIn, | |||
bpno, | |||
one, | |||
nmsedec, | |||
type, | |||
ciIn, | |||
vscIn | |||
) |
Encode significant pass.
Referenced by opj_t1_enc_sigpass().
#define opj_t1_update_flags_macro | ( | flags, | |
flagsp, | |||
ci, | |||
s, | |||
stride, | |||
vsc | |||
) |
Referenced by opj_t1_update_flags().
|
static |
Procedure to deal with a asynchronous code-block encoding job.
user_data | Pointer to a opj_t1_cblk_encode_processing_job_t* structure |
tls | TLS handle. |
References opj_t1_cblk_encode_processing_job_t::band, opj_tcd_band::bandno, opj_t1_cblk_encode_processing_job_t::cblk, opj_tccp::cblksty, opj_t1_cblk_encode_processing_job_t::compno, opj_t1::data, opj_tcd_tilecomp::data, opj_tcd_tile::distotile, opj_t1::h, opj_t1_cblk_encode_processing_job_t::mct_norms, opj_t1_cblk_encode_processing_job_t::mct_numcomps, opj_t1_cblk_encode_processing_job_t::mutex, opj_tcd_tile::numcomps, opj_tcd_tilecomp::numresolutions, OPJ_FALSE, opj_free(), opj_lrintf(), opj_mutex_lock(), opj_mutex_unlock(), OPJ_RESTRICT, opj_t1_allocate_buffers(), opj_t1_create(), opj_t1_destroy_wrapper(), opj_t1_encode_cblk(), opj_tls_get(), OPJ_TLS_KEY_T1, opj_tls_set(), OPJ_TRUE, opj_t1_cblk_encode_processing_job_t::pret, opj_tccp::qmfbid, opj_t1_cblk_encode_processing_job_t::resno, opj_tcd_tilecomp::resolutions, opj_tcd_band::stepsize, T1_NMSEDEC_FRACBITS, opj_t1_cblk_encode_processing_job_t::tccp, opj_t1_cblk_encode_processing_job_t::tile, opj_t1_cblk_encode_processing_job_t::tilec, opj_t1::w, opj_tcd_cblk_enc::x0, opj_tcd_band::x0, opj_tcd_resolution::x0, opj_tcd_tilecomp::x0, opj_tcd_cblk_enc::x1, opj_tcd_resolution::x1, opj_tcd_tilecomp::x1, opj_tcd_cblk_enc::y0, opj_tcd_band::y0, opj_tcd_resolution::y0, opj_tcd_cblk_enc::y1, and opj_tcd_resolution::y1.
Referenced by opj_t1_encode_cblks().
|
static |
References opj_t1_cblk_decode_processing_job_t::band, opj_tcd_band::bandno, opj_t1_cblk_decode_processing_job_t::cblk, opj_tccp::cblksty, opj_t1_cblk_decode_processing_job_t::check_pterm, opj_t1::data, opj_tcd_tilecomp::data, opj_tcd_cblk_dec::decoded_data, EVT_ERROR, opj_t1::h, opj_tcd_tilecomp::minimum_num_resolutions, opj_t1::mustuse_cblkdatabuffer, opj_t1_cblk_decode_processing_job_t::mustuse_cblkdatabuffer, opj_aligned_free(), opj_aligned_malloc(), opj_event_msg(), OPJ_FALSE, opj_free(), opj_mutex_lock(), opj_mutex_unlock(), OPJ_RESTRICT, opj_t1_create(), opj_t1_decode_cblk(), opj_t1_destroy(), opj_t1_destroy_wrapper(), opj_tls_get(), OPJ_TLS_KEY_T1, opj_tls_set(), opj_t1_cblk_decode_processing_job_t::p_manager, opj_t1_cblk_decode_processing_job_t::p_manager_mutex, opj_t1_cblk_decode_processing_job_t::pret, opj_tccp::qmfbid, opj_t1_cblk_decode_processing_job_t::resno, opj_tcd_tilecomp::resolutions, opj_tccp::roishift, opj_tcd_band::stepsize, opj_t1_cblk_decode_processing_job_t::tccp, opj_t1_cblk_decode_processing_job_t::tilec, opj_t1::w, opj_t1_cblk_decode_processing_job_t::whole_tile_decoding, opj_tcd_cblk_dec::x0, opj_tcd_band::x0, opj_tcd_resolution::x0, opj_tcd_cblk_dec::x1, opj_tcd_resolution::x1, opj_tcd_cblk_dec::y0, opj_tcd_band::y0, opj_tcd_resolution::y0, opj_tcd_cblk_dec::y1, and opj_tcd_resolution::y1.
Referenced by opj_t1_decode_cblks().
References OPJ_FALSE, and opj_t1_dec_clnpass_internal.
Referenced by opj_t1_dec_clnpass().
References opj_t1_dec_clnpass_internal, and OPJ_TRUE.
Referenced by opj_t1_dec_clnpass().
References J2K_CCP_CBLKSTY_SEGSYM, opj_t1::mqc, opj_mqc_decode, opj_mqc_setcurctx, and T1_CTXNO_UNI.
Referenced by opj_t1_dec_clnpass().
References opj_t1::h, OPJ_FALSE, opj_t1_dec_clnpass_internal, and opj_t1::w.
Referenced by opj_t1_dec_clnpass().
References opj_t1::h, opj_t1_dec_clnpass_internal, OPJ_TRUE, and opj_t1::w.
Referenced by opj_t1_dec_clnpass().
References opj_t1::h, opj_t1_dec_refpass_mqc_64x64(), opj_t1_dec_refpass_mqc_generic(), and opj_t1::w.
Referenced by opj_t1_decode_cblk().
References opj_t1_dec_refpass_mqc_internal.
Referenced by opj_t1_dec_refpass_mqc().
References opj_t1::h, opj_t1_dec_refpass_mqc_internal, and opj_t1::w.
Referenced by opj_t1_dec_refpass_mqc().
References OPJ_FALSE, and opj_t1_dec_sigpass_mqc_internal.
Referenced by opj_t1_dec_sigpass_mqc().
References opj_t1_dec_sigpass_mqc_internal, and OPJ_TRUE.
Referenced by opj_t1_dec_sigpass_mqc().
References opj_t1::h, OPJ_FALSE, opj_t1_dec_sigpass_mqc_internal, and opj_t1::w.
Referenced by opj_t1_dec_sigpass_mqc().
References opj_t1::h, opj_t1_dec_sigpass_mqc_internal, OPJ_TRUE, and opj_t1::w.
Referenced by opj_t1_dec_sigpass_mqc().
|
static |
References opj_t1_destroy().
Referenced by opj_t1_cblk_encode_processor(), and opj_t1_clbl_decode_processor().
|
static |
References J2K_CCP_CBLKSTY_LAZY, J2K_CCP_CBLKSTY_TERMALL, opj_tcd_cblk_enc::numbps, OPJ_FALSE, and OPJ_TRUE.
Referenced by opj_t1_encode_cblk().
|
static |
References lut_ctxno_sc.
|
static |
References T1_CHI_0_I, T1_CHI_1_I, T1_CHI_2_I, T1_CHI_THIS_I, T1_SIGMA_1, T1_SIGMA_3, T1_SIGMA_5, and T1_SIGMA_7.
|
static |
References lut_spb.