Searched refs:p_j2k (Results 1 – 10 of 10) sorted by relevance
/external/pdfium/third_party/libopenjpeg20/ |
D | j2k.c | 54 static OPJ_BOOL opj_j2k_setup_header_reading (opj_j2k_t *p_j2k, opj_event_mgr_t * p_manager); 59 static OPJ_BOOL opj_j2k_read_header_procedure( opj_j2k_t *p_j2k, 72 static OPJ_BOOL opj_j2k_encoding_validation ( opj_j2k_t * p_j2k, 85 static OPJ_BOOL opj_j2k_decoding_validation ( opj_j2k_t * p_j2k, 93 static OPJ_BOOL opj_j2k_setup_encoding_validation (opj_j2k_t *p_j2k, opj_event_mgr_t * p_manager); 99 static OPJ_BOOL opj_j2k_setup_decoding_validation (opj_j2k_t *p_j2k, opj_event_mgr_t * p_manager); 105 static OPJ_BOOL opj_j2k_setup_end_compress (opj_j2k_t *p_j2k, opj_event_mgr_t * p_manager); 116 static OPJ_BOOL opj_j2k_mct_validation (opj_j2k_t * p_j2k, 123 static OPJ_BOOL opj_j2k_build_decoder ( opj_j2k_t * p_j2k, 129 static OPJ_BOOL opj_j2k_build_encoder ( opj_j2k_t * p_j2k, [all …]
|
D | 0026-use_opj_uint_ceildiv.patch | 5 @@ -2155,8 +2155,8 @@ static OPJ_BOOL opj_j2k_read_siz(opj_j2k_t *p_j2k, 16 @@ -2171,8 +2171,8 @@ static OPJ_BOOL opj_j2k_read_siz(opj_j2k_t *p_j2k, 17 if (p_j2k->m_specific_param.m_decoder.m_discard_tiles) { 18 …p_j2k->m_specific_param.m_decoder.m_start_tile_x = (p_j2k->m_specific_param.m_decoder.m_start_tile… 19 …p_j2k->m_specific_param.m_decoder.m_start_tile_y = (p_j2k->m_specific_param.m_decoder.m_start_tile… 20 - p_j2k->m_specific_param.m_decoder.m_end_tile_x = (OPJ_UINT32)opj_int_ceildiv((OPJ_… 21 - p_j2k->m_specific_param.m_decoder.m_end_tile_y = (OPJ_UINT32)opj_int_ceildiv((OPJ_… 22 + p_j2k->m_specific_param.m_decoder.m_end_tile_x = opj_uint_ceildiv(p_j2k->m_specifi… 23 + p_j2k->m_specific_param.m_decoder.m_end_tile_y = opj_uint_ceildiv(p_j2k->m_specifi… 26 p_j2k->m_specific_param.m_decoder.m_start_tile_x = 0; [all …]
|
D | j2k.h | 618 OPJ_BOOL opj_j2k_setup_encoder( opj_j2k_t *p_j2k, 652 opj_j2k_t* p_j2k, 662 void opj_j2k_destroy (opj_j2k_t *p_j2k); 680 OPJ_BOOL opj_j2k_decode_tile ( opj_j2k_t * p_j2k, 701 OPJ_BOOL opj_j2k_read_tile_header ( opj_j2k_t * p_j2k, 727 OPJ_BOOL opj_j2k_set_decode_area( opj_j2k_t *p_j2k, 749 void j2k_dump (opj_j2k_t* p_j2k, OPJ_INT32 flag, FILE* out_stream); 778 opj_codestream_info_v2_t* j2k_get_cstr_info(opj_j2k_t* p_j2k); 787 opj_codestream_index_t* j2k_get_cstr_index(opj_j2k_t* p_j2k); 803 OPJ_BOOL opj_j2k_get_tile( opj_j2k_t *p_j2k, [all …]
|
D | 0016-read_SQcd_SQcc_overflow.patch | 5 @@ -9010,7 +9010,9 @@ static OPJ_BOOL opj_j2k_read_SQcd_SQcc(opj_j2k_t *p_j2k, 6 p_j2k->m_specific_param.m_decoder.m_default_tcp; 9 - assert(p_comp_no < p_j2k->m_private_image->numcomps); 10 + if (p_comp_no >= p_j2k->m_private_image->numcomps) {
|
D | 0015-read_SPCod_SPCoc_overflow.patch | 5 @@ -8744,7 +8744,9 @@ static OPJ_BOOL opj_j2k_read_SPCod_SPCoc( opj_j2k_t *p_j2k, 6 p_j2k->m_specific_param.m_decoder.m_default_tcp; 9 - assert(compno < p_j2k->m_private_image->numcomps); 10 + if (compno >= p_j2k->m_private_image->numcomps) {
|
D | 0018-tcd_get_decoded_tile_size.patch | 18 @@ -8028,6 +8028,10 @@ OPJ_BOOL opj_j2k_read_tile_header( opj_j2k_t * p_j2k, 19 *p_tile_index = p_j2k->m_current_tile_number; 21 *p_data_size = opj_tcd_get_decoded_tile_size(p_j2k->m_tcd); 26 *p_tile_x0 = p_j2k->m_tcd->tcd_image->tiles->x0; 27 *p_tile_y0 = p_j2k->m_tcd->tcd_image->tiles->y0; 28 *p_tile_x1 = p_j2k->m_tcd->tcd_image->tiles->x1;
|
D | 0023-opj_j2k_read_mct_records.patch | 5 @@ -5129,6 +5129,7 @@ static OPJ_BOOL opj_j2k_read_mct ( opj_j2k_t *p_j2k, 13 @@ -5191,7 +5192,7 @@ static OPJ_BOOL opj_j2k_read_mct ( opj_j2k_t *p_j2k, 22 @@ -5221,6 +5222,9 @@ static OPJ_BOOL opj_j2k_read_mct ( opj_j2k_t *p_j2k,
|
D | 0004-j2k_read_mcc.patch | 5 @@ -5341,6 +5341,7 @@ static OPJ_BOOL opj_j2k_read_mcc ( opj_j2k_t *p_j2k, 13 @@ -5402,6 +5403,7 @@ static OPJ_BOOL opj_j2k_read_mcc ( opj_j2k_t *p_j2k, 21 @@ -5537,7 +5539,9 @@ static OPJ_BOOL opj_j2k_read_mcc ( opj_j2k_t *p_j2k,
|
D | 0024-l_marker_size_check.patch | 5 @@ -7195,6 +7195,10 @@ static OPJ_BOOL opj_j2k_read_header_procedure( opj_j2k_t *p_j2k, 8 opj_read_bytes(p_j2k->m_specific_param.m_decoder.m_header_data,&l_marker_size,2);
|
D | 0028-upstream-check-size-in-opj_j2k_read_siz.patch | 5 @@ -2117,10 +2117,16 @@ static OPJ_BOOL opj_j2k_read_siz(opj_j2k_t *p_j2k,
|