Searched refs:OPJ_COMMON_CBLK_DATA_EXTRA (Results 1 – 5 of 5) sorted by relevance
39 #define OPJ_COMMON_CBLK_DATA_EXTRA 2 /**< Margin for a fake FFFF marker */ macro
495 assert(extra_writable_bytes >= OPJ_COMMON_CBLK_DATA_EXTRA); in opj_mqc_init_dec_common()502 memcpy(mqc->backup, mqc->end, OPJ_COMMON_CBLK_DATA_EXTRA); in opj_mqc_init_dec_common()543 memcpy(mqc->end, mqc->backup, OPJ_COMMON_CBLK_DATA_EXTRA); in opq_mqc_finish_dec()
96 OPJ_BYTE backup[OPJ_COMMON_CBLK_DATA_EXTRA];
1982 if (cblk_len + OPJ_COMMON_CBLK_DATA_EXTRA > t1->cblkdatabuffersize) { in opj_t1_decode_cblk()1984 cblk_len + OPJ_COMMON_CBLK_DATA_EXTRA); in opj_t1_decode_cblk()1989 memset(t1->cblkdatabuffer + cblk_len, 0, OPJ_COMMON_CBLK_DATA_EXTRA); in opj_t1_decode_cblk()1990 t1->cblkdatabuffersize = cblk_len + OPJ_COMMON_CBLK_DATA_EXTRA; in opj_t1_decode_cblk()2024 OPJ_COMMON_CBLK_DATA_EXTRA); in opj_t1_decode_cblk()2027 OPJ_COMMON_CBLK_DATA_EXTRA); in opj_t1_decode_cblk()
4748 UINT_MAX - OPJ_COMMON_CBLK_DATA_EXTRA) { in opj_j2k_read_sod()4762 … p_j2k->m_specific_param.m_decoder.m_sot_length + OPJ_COMMON_CBLK_DATA_EXTRA); in opj_j2k_read_sod()4765 if (*l_tile_len > UINT_MAX - OPJ_COMMON_CBLK_DATA_EXTRA - in opj_j2k_read_sod()4775 OPJ_COMMON_CBLK_DATA_EXTRA); in opj_j2k_read_sod()